Class: Authorization

payments.Authorization()

new Authorization()

Source:

Methods

(static) Authorization#getAmount() → {Number}

Get the field value Amount authorized
Source:
Returns:
must be a long integer
Type
Number

(static) Authorization#getAuthcode() → {String}

Get the field value Authorization code
Source:
Returns:
Type
String

(static) Authorization#getCardType() → {payments.CardType}

Get the field value Type of credit card used for authorization
Source:
Returns:
Type
payments.CardType

(static) Authorization#getClosingPayment() → {payments.Payment}

Get the field value Payment that the auth was closed with
Source:
Returns:
Type
payments.Payment

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

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

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

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

(static) Authorization#getLast4() → {String}

Get the field value Last 4 digits of credit card used for authorization
Source:
Returns:
Type
String

(static) Authorization#getNote() → {String|Null}

Get the field value
Source:
Returns:
Type
String | Null

(static) Authorization#getPayment() → {payments.Payment}

Get the field value Payment that the auth was opened with
Source:
Returns:
Type
payments.Payment

(static) Authorization#getTabName() → {String|Null}

Get the field value Name of tab
Source:
Returns:
Type
String | Null

(static) Authorization#getToken() → {String}

Get the field value Token used for the authorization
Source:
Returns:
Type
String

(static) Authorization#getType() → {payments.Type}

Get the field value
Source:
Returns:
Type
payments.Type

(static) Authorization#setAmount(amount)

Set the field value Amount authorized
Parameters:
Name Type Description
amount Number must be a long integer
Source:

(static) Authorization#setAuthcode(authcode)

Set the field value Authorization code
Parameters:
Name Type Description
authcode String
Source:

(static) Authorization#setCardType(cardType)

Set the field value Type of credit card used for authorization
Parameters:
Name Type Description
cardType payments.CardType
Source:

(static) Authorization#setClosingPayment(closingPayment)

Set the field value Payment that the auth was closed with
Parameters:
Name Type Description
closingPayment payments.Payment
Source:

(static) Authorization#setCreatedTime(createdTime)

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

(static) Authorization#setId(id)

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

(static) Authorization#setLast4(last4)

Set the field value Last 4 digits of credit card used for authorization
Parameters:
Name Type Description
last4 String
Source:

(static) Authorization#setNote(note)

Set the field value
Parameters:
Name Type Description
note String | Null
Source:

(static) Authorization#setPayment(payment)

Set the field value Payment that the auth was opened with
Parameters:
Name Type Description
payment payments.Payment
Source:

(static) Authorization#setTabName(tabName)

Set the field value Name of tab
Parameters:
Name Type Description
tabName String | Null
Source:

(static) Authorization#setToken(token)

Set the field value Token used for the authorization
Parameters:
Name Type Description
token String
Source:

(static) Authorization#setType(type)

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