public class XPFTaxCalculationContext extends XPFEntity
Constructor and Description |
---|
XPFTaxCalculationContext(@NonNull List<XPFTaxableShoppingItem> taxableItems,
@NonNull XPFStore store,
@NonNull Currency currency,
@NonNull XPFAddress originAddress,
@NonNull XPFAddress destinationAddress,
@NonNull XPFCustomer customer,
@NonNull XPFTaxJournalTypeEnum journalType,
@NonNull String documentId,
boolean taxInclusive,
String taxExemptionId,
XPFTaxOverride taxOverride) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull Currency |
getCurrency()
The currency.
|
@NonNull XPFCustomer |
getCustomer()
The customer.
|
@NonNull XPFAddress |
getDestinationAddress()
The destination address.
|
@NonNull String |
getDocumentId()
The tax document ID.
|
@NonNull XPFTaxJournalTypeEnum |
getJournalType()
The tax journal type.
|
@NonNull XPFAddress |
getOriginAddress()
The origin address.
|
@NonNull XPFStore |
getStore()
The store.
|
@NonNull List<XPFTaxableShoppingItem> |
getTaxableItems()
The taxable items.
|
String |
getTaxExemptionId()
The tax exemption ID.
|
XPFTaxOverride |
getTaxOverride()
The tax override.
|
int |
hashCode() |
boolean |
isTaxInclusive()
Indicates whether the tax is included in the price.
|
String |
toString() |
getCustomData
public XPFTaxCalculationContext(@NonNull @NonNull List<XPFTaxableShoppingItem> taxableItems, @NonNull @NonNull XPFStore store, @NonNull @NonNull Currency currency, @NonNull @NonNull XPFAddress originAddress, @NonNull @NonNull XPFAddress destinationAddress, @NonNull @NonNull XPFCustomer customer, @NonNull @NonNull XPFTaxJournalTypeEnum journalType, @NonNull @NonNull String documentId, boolean taxInclusive, String taxExemptionId, XPFTaxOverride taxOverride)
@NonNull public @NonNull List<XPFTaxableShoppingItem> getTaxableItems()
@NonNull public @NonNull XPFStore getStore()
@NonNull public @NonNull Currency getCurrency()
@NonNull public @NonNull XPFAddress getOriginAddress()
@NonNull public @NonNull XPFAddress getDestinationAddress()
@NonNull public @NonNull XPFCustomer getCustomer()
@NonNull public @NonNull XPFTaxJournalTypeEnum getJournalType()
@NonNull public @NonNull String getDocumentId()
public boolean isTaxInclusive()
public String getTaxExemptionId()
public XPFTaxOverride getTaxOverride()
Copyright © 2024. All rights reserved.