public class LoyaltyAccount extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LoyaltyAccount.Builder
Class to build instances of
LoyaltyAccount. |
| Modifier | Constructor and Description |
|---|---|
protected |
LoyaltyAccount(String programId,
String id,
Integer balance,
Integer lifetimePoints,
io.apimatic.core.types.OptionalNullable<String> customerId,
io.apimatic.core.types.OptionalNullable<String> enrolledAt,
String createdAt,
String updatedAt,
LoyaltyAccountMapping mapping,
io.apimatic.core.types.OptionalNullable<List<LoyaltyAccountExpiringPointDeadline>> expiringPointDeadlines)
Initialization constructor.
|
|
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() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCustomerId()
Internal Getter for CustomerId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetEnrolledAt()
Internal Getter for EnrolledAt.
|
protected io.apimatic.core.types.OptionalNullable<List<LoyaltyAccountExpiringPointDeadline>> |
internalGetExpiringPointDeadlines()
Internal Getter for ExpiringPointDeadlines.
|
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.protected LoyaltyAccount(String programId, String id, Integer balance, Integer lifetimePoints, io.apimatic.core.types.OptionalNullable<String> customerId, io.apimatic.core.types.OptionalNullable<String> enrolledAt, String createdAt, String updatedAt, LoyaltyAccountMapping mapping, io.apimatic.core.types.OptionalNullable<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()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCustomerId()
public String getCustomerId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetEnrolledAt()
public String getEnrolledAt()
public String getCreatedAt()
public String getUpdatedAt()
public LoyaltyAccountMapping getMapping()
protected io.apimatic.core.types.OptionalNullable<List<LoyaltyAccountExpiringPointDeadline>> internalGetExpiringPointDeadlines()
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 © 2024. All rights reserved.