Authenticates with remote api if the apiToken is expired or non-existent
is sort of a getter for the details of this payment request
makes a POST request to the resourceUrl ednpoint to create a transaction request
makes repetitive GET requests to the '${resourceUrl}/{this.referenceId}' until timeout or until status is not PENDING
Returns the number of seconds between now and the given startingTime
Checks whether the apiToken has expired or not; or whether it is exists or not
It updates the details of this payment request
It updates the status of this payment request
Generated using TypeDoc
BaseTransaction(config: ITransactionConfig) Class for requesting for payments from customers
initialize()
pollStatus()
getDetails()
{ string } referenceId
{ IStatus } status
{ number } timeout Number of microseconds before pollStatus times out; defaults to 35000 (35 seconds)