public static class LoyaltyAccount.Builder extends Object
LoyaltyAccount.| Constructor and Description |
|---|
Builder(String programId)
Initialization constructor.
|
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 unsetCustomerId()
public LoyaltyAccount.Builder enrolledAt(String enrolledAt)
enrolledAt - String value for enrolledAt.public LoyaltyAccount.Builder unsetEnrolledAt()
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.Builder unsetExpiringPointDeadlines()
public LoyaltyAccount build()
LoyaltyAccount object using the set fields.LoyaltyAccountCopyright © 2024. All rights reserved.