Google Shopping Merchant Accounts V1beta Client - Class LoyaltyProgramTiers (0.3.1)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class LoyaltyProgramTiers.

Subset of a merchants loyalty program.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.Service.LoyaltyProgram.LoyaltyProgramTiers

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta \ Service \ LoyaltyProgram

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ tier_label string

The tier label [tier_label] sub-attribute differentiates offer level benefits between each tier. This value is also set in your program settings in Merchant Center, and is required for data source changes even if your loyalty program only has 1 tier.

getTierLabel

The tier label [tier_label] sub-attribute differentiates offer level benefits between each tier. This value is also set in your program settings in Merchant Center, and is required for data source changes even if your loyalty program only has 1 tier.

Returns
Type Description
string

hasTierLabel

clearTierLabel

setTierLabel

The tier label [tier_label] sub-attribute differentiates offer level benefits between each tier. This value is also set in your program settings in Merchant Center, and is required for data source changes even if your loyalty program only has 1 tier.

Parameter
Name Description
var string
Returns
Type Description
$this