public class LoyaltyProgramRewardDefinition extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LoyaltyProgramRewardDefinition.Builder
Class to build instances of
LoyaltyProgramRewardDefinition. |
| Constructor and Description |
|---|
LoyaltyProgramRewardDefinition(String scope,
String discountType,
String percentageDiscount,
List<String> catalogObjectIds,
Money fixedDiscountMoney,
Money maxDiscountMoney)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getCatalogObjectIds()
Getter for CatalogObjectIds.
|
String |
getDiscountType()
Getter for DiscountType.
|
Money |
getFixedDiscountMoney()
Getter for FixedDiscountMoney.
|
Money |
getMaxDiscountMoney()
Getter for MaxDiscountMoney.
|
String |
getPercentageDiscount()
Getter for PercentageDiscount.
|
String |
getScope()
Getter for Scope.
|
int |
hashCode() |
LoyaltyProgramRewardDefinition.Builder |
toBuilder()
Builds a new
LoyaltyProgramRewardDefinition.Builder object. |
String |
toString()
Converts this LoyaltyProgramRewardDefinition into string format.
|
public LoyaltyProgramRewardDefinition(String scope, String discountType, String percentageDiscount, List<String> catalogObjectIds, Money fixedDiscountMoney, Money maxDiscountMoney)
scope - String value for scope.discountType - String value for discountType.percentageDiscount - String value for percentageDiscount.catalogObjectIds - List of String value for catalogObjectIds.fixedDiscountMoney - Money value for fixedDiscountMoney.maxDiscountMoney - Money value for maxDiscountMoney.public String getScope()
public String getDiscountType()
public String getPercentageDiscount()
public List<String> getCatalogObjectIds()
public Money getFixedDiscountMoney()
public Money getMaxDiscountMoney()
public String toString()
public LoyaltyProgramRewardDefinition.Builder toBuilder()
LoyaltyProgramRewardDefinition.Builder object.
Creates the instance with the state of the current model.LoyaltyProgramRewardDefinition.Builder objectCopyright © 2022. All rights reserved.