@Entity public class FulfillmentGroupFeeImpl extends Object implements FulfillmentGroupFee, CurrencyCodeIdentifiable
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
amount |
protected Boolean |
feeTaxable |
protected FulfillmentGroup |
fulfillmentGroup |
protected Long |
id |
protected String |
name |
protected String |
reportingCode |
protected List<TaxDetail> |
taxes |
protected BigDecimal |
totalTax |
| Constructor and Description |
|---|
FulfillmentGroupFeeImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Money |
getAmount() |
String |
getCurrencyCode() |
FulfillmentGroup |
getFulfillmentGroup() |
Long |
getId() |
String |
getName() |
String |
getReportingCode() |
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() |
Boolean |
isTaxable()
Returns whether or not this fee is taxable.
|
void |
setAmount(Money amount) |
void |
setFulfillmentGroup(FulfillmentGroup fulfillmentGroup) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setReportingCode(String reportingCode) |
void |
setTaxable(Boolean taxable)
Sets whether or not this fee is taxable
|
void |
setTaxes(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 Long id
protected FulfillmentGroup fulfillmentGroup
protected BigDecimal amount
protected String name
protected String reportingCode
protected Boolean feeTaxable
protected BigDecimal totalTax
public Long getId()
getId in interface FulfillmentGroupFeepublic void setId(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 String getName()
getName in interface FulfillmentGroupFeepublic void setName(String name)
setName in interface FulfillmentGroupFeepublic String getReportingCode()
getReportingCode in interface FulfillmentGroupFeepublic void setReportingCode(String reportingCode)
setReportingCode in interface FulfillmentGroupFeepublic Boolean isTaxable()
FulfillmentGroupFeeisTaxable in interface FulfillmentGroupFeepublic void setTaxable(Boolean taxable)
FulfillmentGroupFeesetTaxable in interface FulfillmentGroupFeepublic List<TaxDetail> getTaxes()
FulfillmentGroupFeegetTaxes in interface FulfillmentGroupFeepublic void setTaxes(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 String getCurrencyCode()
getCurrencyCode in interface CurrencyCodeIdentifiableCopyright © 2015. All Rights Reserved.