public class CreateLoyaltyPromotionRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateLoyaltyPromotionRequest.Builder
Class to build instances of
CreateLoyaltyPromotionRequest. |
| Constructor and Description |
|---|
CreateLoyaltyPromotionRequest(LoyaltyPromotion loyaltyPromotion,
String idempotencyKey)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIdempotencyKey()
Getter for IdempotencyKey.
|
LoyaltyPromotion |
getLoyaltyPromotion()
Getter for LoyaltyPromotion.
|
int |
hashCode() |
CreateLoyaltyPromotionRequest.Builder |
toBuilder()
Builds a new
CreateLoyaltyPromotionRequest.Builder object. |
String |
toString()
Converts this CreateLoyaltyPromotionRequest into string format.
|
public CreateLoyaltyPromotionRequest(LoyaltyPromotion loyaltyPromotion, String idempotencyKey)
loyaltyPromotion - LoyaltyPromotion value for loyaltyPromotion.idempotencyKey - String value for idempotencyKey.public LoyaltyPromotion getLoyaltyPromotion()
public String getIdempotencyKey()
public String toString()
public CreateLoyaltyPromotionRequest.Builder toBuilder()
CreateLoyaltyPromotionRequest.Builder object.
Creates the instance with the state of the current model.CreateLoyaltyPromotionRequest.Builder objectCopyright © 2023. All rights reserved.