CdpBasedLoyaltyPromotionInputBuilder Class

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

LoyaltyManagement

The following are methods for CdpBasedLoyaltyPromotionInputBuilder.

  • build()

    Returns an instance of the LoyaltyManagement.CdpBasedLoyaltyPromotionInput object.

  • setMemberId(memberId)

    Represents the ID of a loyalty program member for whom promotions must be filtered. This is a required field. Ensure that the member is part of a Data Cloud market segment.

  • setPromotions(promotions)

    Represents the promotion records to filter the promotions that are applicable to the member’s market segment.

Returns an instance of the LoyaltyManagement.CdpBasedLoyaltyPromotionInput object.

public LoyaltyManagement.CdpBasedLoyaltyPromotionInput build()

Type: LoyaltyManagement.CdpBasedLoyaltyPromotionInput

Represents the ID of a loyalty program member for whom promotions must be filtered. This is a required field. Ensure that the member is part of a Data Cloud market segment.

public LoyaltyManagement.CdpBasedLoyaltyPromotionInputBuilder setMemberId(String memberId)

memberId

Type: String

Type: LoyaltyManagement.CdpBasedLoyaltyPromotionInputBuilder

Represents the promotion records to filter the promotions that are applicable to the member’s market segment.

public LoyaltyManagement.CdpBasedLoyaltyPromotionInputBuilder setPromotions(List<SObject> promotions)

promotions

Type: List<SObject>

Type: LoyaltyManagement.CdpBasedLoyaltyPromotionInputBuilder