public class OrderServiceCharge extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderServiceCharge.Builder
Class to build instances of
OrderServiceCharge. |
| Constructor and Description |
|---|
OrderServiceCharge(String uid,
String name,
String catalogObjectId,
Long catalogVersion,
String percentage,
Money amountMoney,
Money appliedMoney,
Money totalMoney,
Money totalTaxMoney,
String calculationPhase,
Boolean taxable,
List<OrderLineItemAppliedTax> appliedTaxes,
Map<String,String> metadata,
String type)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Money |
getAmountMoney()
Getter for AmountMoney.
|
Money |
getAppliedMoney()
Getter for AppliedMoney.
|
List<OrderLineItemAppliedTax> |
getAppliedTaxes()
Getter for AppliedTaxes.
|
String |
getCalculationPhase()
Getter for CalculationPhase.
|
String |
getCatalogObjectId()
Getter for CatalogObjectId.
|
Long |
getCatalogVersion()
Getter for CatalogVersion.
|
Map<String,String> |
getMetadata()
Getter for Metadata.
|
String |
getName()
Getter for Name.
|
String |
getPercentage()
Getter for Percentage.
|
Boolean |
getTaxable()
Getter for Taxable.
|
Money |
getTotalMoney()
Getter for TotalMoney.
|
Money |
getTotalTaxMoney()
Getter for TotalTaxMoney.
|
String |
getType()
Getter for Type.
|
String |
getUid()
Getter for Uid.
|
int |
hashCode() |
OrderServiceCharge.Builder |
toBuilder()
Builds a new
OrderServiceCharge.Builder object. |
String |
toString()
Converts this OrderServiceCharge into string format.
|
public OrderServiceCharge(String uid, String name, String catalogObjectId, Long catalogVersion, String percentage, Money amountMoney, Money appliedMoney, Money totalMoney, Money totalTaxMoney, String calculationPhase, Boolean taxable, List<OrderLineItemAppliedTax> appliedTaxes, Map<String,String> metadata, String type)
uid - String value for uid.name - String value for name.catalogObjectId - String value for catalogObjectId.catalogVersion - Long value for catalogVersion.percentage - String value for percentage.amountMoney - Money value for amountMoney.appliedMoney - Money value for appliedMoney.totalMoney - Money value for totalMoney.totalTaxMoney - Money value for totalTaxMoney.calculationPhase - String value for calculationPhase.taxable - Boolean value for taxable.appliedTaxes - List of OrderLineItemAppliedTax value for appliedTaxes.metadata - Map of String, value for metadata.type - String value for type.public String getUid()
public String getName()
public String getCatalogObjectId()
public Long getCatalogVersion()
public String getPercentage()
public Money getAmountMoney()
public Money getAppliedMoney()
public Money getTotalMoney()
public Money getTotalTaxMoney()
public String getCalculationPhase()
public Boolean getTaxable()
public List<OrderLineItemAppliedTax> getAppliedTaxes()
public Map<String,String> getMetadata()
public String getType()
public String toString()
public OrderServiceCharge.Builder toBuilder()
OrderServiceCharge.Builder object.
Creates the instance with the state of the current model.OrderServiceCharge.Builder objectCopyright © 2022. All rights reserved.