public class XPFTaxDocumentContext extends XPFEntity
| Constructor and Description | 
|---|
XPFTaxDocumentContext(@NonNull XPFTaxDocument taxDocument,
                     @NonNull XPFTaxJournalTypeEnum taxJournalType,
                     @NonNull XPFTaxTransactionTypeEnum taxTransactionType,
                     @NonNull XPFTaxObjectTypeEnum taxObjectType,
                     @NonNull Currency currency,
                     @NonNull XPFCustomer user,
                     XPFCustomer account,
                     @NonNull String orderNumber,
                     @NonNull String storeCode,
                     @NonNull XPFAddress originAddress,
                     @NonNull XPFAddress destinationAddress,
                     boolean isTaxInclusive,
                     String shippingItemGuid,
                     String taxExemptionId,
                     XPFTaxOverride taxOverride)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
canEqual(Object other)  | 
boolean | 
equals(Object o)  | 
XPFCustomer | 
getAccount()
The account that the user is buying on behalf-of, if applicable. 
 | 
@NonNull Currency | 
getCurrency()
The currency. 
 | 
@NonNull XPFAddress | 
getDestinationAddress()
The destination address. 
 | 
@NonNull String | 
getOrderNumber()
The order number. 
 | 
@NonNull XPFAddress | 
getOriginAddress()
The origin address. 
 | 
String | 
getShippingItemGuid()
The shipping item GUID. 
 | 
@NonNull String | 
getStoreCode()
The store code. 
 | 
@NonNull XPFTaxDocument | 
getTaxDocument()
The tax document. 
 | 
String | 
getTaxExemptionId()
The tax exemption ID. 
 | 
@NonNull XPFTaxJournalTypeEnum | 
getTaxJournalType()
The tax journal type. 
 | 
@NonNull XPFTaxObjectTypeEnum | 
getTaxObjectType()
The tax object type. 
 | 
XPFTaxOverride | 
getTaxOverride()
The tax override. 
 | 
@NonNull XPFTaxTransactionTypeEnum | 
getTaxTransactionType()
The tax transaction type. 
 | 
@NonNull XPFCustomer | 
getUser()
The user. 
 | 
int | 
hashCode()  | 
boolean | 
isTaxInclusive()
Indicates if tax inclusive calculation was used. 
 | 
String | 
toString()  | 
getCustomDatapublic XPFTaxDocumentContext(@NonNull
                             @NonNull XPFTaxDocument taxDocument,
                             @NonNull
                             @NonNull XPFTaxJournalTypeEnum taxJournalType,
                             @NonNull
                             @NonNull XPFTaxTransactionTypeEnum taxTransactionType,
                             @NonNull
                             @NonNull XPFTaxObjectTypeEnum taxObjectType,
                             @NonNull
                             @NonNull Currency currency,
                             @NonNull
                             @NonNull XPFCustomer user,
                             XPFCustomer account,
                             @NonNull
                             @NonNull String orderNumber,
                             @NonNull
                             @NonNull String storeCode,
                             @NonNull
                             @NonNull XPFAddress originAddress,
                             @NonNull
                             @NonNull XPFAddress destinationAddress,
                             boolean isTaxInclusive,
                             String shippingItemGuid,
                             String taxExemptionId,
                             XPFTaxOverride taxOverride)
@NonNull public @NonNull XPFTaxDocument getTaxDocument()
@NonNull public @NonNull XPFTaxJournalTypeEnum getTaxJournalType()
@NonNull public @NonNull XPFTaxTransactionTypeEnum getTaxTransactionType()
@NonNull public @NonNull XPFTaxObjectTypeEnum getTaxObjectType()
@NonNull public @NonNull Currency getCurrency()
@NonNull public @NonNull XPFCustomer getUser()
public XPFCustomer getAccount()
@NonNull public @NonNull String getOrderNumber()
@NonNull public @NonNull String getStoreCode()
@NonNull public @NonNull XPFAddress getOriginAddress()
@NonNull public @NonNull XPFAddress getDestinationAddress()
public boolean isTaxInclusive()
public String getShippingItemGuid()
public String getTaxExemptionId()
public XPFTaxOverride getTaxOverride()
Copyright © 2024. All rights reserved.