public static class LoyaltyEventCreateReward.Builder extends Object
LoyaltyEventCreateReward.| Constructor and Description |
|---|
Builder(String loyaltyProgramId,
int points)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LoyaltyEventCreateReward |
build()
Builds a new
LoyaltyEventCreateReward object using the set fields. |
LoyaltyEventCreateReward.Builder |
loyaltyProgramId(String loyaltyProgramId)
Setter for loyaltyProgramId.
|
LoyaltyEventCreateReward.Builder |
points(int points)
Setter for points.
|
LoyaltyEventCreateReward.Builder |
rewardId(String rewardId)
Setter for rewardId.
|
public Builder(String loyaltyProgramId, int points)
loyaltyProgramId - String value for loyaltyProgramId.points - int value for points.public LoyaltyEventCreateReward.Builder loyaltyProgramId(String loyaltyProgramId)
loyaltyProgramId - String value for loyaltyProgramId.public LoyaltyEventCreateReward.Builder points(int points)
points - int value for points.public LoyaltyEventCreateReward.Builder rewardId(String rewardId)
rewardId - String value for rewardId.public LoyaltyEventCreateReward build()
LoyaltyEventCreateReward object using the set fields.LoyaltyEventCreateRewardCopyright © 2022. All rights reserved.