ePages 7.25.0 - DE_EPAGES/AvaTax/API/ResponseParser.pm

Package DE_EPAGES::AvaTax::API::ResponseParser

Parses webservice response for messages

Functions

getStatusAdjustTax
getStatusCancelTax
getStatusGetTax
getStatusMessage
new

getStatusAdjustTax

returns the error status, if there was an error otherwise returns adjusttax_success

Syntax
getStatusAdjustTax( );
Return
(integer)
Status

getStatusCancelTax

returns the error status, if there was an error otherwise returns canceltax_success

Syntax
getStatusCancelTax( );
Return
(integer)
Status

getStatusGetTax

returns the error status, if there was an error otherwise returns gettax_success

Syntax
getStatusGetTax( );
Return
(integer)
Status

getStatusMessage

returns the message of the response dto, if there was an error

Syntax
getStatusMessage( );
Return
(string)
StatusMessage

new

constructor

Syntax
new($Response);
Input
$Response
DE_EPAGES::AvaTax::API::DTO::Result
Return
$self (DE_EPAGES::AvaTax::API::ResponseParser)
self