public static class LoyaltyAccount.Builder extends Object
LoyaltyAccount.| Constructor and Description |
|---|
Builder(String programId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LoyaltyAccount.Builder |
balance(Integer balance)
Setter for balance.
|
LoyaltyAccount |
build()
Builds a new
LoyaltyAccount object using the set fields. |
LoyaltyAccount.Builder |
createdAt(String createdAt)
Setter for createdAt.
|
LoyaltyAccount.Builder |
customerId(String customerId)
Setter for customerId.
|
LoyaltyAccount.Builder |
enrolledAt(String enrolledAt)
Setter for enrolledAt.
|
LoyaltyAccount.Builder |
expiringPointDeadlines(List<LoyaltyAccountExpiringPointDeadline> expiringPointDeadlines)
Setter for expiringPointDeadlines.
|
LoyaltyAccount.Builder |
id(String id)
Setter for id.
|
LoyaltyAccount.Builder |
lifetimePoints(Integer lifetimePoints)
Setter for lifetimePoints.
|
LoyaltyAccount.Builder |
mapping(LoyaltyAccountMapping mapping)
Setter for mapping.
|
LoyaltyAccount.Builder |
programId(String programId)
Setter for programId.
|
LoyaltyAccount.Builder |
updatedAt(String updatedAt)
Setter for updatedAt.
|
public Builder(String programId)
programId - String value for programId.public LoyaltyAccount.Builder programId(String programId)
programId - String value for programId.public LoyaltyAccount.Builder id(String id)
id - String value for id.public LoyaltyAccount.Builder balance(Integer balance)
balance - Integer value for balance.public LoyaltyAccount.Builder lifetimePoints(Integer lifetimePoints)
lifetimePoints - Integer value for lifetimePoints.public LoyaltyAccount.Builder customerId(String customerId)
customerId - String value for customerId.public LoyaltyAccount.Builder enrolledAt(String enrolledAt)
enrolledAt - String value for enrolledAt.public LoyaltyAccount.Builder createdAt(String createdAt)
createdAt - String value for createdAt.public LoyaltyAccount.Builder updatedAt(String updatedAt)
updatedAt - String value for updatedAt.public LoyaltyAccount.Builder mapping(LoyaltyAccountMapping mapping)
mapping - LoyaltyAccountMapping value for mapping.public LoyaltyAccount.Builder expiringPointDeadlines(List<LoyaltyAccountExpiringPointDeadline> expiringPointDeadlines)
expiringPointDeadlines - List of LoyaltyAccountExpiringPointDeadline value for
expiringPointDeadlines.public LoyaltyAccount build()
LoyaltyAccount object using the set fields.LoyaltyAccountCopyright © 2022. All rights reserved.