public class XPFTaxCalculationContext extends XPFEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
XPFTaxCalculationContext.XPFTaxCalculationContextBuilder<C extends XPFTaxCalculationContext,B extends XPFTaxCalculationContext.XPFTaxCalculationContextBuilder<C,B>> |
XPFEntity.XPFEntityBuilder<C extends XPFEntity,B extends XPFEntity.XPFEntityBuilder<C,B>>| Modifier | 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) |
protected |
XPFTaxCalculationContext(XPFTaxCalculationContext.XPFTaxCalculationContextBuilder<?,?> b) |
| Modifier and Type | Method and Description |
|---|---|
static XPFTaxCalculationContext.XPFTaxCalculationContextBuilder<?,?> |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull Currency |
getCurrency()
The currency.
|
@NonNull XPFCustomer |
getCustomer()
Deprecated.
do not use customer details for tax calculations
|
@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, getCustomDataValueprotected XPFTaxCalculationContext(XPFTaxCalculationContext.XPFTaxCalculationContextBuilder<?,?> b)
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)
public static XPFTaxCalculationContext.XPFTaxCalculationContextBuilder<?,?> builder()
@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()
@Deprecated @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 © 2026. All rights reserved.