ChangeTierInputBuilder Class
Contains methods to build an instance of the LoyaltyManagement.ChangeTierInput class.
The following are methods for ChangeTierInputBuilder.
-
Returns an instance of the
LoyaltyManagement.ChangeTierInputobject. -
Represents the reason to change a member tier.
-
setLoyaltyProgramMemberId(loyaltyProgramMemberId)
Represents the ID of the loyalty program member. This is a required field.
-
Represents the loyalty program name associated with the tier. This is a required field.
-
setTargetTierName(targetTierName)
Represents the new tier to associate with the loyalty program member. This is a required field.
-
setTierGroupName(tierGroupName)
Represents the name of the loyalty tier group. This is a required field.
Returns an instance of the LoyaltyManagement.ChangeTierInput object.
public LoyaltyManagement.ChangeTierInput build()
Type: LoyaltyManagement.ChangeTierInput
Represents the reason to change a member tier.
public LoyaltyManagement.ChangeTierInputBuilder setChangeReason(String changeReason)
changeReason
Type: String
Type: LoyaltyManagement.ChangeTierInputBuilder
Represents the ID of the loyalty program member. This is a required field.
public LoyaltyManagement.ChangeTierInputBuilder setLoyaltyProgramMemberId(String loyaltyProgramMemberId)
loyaltyProgramMemberId
Type: String
Type: LoyaltyManagement.ChangeTierInputBuilder
Represents the loyalty program name associated with the tier. This is a required field.
public LoyaltyManagement.ChangeTierInputBuilder setProgramName(String programName)
programName
Type: String
Type: LoyaltyManagement.ChangeTierInputBuilder
Represents the new tier to associate with the loyalty program member. This is a required field.
public LoyaltyManagement.ChangeTierInputBuilder setTargetTierName(String targetTierName)
targetTierName
Type: String
Type: LoyaltyManagement.ChangeTierInputBuilder
Represents the name of the loyalty tier group. This is a required field.
public LoyaltyManagement.ChangeTierInputBuilder setTierGroupName(String tierGroupName)
tierGroupName
Type: String