public class CatalogDiscount extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CatalogDiscount.Builder
Class to build instances of
CatalogDiscount |
Constructor and Description |
---|
CatalogDiscount(String name,
String discountType,
String percentage,
Money amountMoney,
Boolean pinRequired,
String labelColor,
String modifyTaxBasis)
Initialization constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Money |
getAmountMoney()
Getter for AmountMoney.
|
String |
getDiscountType()
Getter for DiscountType.
|
String |
getLabelColor()
Getter for LabelColor.
|
String |
getModifyTaxBasis()
Getter for ModifyTaxBasis.
|
String |
getName()
Getter for Name.
|
String |
getPercentage()
Getter for Percentage.
|
Boolean |
getPinRequired()
Getter for PinRequired.
|
int |
hashCode() |
CatalogDiscount.Builder |
toBuilder()
Builds a new
CatalogDiscount.Builder object. |
public CatalogDiscount(String name, String discountType, String percentage, Money amountMoney, Boolean pinRequired, String labelColor, String modifyTaxBasis)
name
- discountType
- percentage
- amountMoney
- pinRequired
- labelColor
- modifyTaxBasis
- public String getName()
public String getDiscountType()
public String getPercentage()
public Money getAmountMoney()
public Boolean getPinRequired()
public String getLabelColor()
public String getModifyTaxBasis()
public CatalogDiscount.Builder toBuilder()
CatalogDiscount.Builder
object.
Creates the instance with the state of the current model.CatalogDiscount.Builder
objectCopyright © 2020. All rights reserved.