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

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

Response message for the ManageLoyaltyCustomerMatch method.

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

Namespace

Google \ Shopping \ Merchant \ LoyaltyCustomers \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ loyalty_customer LoyaltyCustomer

The loyalty customer that was inserted, updated, or removed. If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

getLoyaltyCustomer

The loyalty customer that was inserted, updated, or removed.

If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

Returns
Type Description
LoyaltyCustomer|null

hasLoyaltyCustomer

clearLoyaltyCustomer

setLoyaltyCustomer

The loyalty customer that was inserted, updated, or removed.

If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

Parameter
Name Description
var LoyaltyCustomer
Returns
Type Description
$this