public class LoyaltyAccount extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LoyaltyAccount.Builder
Class to build instances of
LoyaltyAccount. |
| Constructor and Description |
|---|
LoyaltyAccount(String programId,
String id,
Integer balance,
Integer lifetimePoints,
String customerId,
String enrolledAt,
String createdAt,
String updatedAt,
LoyaltyAccountMapping mapping,
List<LoyaltyAccountExpiringPointDeadline> expiringPointDeadlines)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getBalance()
Getter for Balance.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getCustomerId()
Getter for CustomerId.
|
String |
getEnrolledAt()
Getter for EnrolledAt.
|
List<LoyaltyAccountExpiringPointDeadline> |
getExpiringPointDeadlines()
Getter for ExpiringPointDeadlines.
|
String |
getId()
Getter for Id.
|
Integer |
getLifetimePoints()
Getter for LifetimePoints.
|
LoyaltyAccountMapping |
getMapping()
Getter for Mapping.
|
String |
getProgramId()
Getter for ProgramId.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
int |
hashCode() |
LoyaltyAccount.Builder |
toBuilder()
Builds a new
LoyaltyAccount.Builder object. |
String |
toString()
Converts this LoyaltyAccount into string format.
|
public LoyaltyAccount(String programId, String id, Integer balance, Integer lifetimePoints, String customerId, String enrolledAt, String createdAt, String updatedAt, LoyaltyAccountMapping mapping, List<LoyaltyAccountExpiringPointDeadline> expiringPointDeadlines)
programId - String value for programId.id - String value for id.balance - Integer value for balance.lifetimePoints - Integer value for lifetimePoints.customerId - String value for customerId.enrolledAt - String value for enrolledAt.createdAt - String value for createdAt.updatedAt - String value for updatedAt.mapping - LoyaltyAccountMapping value for mapping.expiringPointDeadlines - List of LoyaltyAccountExpiringPointDeadline value for
expiringPointDeadlines.public String getId()
public String getProgramId()
public Integer getBalance()
public Integer getLifetimePoints()
public String getCustomerId()
public String getEnrolledAt()
public String getCreatedAt()
public String getUpdatedAt()
public LoyaltyAccountMapping getMapping()
public List<LoyaltyAccountExpiringPointDeadline> getExpiringPointDeadlines()
public String toString()
public LoyaltyAccount.Builder toBuilder()
LoyaltyAccount.Builder object.
Creates the instance with the state of the current model.LoyaltyAccount.Builder objectCopyright © 2022. All rights reserved.