public static class AdjustLoyaltyPointsRequest.Builder extends Object
AdjustLoyaltyPointsRequest.| Constructor and Description |
|---|
Builder(String idempotencyKey,
LoyaltyEventAdjustPoints adjustPoints)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AdjustLoyaltyPointsRequest.Builder |
adjustPoints(LoyaltyEventAdjustPoints adjustPoints)
Setter for adjustPoints.
|
AdjustLoyaltyPointsRequest.Builder |
allowNegativeBalance(Boolean allowNegativeBalance)
Setter for allowNegativeBalance.
|
AdjustLoyaltyPointsRequest |
build()
Builds a new
AdjustLoyaltyPointsRequest object using the set fields. |
AdjustLoyaltyPointsRequest.Builder |
idempotencyKey(String idempotencyKey)
Setter for idempotencyKey.
|
AdjustLoyaltyPointsRequest.Builder |
unsetAllowNegativeBalance()
UnSetter for allowNegativeBalance.
|
public Builder(String idempotencyKey, LoyaltyEventAdjustPoints adjustPoints)
idempotencyKey - String value for idempotencyKey.adjustPoints - LoyaltyEventAdjustPoints value for adjustPoints.public AdjustLoyaltyPointsRequest.Builder idempotencyKey(String idempotencyKey)
idempotencyKey - String value for idempotencyKey.public AdjustLoyaltyPointsRequest.Builder adjustPoints(LoyaltyEventAdjustPoints adjustPoints)
adjustPoints - LoyaltyEventAdjustPoints value for adjustPoints.public AdjustLoyaltyPointsRequest.Builder allowNegativeBalance(Boolean allowNegativeBalance)
allowNegativeBalance - Boolean value for allowNegativeBalance.public AdjustLoyaltyPointsRequest.Builder unsetAllowNegativeBalance()
public AdjustLoyaltyPointsRequest build()
AdjustLoyaltyPointsRequest object using the set fields.AdjustLoyaltyPointsRequestCopyright © 2023. All rights reserved.