public final class XPFTaxDocumentContextBuilder extends Object
XPFTaxDocumentContext
.public static XPFTaxDocumentContextBuilder newBuilder()
public XPFTaxDocumentContext build()
public XPFTaxDocumentContextBuilder setTaxDocument(XPFTaxDocument taxDocument)
taxDocument
- the tax documentpublic XPFTaxDocumentContextBuilder setTaxJournalType(XPFTaxJournalTypeEnum taxJournalType)
taxJournalType
- the tax journal typepublic XPFTaxDocumentContextBuilder setTaxTransactionType(XPFTaxTransactionTypeEnum taxTransactionType)
taxTransactionType
- the tax transaction typepublic XPFTaxDocumentContextBuilder setTaxObjectType(XPFTaxObjectTypeEnum taxObjectType)
taxObjectType
- the tax object typepublic XPFTaxDocumentContextBuilder setCurrency(Currency currency)
currency
- the currencypublic XPFTaxDocumentContextBuilder setCustomer(XPFCustomer customer)
customer
- the customerpublic XPFTaxDocumentContextBuilder setAccount(XPFCustomer account)
account
- the accountpublic XPFTaxDocumentContextBuilder setOrderNumber(String orderNumber)
orderNumber
- the order numberpublic XPFTaxDocumentContextBuilder setStoreCode(String storeCode)
storeCode
- the store codepublic XPFTaxDocumentContextBuilder setOriginAddress(XPFAddress originAddress)
originAddress
- the origin addresspublic XPFTaxDocumentContextBuilder setDestinationAddress(XPFAddress destinationAddress)
destinationAddress
- the destination addresspublic XPFTaxDocumentContextBuilder setIsTaxInclusive(boolean isTaxInclusive)
isTaxInclusive
- the tax inclusivepublic XPFTaxDocumentContextBuilder setShippingItemGuid(String shippingItemGuid)
shippingItemGuid
- the shipping item GUIDpublic XPFTaxDocumentContextBuilder setTaxExemptionId(String taxExemptionId)
taxExemptionId
- the tax exemption IDpublic XPFTaxDocumentContextBuilder setTaxOverride(XPFTaxOverride taxOverride)
taxOverride
- the tax overrideCopyright © 2024. All rights reserved.