public static class LoyaltyEvent.Builder extends Object
LoyaltyEvent.| Constructor and Description |
|---|
Builder(String id,
String type,
String createdAt,
String loyaltyAccountId,
String source)
Initialization constructor.
|
public Builder(String id, String type, String createdAt, String loyaltyAccountId, String source)
id - String value for id.type - String value for type.createdAt - String value for createdAt.loyaltyAccountId - String value for loyaltyAccountId.source - String value for source.public LoyaltyEvent.Builder id(String id)
id - String value for id.public LoyaltyEvent.Builder type(String type)
type - String value for type.public LoyaltyEvent.Builder createdAt(String createdAt)
createdAt - String value for createdAt.public LoyaltyEvent.Builder loyaltyAccountId(String loyaltyAccountId)
loyaltyAccountId - String value for loyaltyAccountId.public LoyaltyEvent.Builder source(String source)
source - String value for source.public LoyaltyEvent.Builder accumulatePoints(LoyaltyEventAccumulatePoints accumulatePoints)
accumulatePoints - LoyaltyEventAccumulatePoints value for accumulatePoints.public LoyaltyEvent.Builder createReward(LoyaltyEventCreateReward createReward)
createReward - LoyaltyEventCreateReward value for createReward.public LoyaltyEvent.Builder redeemReward(LoyaltyEventRedeemReward redeemReward)
redeemReward - LoyaltyEventRedeemReward value for redeemReward.public LoyaltyEvent.Builder deleteReward(LoyaltyEventDeleteReward deleteReward)
deleteReward - LoyaltyEventDeleteReward value for deleteReward.public LoyaltyEvent.Builder adjustPoints(LoyaltyEventAdjustPoints adjustPoints)
adjustPoints - LoyaltyEventAdjustPoints value for adjustPoints.public LoyaltyEvent.Builder locationId(String locationId)
locationId - String value for locationId.public LoyaltyEvent.Builder expirePoints(LoyaltyEventExpirePoints expirePoints)
expirePoints - LoyaltyEventExpirePoints value for expirePoints.public LoyaltyEvent.Builder otherEvent(LoyaltyEventOther otherEvent)
otherEvent - LoyaltyEventOther value for otherEvent.public LoyaltyEvent build()
LoyaltyEvent object using the set fields.LoyaltyEventCopyright © 2022. All rights reserved.