Package DE_EPAGES::AvaTax::API::OrderExtractor
Database Wrapper for BasketOrOrder Object
Functions
- extractDataFrom
- getAvaTaxCompanyCode
- getAvataxGuidMap
- getAvataxTaxExemption
- getBasketOrOrder
- getContainerAttributes
- getCustomerAddress
- getCustomerCode
- getCustomerVATID
- getDiscountValue
- getErrorMessage
- getLineItemContainer
- getLines
- getOrderAlias
- getShop
- getShopAddress
- hasChanged
- isPaid
- new
- updateHash
extractDataFrom
Extract Data from Basket or Order and return if it was successful or not
Syntax |
extractDataFrom( $BasketOrOrder ); |
Input |
|
Return |
|
getAvaTaxCompanyCode
Return hash with some attributes of the TaxMethodAvatax needed for the Request
Syntax |
getAvaTaxCompanyCode(); |
Return |
|
getAvataxGuidMap
Getter for AvataxGuidMap
Syntax |
getAvataxGuidMap(); |
Return |
|
getAvataxTaxExemption
Returns the tax exemption of the customer of the order
Syntax |
getAvataxTaxExemption(); |
Return |
|
getBasketOrOrder
Return Basket or CustomerOrder Object
Syntax |
getBasketOrOrder(); |
Return |
|
getContainerAttributes
Return hash with some attributes of the container needed for the Request
Syntax |
getContainerAttributes(); |
Return |
|
getCustomerAddress
Return CustomerAddress Object
Syntax |
getCustomerAddress(); |
Return |
|
getCustomerCode
Return CustomerCode
Syntax |
getCustomerCode(); |
Return |
|
getCustomerVATID
Return Customer VATID
Syntax |
getCustomerVATID(); |
Return |
|
getDiscountValue
Return DiscountValue
Syntax |
getDiscountValue(); |
Return |
|
getErrorMessage
Return ErrorMessage if case of fail
Syntax |
getErrorMessage(); |
Return |
|
getLineItemContainer
Return LineItemContainer associated to the OrderExtractor
Syntax |
getLineItemContainer(); |
Return |
|
getLines
Return array with Avatax Line
Syntax |
getLines(); |
Return |
|
getOrderAlias
Returns the alias of the order
Syntax |
getOrderAlias(); |
Return |
|
getShop
Returns the shop object
Syntax |
getShop(); |
Return |
|
getShopAddress
Return ShopAddress Object
Syntax |
getShopAddress(); |
Return |
|
hasChanged
Calculates a hash over the underlying basket or order and compares it with attribute AvaTaxHash in the object.
Syntax |
hasChanged(); |
Return |
|
isPaid
Returns paid status
Syntax |
isPaid(); |
Return |
|
new
constuctor
Syntax |
new( ); |
Return |
|
updateHash
Calculates a hash over the underlying basket or order stores it in the attribute AvaTaxHash.
Syntax |
updateHash(); |