public static class CreateLoyaltyPromotionRequest.Builder extends Object
CreateLoyaltyPromotionRequest.| Constructor and Description |
|---|
Builder(LoyaltyPromotion loyaltyPromotion,
String idempotencyKey)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CreateLoyaltyPromotionRequest |
build()
Builds a new
CreateLoyaltyPromotionRequest object using the set fields. |
CreateLoyaltyPromotionRequest.Builder |
idempotencyKey(String idempotencyKey)
Setter for idempotencyKey.
|
CreateLoyaltyPromotionRequest.Builder |
loyaltyPromotion(LoyaltyPromotion loyaltyPromotion)
Setter for loyaltyPromotion.
|
public Builder(LoyaltyPromotion loyaltyPromotion, String idempotencyKey)
loyaltyPromotion - LoyaltyPromotion value for loyaltyPromotion.idempotencyKey - String value for idempotencyKey.public CreateLoyaltyPromotionRequest.Builder loyaltyPromotion(LoyaltyPromotion loyaltyPromotion)
loyaltyPromotion - LoyaltyPromotion value for loyaltyPromotion.public CreateLoyaltyPromotionRequest.Builder idempotencyKey(String idempotencyKey)
idempotencyKey - String value for idempotencyKey.public CreateLoyaltyPromotionRequest build()
CreateLoyaltyPromotionRequest object using the set fields.CreateLoyaltyPromotionRequestCopyright © 2023. All rights reserved.