public class TaxIntegrationOrderItemCmdImpl extends TaskCommandImpl implements TaxIntegrationOrderItemCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright statement.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
TaxIntegrationOrderItemCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getCost()
The total cost for this order item.
|
java.math.BigDecimal |
getDiscount()
The total value of all non-tax-exempt discounts for this line item.
|
java.lang.String[] |
getJurisdictionCodes()
Obtains all the jurisdiction levels (codes) where the taxes are being
calculated.
|
java.lang.String |
getJurstCode(java.lang.String aJurisdictiontype)
Obtains the jurisdiction level (code) for a given type of jurisdiction level..
|
java.math.BigDecimal |
getRecyclingFee()
Obtains the recycling fee for this order item
|
java.lang.String[] |
getSecondaryJurisdictionCodes()
Obtains all the secondary jurisdiction levels (secondary codes) where the
taxes are being calculated.
|
java.lang.String |
getSecondaryJurstCode(java.lang.String aJurisdictiontype)
Obtains the secondary jurisdiction level (code) for a given type of
secondary jurisdiction level..
|
java.math.BigDecimal |
getSecondaryTax(java.lang.String aJurisdictiontype)
Obtains the tax calculated for a given type of secondary jurisdiction level..
|
java.math.BigDecimal[] |
getSecondaryTaxAmounts()
Obtains the tax amounts calculated for each of the given secondary
jurisdiction levels returned from the tax calculation modules.
|
java.math.BigDecimal |
getSecondaryTaxRate(java.lang.String aJurisdictiontype)
Obtains the tax rate for a given type of secondary jurisdiction level.
|
java.math.BigDecimal |
getTax(java.lang.String aJurisdictiontype)
Obtains the tax calculated for a given type of jurisdiction level..
|
java.math.BigDecimal[] |
getTaxAmounts()
Obtains the tax amounts calculated for each of the given jurisdiction levels
returned from the tax calculation modules.
|
java.math.BigDecimal |
getTaxRate(java.lang.String aJurisdictiontype)
Obtains the tax rate for a given type of jurisdiction level.
|
java.lang.Integer[] |
getTaxTypes()
Obtains all the taxing authority or jurisdiction levels where the taxes
calculated.
|
java.math.BigDecimal |
getTotalTax()
Obtains the total tax calculated for this order item for all relevant taxing
authorities.
|
java.math.BigDecimal |
getTotalTaxRate()
Obtains the total tax rate for this order item for all relevant taxing
authorities.
|
void |
setAuditFlag(boolean aFlag)
Turns on or off the audit (logging) of tax calculations for this order item.
|
void |
setBusinessName(java.lang.String aBusinessName)
This method provides the name of the particular business location which
sells the order item.
|
void |
setBuyerName(java.lang.String aName)
The name of the purchaser for this item.
|
void |
setCost(java.math.BigDecimal aItemCost)
The total cost for this order item.
|
void |
setCurrencyCode(java.lang.String aisoCurrency)
This 3-character ISO currency code identifies the currency in which the
transaction is being made.
|
void |
setDiscount(java.math.BigDecimal aItemDiscount)
The total value of all non-tax-exempt discounts for this line item.
|
void |
setFreight(java.math.BigDecimal aItemFreight)
The total sbipping charge for this order item.
|
void |
setInvoiceNumber(java.lang.String aInvoiceNo)
This method provides the ability to attach an identifier to the order item
It is not used in the actual tax calculation.
|
void |
setItemCnt(java.lang.Double aItemCnt)
The number of units of this order item being purchased.
|
void |
setSellerID(java.lang.String aSellerId)
This method is used to set the seller identification.
|
void |
setSellerRegistrationId(java.lang.String aSellerRegistrationId)
This method is used to provide a seller registration identifier.
|
void |
setShipFromAddress(java.lang.String aAddress)
Sets the street address from which the order item will be shipped.
|
void |
setShipFromCity(java.lang.String aCity)
Sets the city portion of the address from which the order item will be shipped.
|
void |
setShipFromCountry(java.lang.String aCountry)
Sets the country from which the order item will be shipped.
|
void |
setShipFromState(java.lang.String aState)
Sets the state portion of the address from which the order item will be shipped.
|
void |
setShipFromTaxGeoCode(java.lang.String aGeoCode)
Sets the tax jurisdiction code (geoCode) from which the order item will be shipped.
|
void |
setShipFromZip(java.lang.String aZipCode)
Sets the zip code or postal code of the address from which the order item will be shipped.
|
void |
setShipToAddress(java.lang.String aAddress)
Sets the street address to which the order item will be shipped.
|
void |
setShipToCity(java.lang.String aCity)
Sets the city portion of the address to which the order item will be shipped.
|
void |
setShipToCountry(java.lang.String aCountry)
Sets the country to which the order item will be shipped.
|
void |
setShipToState(java.lang.String aState)
Sets the state portion of the address to which the order item will be shipped.
|
void |
setShipToTaxGeoCode(java.lang.String aGeoCode)
Sets the tax jurisdiction code (geoCode) to which the order item will be shipped.
|
void |
setShipToZip(java.lang.String aZipCode)
Sets the zip code or postal code of the address to which the order item will be shipped.
|
void |
setStoreId(java.lang.Integer aStoreId)
Sets the id of the input store to be used for determining the tax types.
|
void |
setTaxCode(java.lang.String aTaxCode)
This method specifies the tax treatment code for this order item.
|
void |
setTimeShipped(java.sql.Timestamp aTime)
Sets the time and date the order item shipped.
|
void |
setTransactionType(char aType)
This method is used to tell the tax software the type of transaction.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public java.math.BigDecimal getCost()
TaxIntegrationOrderItemCmdgetCost in interface TaxIntegrationOrderItemCmdTaxIntegrationOrderItemCmd.getCost()public java.math.BigDecimal getDiscount()
TaxIntegrationOrderItemCmdgetDiscount in interface TaxIntegrationOrderItemCmdTaxIntegrationOrderItemCmd.getDiscount()public java.lang.String[] getJurisdictionCodes()
TaxIntegrationOrderItemCmdgetJurisdictionCodes in interface TaxIntegrationOrderItemCmdTaxIntegrationOrderItemCmd.getJurisdictionCodes()public java.lang.String getJurstCode(java.lang.String aJurisdictiontype)
TaxIntegrationOrderItemCmdgetJurstCode in interface TaxIntegrationOrderItemCmdaJurisdictiontype - the type of jurisdiction level.
Accepted types can be "COUNTRY", "TERRITORY", "STATE", "COUNTY", "CITY" and "DISTRICT".
TaxIntegrationOrderItemCmd.getJurstCode(String)public java.lang.String[] getSecondaryJurisdictionCodes()
TaxIntegrationOrderItemCmdgetSecondaryJurisdictionCodes in interface TaxIntegrationOrderItemCmdTaxIntegrationOrderItemCmd.getSecondaryJurisdictionCodes()public java.lang.String getSecondaryJurstCode(java.lang.String aJurisdictiontype)
TaxIntegrationOrderItemCmdgetSecondaryJurstCode in interface TaxIntegrationOrderItemCmdaJurisdictiontype - the type of jurisdiction level.
Accepted types can be "SECONDARYSTATE", "SECONARYCOUNTY", "SECONDARYCITY".
TaxIntegrationOrderItemCmd.getSecondaryJurstCode(String)public java.math.BigDecimal getSecondaryTax(java.lang.String aJurisdictiontype)
TaxIntegrationOrderItemCmdgetSecondaryTax in interface TaxIntegrationOrderItemCmdaJurisdictiontype - the type of secondary jurisdiction level.
Accepted types can be "SECONDARYSTATE", "SECONARYCOUNTY", "SECONDARYCITY".
TaxIntegrationOrderItemCmd.getSecondaryTax(String)public java.math.BigDecimal[] getSecondaryTaxAmounts()
TaxIntegrationOrderItemCmdgetSecondaryTaxAmounts in interface TaxIntegrationOrderItemCmdTaxIntegrationOrderItemCmd.getSecondaryTaxAmounts()public java.math.BigDecimal getTax(java.lang.String aJurisdictiontype)
TaxIntegrationOrderItemCmdgetTax in interface TaxIntegrationOrderItemCmdaJurisdictiontype - the type of jurisdiction level.
Accepted types can be "COUNTRY", "TERRITORY", "STATE", "COUNTY", "CITY" and "DISTRICT".
TaxIntegrationOrderItemCmd.getTax(String)public java.math.BigDecimal[] getTaxAmounts()
TaxIntegrationOrderItemCmdgetTaxAmounts in interface TaxIntegrationOrderItemCmdTaxIntegrationOrderItemCmd.getTaxAmounts()public java.lang.Integer[] getTaxTypes()
TaxIntegrationOrderItemCmdgetTaxTypes in interface TaxIntegrationOrderItemCmdTaxIntegrationOrderItemCmd.getTaxTypes()public java.math.BigDecimal getTotalTax()
TaxIntegrationOrderItemCmdgetTotalTax in interface TaxIntegrationOrderItemCmdTaxIntegrationOrderItemCmd.getTotalTax()public void setAuditFlag(boolean aFlag)
TaxIntegrationOrderItemCmdsetAuditFlag in interface TaxIntegrationOrderItemCmdaFlag - Setting the flag to 'true' turns on auditing,
'false'turns it off.TaxIntegrationOrderItemCmd.setAuditFlag(boolean)public void setBusinessName(java.lang.String aBusinessName)
TaxIntegrationOrderItemCmdsetBusinessName in interface TaxIntegrationOrderItemCmdaBusinessName - Identifies the name of the business location.TaxIntegrationOrderItemCmd.setBusinessName(String)public void setBuyerName(java.lang.String aName)
TaxIntegrationOrderItemCmdsetBuyerName in interface TaxIntegrationOrderItemCmdaName - The name of the buyer.TaxIntegrationOrderItemCmd.setBuyerName(String)public void setCost(java.math.BigDecimal aItemCost)
TaxIntegrationOrderItemCmdsetCost in interface TaxIntegrationOrderItemCmdaItemCost - The total price for this line item.TaxIntegrationOrderItemCmd.setCost(BigDecimal)public void setCurrencyCode(java.lang.String aisoCurrency)
TaxIntegrationOrderItemCmdsetCurrencyCode in interface TaxIntegrationOrderItemCmdaisoCurrency - The 3-character string representing the currency
type being used for this order item.TaxIntegrationOrderItemCmd.setCurrencyCode(String)public void setDiscount(java.math.BigDecimal aItemDiscount)
TaxIntegrationOrderItemCmdsetDiscount in interface TaxIntegrationOrderItemCmdaItemDiscount - The total value of all discounts.TaxIntegrationOrderItemCmd.setDiscount(BigDecimal)public void setFreight(java.math.BigDecimal aItemFreight)
TaxIntegrationOrderItemCmdsetFreight in interface TaxIntegrationOrderItemCmdaItemFreight - The cost of shipping for this order item.TaxIntegrationOrderItemCmd.setFreight(BigDecimal)public void setInvoiceNumber(java.lang.String aInvoiceNo)
TaxIntegrationOrderItemCmdsetInvoiceNumber in interface TaxIntegrationOrderItemCmdaInvoiceNo - A unique string representing the Sales invoice.TaxIntegrationOrderItemCmd.setInvoiceNumber(String)public void setItemCnt(java.lang.Double aItemCnt)
TaxIntegrationOrderItemCmdsetItemCnt in interface TaxIntegrationOrderItemCmdaItemCnt - A count of the total number of units for this order item.TaxIntegrationOrderItemCmd.setItemCnt(Double)public void setSellerID(java.lang.String aSellerId)
TaxIntegrationOrderItemCmdsetSellerID in interface TaxIntegrationOrderItemCmdaSellerId - A store or business identifier.TaxIntegrationOrderItemCmd.setSellerID(String)public void setSellerRegistrationId(java.lang.String aSellerRegistrationId)
TaxIntegrationOrderItemCmdsetSellerRegistrationId in interface TaxIntegrationOrderItemCmdaSellerRegistrationId - A business registration identifier.TaxIntegrationOrderItemCmd.setSellerRegistrationId(String)public void setShipFromAddress(java.lang.String aAddress)
TaxIntegrationOrderItemCmdsetShipFromAddress in interface TaxIntegrationOrderItemCmdaAddress - The street address from which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipFromAddress(String)public void setShipFromCity(java.lang.String aCity)
TaxIntegrationOrderItemCmdsetShipFromCity in interface TaxIntegrationOrderItemCmdaCity - The city from which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipFromCity(String)public void setShipFromCountry(java.lang.String aCountry)
TaxIntegrationOrderItemCmdsetShipFromCountry in interface TaxIntegrationOrderItemCmdaCountry - The country from which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipFromCountry(String)public void setShipFromState(java.lang.String aState)
TaxIntegrationOrderItemCmdsetShipFromState in interface TaxIntegrationOrderItemCmdaState - The state from which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipFromState(String)public void setShipFromTaxGeoCode(java.lang.String aGeoCode)
TaxIntegrationOrderItemCmdsetShipFromTaxGeoCode in interface TaxIntegrationOrderItemCmdaGeoCode - The tax jurisdiction geoCode from which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipFromTaxGeoCode(String)public void setShipFromZip(java.lang.String aZipCode)
TaxIntegrationOrderItemCmdsetShipFromZip in interface TaxIntegrationOrderItemCmdaZipCode - The zip code or postal code from which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipFromZip(String)public void setShipToAddress(java.lang.String aAddress)
TaxIntegrationOrderItemCmdsetShipToAddress in interface TaxIntegrationOrderItemCmdaAddress - The street address to which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipToAddress(String)public void setShipToCity(java.lang.String aCity)
TaxIntegrationOrderItemCmdsetShipToCity in interface TaxIntegrationOrderItemCmdaCity - The city to which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipToCity(String)public void setShipToCountry(java.lang.String aCountry)
TaxIntegrationOrderItemCmdsetShipToCountry in interface TaxIntegrationOrderItemCmdaCountry - The country to which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipToCountry(String)public void setShipToState(java.lang.String aState)
TaxIntegrationOrderItemCmdsetShipToState in interface TaxIntegrationOrderItemCmdaState - The state to which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipToState(String)public void setShipToTaxGeoCode(java.lang.String aGeoCode)
TaxIntegrationOrderItemCmdsetShipToTaxGeoCode in interface TaxIntegrationOrderItemCmdaGeoCode - The tax jurisdiction geoCode to which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipToTaxGeoCode(String)public void setShipToZip(java.lang.String aZipCode)
TaxIntegrationOrderItemCmdsetShipToZip in interface TaxIntegrationOrderItemCmdaZipCode - The zip code or postal code to which the order item will be shipped.TaxIntegrationOrderItemCmd.setShipToZip(String)public void setStoreId(java.lang.Integer aStoreId)
TaxIntegrationOrderItemCmdsetStoreId in interface TaxIntegrationOrderItemCmdaStoreId - The reference number of a storeTaxIntegrationOrderItemCmd.setStoreId(Integer)public void setTaxCode(java.lang.String aTaxCode)
TaxIntegrationOrderItemCmdsetTaxCode in interface TaxIntegrationOrderItemCmdaTaxCode - The taxCode for this product.TaxIntegrationOrderItemCmd.setTaxCode(String)public void setTransactionType(char aType)
TaxIntegrationOrderItemCmdsetTransactionType in interface TaxIntegrationOrderItemCmdaType - representing the type of transaction - valid values are
TaxIntegrationOrderItemCmd.setTransactionType(char)public void setTimeShipped(java.sql.Timestamp aTime)
TaxIntegrationOrderItemCmdsetTimeShipped in interface TaxIntegrationOrderItemCmdaTime - The time and date the order item was shippedTaxIntegrationOrderItemCmd.setTimeShipped(Timestamp)public java.math.BigDecimal getTaxRate(java.lang.String aJurisdictiontype)
TaxIntegrationOrderItemCmdgetTaxRate in interface TaxIntegrationOrderItemCmdaJurisdictiontype - the type of jurisdiction level.
Accepted types can be "COUNTRY", "TERRITORY", "STATE", "COUNTY", "CITY" and "DISTRICT".
TaxIntegrationOrderItemCmd.getTaxRate(java.lang.String)public java.math.BigDecimal getTotalTaxRate()
TaxIntegrationOrderItemCmdgetTotalTaxRate in interface TaxIntegrationOrderItemCmdTaxIntegrationOrderItemCmd.getTotalTaxRate()public java.math.BigDecimal getSecondaryTaxRate(java.lang.String aJurisdictiontype)
TaxIntegrationOrderItemCmdgetSecondaryTaxRate in interface TaxIntegrationOrderItemCmdaJurisdictiontype - the type of jurisdiction level.
Accepted types can be "SECONDARYSTATE", "SECONDARYCITY", "SECONDARYCOUNTY"
TaxIntegrationOrderItemCmd.getSecondaryTaxRate(java.lang.String)public java.math.BigDecimal getRecyclingFee()
TaxIntegrationOrderItemCmdgetRecyclingFee in interface TaxIntegrationOrderItemCmdTaxIntegrationOrderItemCmd.getRecyclingFee()