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)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
LoyaltyEventAccumulatePoints |
getAccumulatePoints()
Getter for AccumulatePoints.
|
LoyaltyEventAdjustPoints |
getAdjustPoints()
Getter for AdjustPoints.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
LoyaltyEventCreateReward |
getCreateReward()
Getter for CreateReward.
|
LoyaltyEventDeleteReward |
getDeleteReward()
Getter for DeleteReward.
|
LoyaltyEventExpirePoints |
getExpirePoints()
Getter for ExpirePoints.
|
String |
getId()
Getter for Id.
|
String |
getLocationId()
Getter for LocationId.
|
String |
getLoyaltyAccountId()
Getter for LoyaltyAccountId.
|
LoyaltyEventOther |
getOtherEvent()
Getter for OtherEvent.
|
LoyaltyEventRedeemReward |
getRedeemReward()
Getter for RedeemReward.
|
String |
getSource()
Getter for Source.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
LoyaltyEvent.Builder |
toBuilder()
Builds a new
LoyaltyEvent.Builder object. |
String |
toString()
Converts this LoyaltyEvent into string format.
|
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)
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.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 String toString()
public LoyaltyEvent.Builder toBuilder()
LoyaltyEvent.Builder object.
Creates the instance with the state of the current model.LoyaltyEvent.Builder objectCopyright © 2022. All rights reserved.