CdpBasedLoyaltyPromotionInputBuilder Class
Contains methods to build an instance of the LoyaltyManagement.CdpBasedLoyaltyPromotionInput class.
The following are methods for CdpBasedLoyaltyPromotionInputBuilder.
-
Returns an instance of the
LoyaltyManagement.CdpBasedLoyaltyPromotionInputobject. -
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.
-
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