public class OrderReturnDiscount extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderReturnDiscount.Builder
Class to build instances of
OrderReturnDiscount. |
| Constructor and Description |
|---|
OrderReturnDiscount(String uid,
String sourceDiscountUid,
String catalogObjectId,
Long catalogVersion,
String name,
String type,
String percentage,
Money amountMoney,
Money appliedMoney,
String scope)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Money |
getAmountMoney()
Getter for AmountMoney.
|
Money |
getAppliedMoney()
Getter for AppliedMoney.
|
String |
getCatalogObjectId()
Getter for CatalogObjectId.
|
Long |
getCatalogVersion()
Getter for CatalogVersion.
|
String |
getName()
Getter for Name.
|
String |
getPercentage()
Getter for Percentage.
|
String |
getScope()
Getter for Scope.
|
String |
getSourceDiscountUid()
Getter for SourceDiscountUid.
|
String |
getType()
Getter for Type.
|
String |
getUid()
Getter for Uid.
|
int |
hashCode() |
OrderReturnDiscount.Builder |
toBuilder()
Builds a new
OrderReturnDiscount.Builder object. |
String |
toString()
Converts this OrderReturnDiscount into string format.
|
public OrderReturnDiscount(String uid, String sourceDiscountUid, String catalogObjectId, Long catalogVersion, String name, String type, String percentage, Money amountMoney, Money appliedMoney, String scope)
uid - String value for uid.sourceDiscountUid - String value for sourceDiscountUid.catalogObjectId - String value for catalogObjectId.catalogVersion - Long value for catalogVersion.name - String value for name.type - String value for type.percentage - String value for percentage.amountMoney - Money value for amountMoney.appliedMoney - Money value for appliedMoney.scope - String value for scope.public String getUid()
public String getSourceDiscountUid()
public String getCatalogObjectId()
public Long getCatalogVersion()
public String getName()
public String getType()
public String getPercentage()
public Money getAmountMoney()
public Money getAppliedMoney()
public String getScope()
public String toString()
public OrderReturnDiscount.Builder toBuilder()
OrderReturnDiscount.Builder object.
Creates the instance with the state of the current model.OrderReturnDiscount.Builder objectCopyright © 2022. All rights reserved.