VirtueMart  3.2.14.9808
Public Member Functions | Private Attributes | List of all members
PostTaxRequest Class Reference
Inheritance diagram for PostTaxRequest:
Inheritance graph
[legend]
Collaboration diagram for PostTaxRequest:
Collaboration graph
[legend]

Public Member Functions

 __construct ()
 
 getDocDate ()
 
 getTotalAmount ()
 
 getTotalTax ()
 
 getCommit ()
 
 getNewDocCode ()
 
 setDocDate ($value)
 
 setTotalAmount ($value)
 
 setTotalTax ($value)
 
 setCommit ($value)
 
 setNewDocCode ($value)
 
- Public Member Functions inherited from TaxRequest
 setCompanyCode ($value)
 
 setDocType ($value)
 
 setDocCode ($value)
 
 setDocId ($value)
 
 setHashCode ($value)
 
 getCompanyCode ()
 
 getHashCode ()
 
 getDocType ()
 
 getDocCode ()
 
 getDocId ()
 
 __construct ()
 

Private Attributes

 $DocDate
 
 $TotalAmount
 
 $TotalTax
 
 $Commit =false
 
 $NewDocCode
 

Additional Inherited Members

- Protected Attributes inherited from TaxRequest
 $CompanyCode
 
 $DocType
 
 $DocCode
 
 $DocId
 
 $HashCode
 

Constructor & Destructor Documentation

PostTaxRequest::__construct ( )

Member Function Documentation

PostTaxRequest::getCommit ( )
PostTaxRequest::getDocDate ( )
PostTaxRequest::getNewDocCode ( )
PostTaxRequest::getTotalAmount ( )
PostTaxRequest::getTotalTax ( )
PostTaxRequest::setCommit (   $value)

If this is set to True, AvaTax will Post and Commit the document in one call. A very useful feature if you want to Post/Commit the document in one call this avoides one round trip to AvaTax server.

Parameters
string$value
PostTaxRequest::setDocDate (   $value)

DocDate should be in the format yyyy-mm-dd

Parameters
date$value
PostTaxRequest::setNewDocCode (   $value)

New Document Code for the document. As on this version of SDK DocCode can be changed during post using NewDocCode.

Parameters
string$value
PostTaxRequest::setTotalAmount (   $value)

The total amount (not including tax) for the document.

Parameters
decimal$value
PostTaxRequest::setTotalTax (   $value)

The total tax for the document.

Parameters
decimal$value

Member Data Documentation

PostTaxRequest::$Commit =false
private
PostTaxRequest::$DocDate
private
PostTaxRequest::$NewDocCode
private
PostTaxRequest::$TotalAmount
private
PostTaxRequest::$TotalTax
private

The documentation for this class was generated from the following file: