Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ChangeTierInputBuilder Class

Contains methods to build an instance of the LoyaltyManagement.ChangeTierInput class.

Namespace

LoyaltyManagement

ChangeTierInputBuilder Methods

The following are methods for ChangeTierInputBuilder.

build()

Returns an instance of the LoyaltyManagement.ChangeTierInput object.

Signature

public LoyaltyManagement.ChangeTierInput build()

setChangeReason(changeReason)

Represents the reason to change a member tier.

Signature

public LoyaltyManagement.ChangeTierInputBuilder setChangeReason(String changeReason)

Parameters

changeReason
Type: String

setLoyaltyProgramMemberId(loyaltyProgramMemberId)

Represents the ID of the loyalty program member. This is a required field.

Signature

public LoyaltyManagement.ChangeTierInputBuilder setLoyaltyProgramMemberId(String loyaltyProgramMemberId)

Parameters

loyaltyProgramMemberId
Type: String

setProgramName(programName)

Represents the loyalty program name associated with the tier. This is a required field.

Signature

public LoyaltyManagement.ChangeTierInputBuilder setProgramName(String programName)

Parameters

programName
Type: String

setTargetTierName(targetTierName)

Represents the new tier to associate with the loyalty program member. This is a required field.

Signature

public LoyaltyManagement.ChangeTierInputBuilder setTargetTierName(String targetTierName)

Parameters

targetTierName
Type: String

setTierGroupName(tierGroupName)

Represents the name of the loyalty tier group. This is a required field.

Signature

public LoyaltyManagement.ChangeTierInputBuilder setTierGroupName(String tierGroupName)

Parameters

tierGroupName
Type: String