@Entity public class FulfillmentGroupFeeImpl extends java.lang.Object implements FulfillmentGroupFee, CurrencyCodeIdentifiable
| Modifier and Type | Field and Description |
|---|---|
protected java.math.BigDecimal |
amount |
protected java.lang.Boolean |
feeTaxable |
protected FulfillmentGroup |
fulfillmentGroup |
protected java.lang.Long |
id |
protected java.lang.String |
name |
protected java.lang.String |
reportingCode |
protected java.util.List<TaxDetail> |
taxes |
protected java.math.BigDecimal |
totalTax |
| Constructor and Description |
|---|
FulfillmentGroupFeeImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Money |
getAmount() |
java.lang.String |
getCurrencyCode() |
FulfillmentGroup |
getFulfillmentGroup() |
java.lang.Long |
getId() |
java.lang.String |
getName() |
java.lang.String |
getReportingCode() |
java.util.List<TaxDetail> |
getTaxes()
Gets a list of TaxDetail objects, which are taxes that apply directly to this fee.
|
Money |
getTotalTax()
Gets the total tax for this fee, which is the sum of all taxes for this fee.
|
int |
hashCode() |
java.lang.Boolean |
isTaxable()
Returns whether or not this fee is taxable.
|
void |
setAmount(Money amount) |
void |
setFulfillmentGroup(FulfillmentGroup fulfillmentGroup) |
void |
setId(java.lang.Long id) |
void |
setName(java.lang.String name) |
void |
setReportingCode(java.lang.String reportingCode) |
void |
setTaxable(java.lang.Boolean taxable)
Sets whether or not this fee is taxable
|
void |
setTaxes(java.util.List<TaxDetail> taxes)
Sets the list of TaxDetail objects, which are taxes that apply directly to this fee.
|
void |
setTotalTax(Money totalTax)
Sets the total tax for this fee, which is the sum of all taxes for this fee.
|
protected java.lang.Long id
protected FulfillmentGroup fulfillmentGroup
protected java.math.BigDecimal amount
protected java.lang.String name
protected java.lang.String reportingCode
protected java.lang.Boolean feeTaxable
protected java.util.List<TaxDetail> taxes
protected java.math.BigDecimal totalTax
public java.lang.Long getId()
getId in interface FulfillmentGroupFeepublic void setId(java.lang.Long id)
setId in interface FulfillmentGroupFeepublic FulfillmentGroup getFulfillmentGroup()
getFulfillmentGroup in interface FulfillmentGroupFeepublic void setFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
setFulfillmentGroup in interface FulfillmentGroupFeepublic Money getAmount()
getAmount in interface FulfillmentGroupFeepublic void setAmount(Money amount)
setAmount in interface FulfillmentGroupFeepublic java.lang.String getName()
getName in interface FulfillmentGroupFeepublic void setName(java.lang.String name)
setName in interface FulfillmentGroupFeepublic java.lang.String getReportingCode()
getReportingCode in interface FulfillmentGroupFeepublic void setReportingCode(java.lang.String reportingCode)
setReportingCode in interface FulfillmentGroupFeepublic java.lang.Boolean isTaxable()
FulfillmentGroupFeeisTaxable in interface FulfillmentGroupFeepublic void setTaxable(java.lang.Boolean taxable)
FulfillmentGroupFeesetTaxable in interface FulfillmentGroupFeepublic java.util.List<TaxDetail> getTaxes()
FulfillmentGroupFeegetTaxes in interface FulfillmentGroupFeepublic void setTaxes(java.util.List<TaxDetail> taxes)
FulfillmentGroupFeesetTaxes in interface FulfillmentGroupFeetaxes - the list of taxes on this feepublic Money getTotalTax()
FulfillmentGroupFeegetTotalTax in interface FulfillmentGroupFeepublic void setTotalTax(Money totalTax)
FulfillmentGroupFeesetTotalTax in interface FulfillmentGroupFeetotalTax - the total tax for this feepublic java.lang.String getCurrencyCode()
getCurrencyCode in interface CurrencyCodeIdentifiablepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018. All Rights Reserved.