Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class LoyaltyProgram.
Loyalty program provided by a merchant.
Generated from protobuf message google.shopping.merchant.accounts.v1beta.Service.LoyaltyProgram
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1beta \ ServiceMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ program_label |
string
This is the loyalty program label set in your loyalty program settings in Merchant Center. This sub-attribute allows Google to map your loyalty program to eligible offers. |
↳ loyalty_program_tiers |
array<Google\Shopping\Merchant\Accounts\V1beta\Service\LoyaltyProgram\LoyaltyProgramTiers>
Optional. Loyalty program tier of this shipping service. |
getProgramLabel
This is the loyalty program label set in your loyalty program settings in Merchant Center. This sub-attribute allows Google to map your loyalty program to eligible offers.
Returns | |
---|---|
Type | Description |
string |
hasProgramLabel
clearProgramLabel
setProgramLabel
This is the loyalty program label set in your loyalty program settings in Merchant Center. This sub-attribute allows Google to map your loyalty program to eligible offers.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLoyaltyProgramTiers
Optional. Loyalty program tier of this shipping service.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setLoyaltyProgramTiers
Optional. Loyalty program tier of this shipping service.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Shopping\Merchant\Accounts\V1beta\Service\LoyaltyProgram\LoyaltyProgramTiers>
|
Returns | |
---|---|
Type | Description |
$this |