Google Shopping Merchant Loyalty Customers V1 Client - Class ManageLoyaltyCustomerMatchRequest (0.1.1)

Reference documentation and code samples for the Google Shopping Merchant Loyalty Customers V1 Client class ManageLoyaltyCustomerMatchRequest.

Request message for the ManageLoyaltyCustomerMatch method.

Generated from protobuf message google.shopping.merchant.loyaltycustomers.v1.ManageLoyaltyCustomerMatchRequest

Namespace

Google \ Shopping \ Merchant \ LoyaltyCustomers \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent account where this loyalty customer will be handled. Format: accounts/{account}

↳ loyalty_customer LoyaltyCustomer

Required. The loyalty customer to insert, update, or remove.

getParent

Required. The parent account where this loyalty customer will be handled.

Format: accounts/{account}

Returns
Type Description
string

setParent

Required. The parent account where this loyalty customer will be handled.

Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getLoyaltyCustomer

Required. The loyalty customer to insert, update, or remove.

Returns
Type Description
LoyaltyCustomer|null

hasLoyaltyCustomer

clearLoyaltyCustomer

setLoyaltyCustomer

Required. The loyalty customer to insert, update, or remove.

Parameter
Name Description
var LoyaltyCustomer
Returns
Type Description
$this