public class LoyaltyEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LoyaltyEvent.Builder
Class to build instances of
LoyaltyEvent. |
| Constructor and Description |
|---|
LoyaltyEvent(String id,
String type,
String createdAt,
String loyaltyAccountId,
String source,
LoyaltyEventAccumulatePoints accumulatePoints,
LoyaltyEventCreateReward createReward,
LoyaltyEventRedeemReward redeemReward,
LoyaltyEventDeleteReward deleteReward,
LoyaltyEventAdjustPoints adjustPoints,
String locationId,
LoyaltyEventExpirePoints expirePoints,
LoyaltyEventOther otherEvent,
LoyaltyEventAccumulatePromotionPoints accumulatePromotionPoints)
Initialization constructor.
|
public LoyaltyEvent(String id, String type, String createdAt, String loyaltyAccountId, String source, LoyaltyEventAccumulatePoints accumulatePoints, LoyaltyEventCreateReward createReward, LoyaltyEventRedeemReward redeemReward, LoyaltyEventDeleteReward deleteReward, LoyaltyEventAdjustPoints adjustPoints, String locationId, LoyaltyEventExpirePoints expirePoints, LoyaltyEventOther otherEvent, LoyaltyEventAccumulatePromotionPoints accumulatePromotionPoints)
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.accumulatePoints - LoyaltyEventAccumulatePoints value for accumulatePoints.createReward - LoyaltyEventCreateReward value for createReward.redeemReward - LoyaltyEventRedeemReward value for redeemReward.deleteReward - LoyaltyEventDeleteReward value for deleteReward.adjustPoints - LoyaltyEventAdjustPoints value for adjustPoints.locationId - String value for locationId.expirePoints - LoyaltyEventExpirePoints value for expirePoints.otherEvent - LoyaltyEventOther value for otherEvent.accumulatePromotionPoints - LoyaltyEventAccumulatePromotionPoints value for
accumulatePromotionPoints.public String getId()
public String getType()
public String getCreatedAt()
public LoyaltyEventAccumulatePoints getAccumulatePoints()
public LoyaltyEventCreateReward getCreateReward()
public LoyaltyEventRedeemReward getRedeemReward()
public LoyaltyEventDeleteReward getDeleteReward()
public LoyaltyEventAdjustPoints getAdjustPoints()
public String getLoyaltyAccountId()
public String getLocationId()
public String getSource()
public LoyaltyEventExpirePoints getExpirePoints()
public LoyaltyEventOther getOtherEvent()
public LoyaltyEventAccumulatePromotionPoints getAccumulatePromotionPoints()
public String toString()
public LoyaltyEvent.Builder toBuilder()
LoyaltyEvent.Builder object.
Creates the instance with the state of the current model.LoyaltyEvent.Builder objectCopyright © 2024. All rights reserved.