Class: TokenRequest

payments.TokenRequest()

new TokenRequest()

Source:

Methods

(static) TokenRequest#getCardTransaction() → {payments.CardTransaction}

Get the field value Information about the card used for the token request
Source:
Returns:
Type
payments.CardTransaction

(static) TokenRequest#getCreatedTime() → {Number}

Get the field value Time that the token request was recorded on the server
Source:
Returns:
must be a long integer
Type
Number

(static) TokenRequest#getCustomer() → {customers.Customer}

Get the field value The customer associated with this token request
Source:
Returns:
Type
customers.Customer

(static) TokenRequest#getDeletedTime() → {Number}

Get the field value Time that the token request was deleted
Source:
Returns:
must be a long integer
Type
Number

(static) TokenRequest#getDevice() → {base.Reference}

Get the field value The device that processed the token request
Source:
Returns:
Type
base.Reference

(static) TokenRequest#getEmployee() → {base.Reference}

Get the field value The employee who processed the token request
Source:
Returns:
Type
base.Reference

(static) TokenRequest#getExternalReferenceId() → {String}

Get the field value Merchant-specified reference number
Source:
Returns:
Type
String

(static) TokenRequest#getGatewayTxId() → {Number}

Get the field value GatewayTx id
Source:
Returns:
must be a long integer
Type
Number

(static) TokenRequest#getId() → {String}

Get the field value Unique identifier
Source:
Returns:
Type
String

(static) TokenRequest#getMerchant() → {base.Reference}

Get the field value The merchant associate with this token request
Source:
Returns:
Type
base.Reference

(static) TokenRequest#getModifiedTime() → {Number}

Get the field value Time that the token request was initiated on the device
Source:
Returns:
must be a long integer
Type
Number

(static) TokenRequest#getNote() → {String}

Get the field value Note input by the merchant
Source:
Returns:
Type
String

(static) TokenRequest#getResult() → {payments.Result}

Get the field value Result of this token request
Source:
Returns:
Type
payments.Result

(static) TokenRequest#getTender() → {base.Tender}

Get the field value The tender associated with this token request
Source:
Returns:
Type
base.Tender

(static) TokenRequest#getTransactionInfo() → {payments.TransactionInfo}

Get the field value Information over transaction information
Source:
Returns:
Type
payments.TransactionInfo

(static) TokenRequest#getType() → {payments.TokenRequestType}

Get the field value Type of request
Source:
Returns:
Type
payments.TokenRequestType

(static) TokenRequest#setCardTransaction(cardTransaction)

Set the field value Information about the card used for the token request
Parameters:
Name Type Description
cardTransaction payments.CardTransaction
Source:

(static) TokenRequest#setCreatedTime(createdTime)

Set the field value Time that the token request was recorded on the server
Parameters:
Name Type Description
createdTime Number must be a long integer
Source:

(static) TokenRequest#setCustomer(customer)

Set the field value The customer associated with this token request
Parameters:
Name Type Description
customer customers.Customer
Source:

(static) TokenRequest#setDeletedTime(deletedTime)

Set the field value Time that the token request was deleted
Parameters:
Name Type Description
deletedTime Number must be a long integer
Source:

(static) TokenRequest#setDevice(device)

Set the field value The device that processed the token request
Parameters:
Name Type Description
device base.Reference
Source:

(static) TokenRequest#setEmployee(employee)

Set the field value The employee who processed the token request
Parameters:
Name Type Description
employee base.Reference
Source:

(static) TokenRequest#setExternalReferenceId(externalReferenceId)

Set the field value Merchant-specified reference number
Parameters:
Name Type Description
externalReferenceId String
Source:

(static) TokenRequest#setGatewayTxId(gatewayTxId)

Set the field value GatewayTx id
Parameters:
Name Type Description
gatewayTxId Number must be a long integer
Source:

(static) TokenRequest#setId(id)

Set the field value Unique identifier
Parameters:
Name Type Description
id String
Source:

(static) TokenRequest#setMerchant(merchant)

Set the field value The merchant associate with this token request
Parameters:
Name Type Description
merchant base.Reference
Source:

(static) TokenRequest#setModifiedTime(modifiedTime)

Set the field value Time that the token request was initiated on the device
Parameters:
Name Type Description
modifiedTime Number must be a long integer
Source:

(static) TokenRequest#setNote(note)

Set the field value Note input by the merchant
Parameters:
Name Type Description
note String
Source:

(static) TokenRequest#setResult(result)

Set the field value Result of this token request
Parameters:
Name Type Description
result payments.Result
Source:

(static) TokenRequest#setTender(tender)

Set the field value The tender associated with this token request
Parameters:
Name Type Description
tender base.Tender
Source:

(static) TokenRequest#setTransactionInfo(transactionInfo)

Set the field value Information over transaction information
Parameters:
Name Type Description
transactionInfo payments.TransactionInfo
Source:

(static) TokenRequest#setType(type)

Set the field value Type of request
Parameters:
Name Type Description
type payments.TokenRequestType
Source: