public class LoyaltyProgram extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LoyaltyProgram.Builder
Class to build instances of
LoyaltyProgram. |
| Constructor and Description |
|---|
LoyaltyProgram(String id,
String status,
List<LoyaltyProgramRewardTier> rewardTiers,
LoyaltyProgramTerminology terminology,
List<String> locationIds,
String createdAt,
String updatedAt,
List<LoyaltyProgramAccrualRule> accrualRules,
LoyaltyProgramExpirationPolicy expirationPolicy)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<LoyaltyProgramAccrualRule> |
getAccrualRules()
Getter for AccrualRules.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
LoyaltyProgramExpirationPolicy |
getExpirationPolicy()
Getter for ExpirationPolicy.
|
String |
getId()
Getter for Id.
|
List<String> |
getLocationIds()
Getter for LocationIds.
|
List<LoyaltyProgramRewardTier> |
getRewardTiers()
Getter for RewardTiers.
|
String |
getStatus()
Getter for Status.
|
LoyaltyProgramTerminology |
getTerminology()
Getter for Terminology.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
int |
hashCode() |
LoyaltyProgram.Builder |
toBuilder()
Builds a new
LoyaltyProgram.Builder object. |
String |
toString()
Converts this LoyaltyProgram into string format.
|
public LoyaltyProgram(String id, String status, List<LoyaltyProgramRewardTier> rewardTiers, LoyaltyProgramTerminology terminology, List<String> locationIds, String createdAt, String updatedAt, List<LoyaltyProgramAccrualRule> accrualRules, LoyaltyProgramExpirationPolicy expirationPolicy)
id - String value for id.status - String value for status.rewardTiers - List of LoyaltyProgramRewardTier value for rewardTiers.terminology - LoyaltyProgramTerminology value for terminology.locationIds - List of String value for locationIds.createdAt - String value for createdAt.updatedAt - String value for updatedAt.accrualRules - List of LoyaltyProgramAccrualRule value for accrualRules.expirationPolicy - LoyaltyProgramExpirationPolicy value for expirationPolicy.public String getId()
public String getStatus()
public List<LoyaltyProgramRewardTier> getRewardTiers()
public LoyaltyProgramExpirationPolicy getExpirationPolicy()
public LoyaltyProgramTerminology getTerminology()
public List<String> getLocationIds()
public String getCreatedAt()
public String getUpdatedAt()
public List<LoyaltyProgramAccrualRule> getAccrualRules()
public String toString()
public LoyaltyProgram.Builder toBuilder()
LoyaltyProgram.Builder object.
Creates the instance with the state of the current model.LoyaltyProgram.Builder objectCopyright © 2022. All rights reserved.