Class: AuthRequest

remotepay.AuthRequest

new AuthRequest()

Source:

Extends

Methods

(static) AuthRequest#getAllowOfflinePayment() → {Boolean|Null}

Get the field value If true then offline payments can be accepted
Source:
Returns:
Type
Boolean | Null

(static) AuthRequest#getApproveOfflinePaymentWithoutPrompt() → {Boolean|Null}

Get the field value If true then offline payments will be approved without a prompt. Currently must be true.
Source:
Returns:
Type
Boolean | Null

(static) AuthRequest#getDisableCashback() → {Boolean|Null}

Get the field value Do not allow cash back
Source:
Returns:
Type
Boolean | Null

(static) AuthRequest#getTaxAmount() → {Number|Null}

Get the field value Amount paid in tips
Source:
Returns:
must be a long integer,
Type
Number | Null

(static) AuthRequest#getTippableAmount() → {Number|Null}

Get the field value Total amount used when calculating tips
Source:
Returns:
must be a long integer,
Type
Number | Null

(static) AuthRequest#setAllowOfflinePayment(allowOfflinePayment)

Set the field value If true then offline payments can be accepted
Parameters:
Name Type Description
allowOfflinePayment Boolean | Null
Source:

(static) AuthRequest#setApproveOfflinePaymentWithoutPrompt(approveOfflinePaymentWithoutPrompt)

Set the field value If true then offline payments will be approved without a prompt. Currently must be true.
Parameters:
Name Type Description
approveOfflinePaymentWithoutPrompt Boolean | Null
Source:

(static) AuthRequest#setDisableCashback(disableCashback)

Set the field value Do not allow cash back
Parameters:
Name Type Description
disableCashback Boolean | Null
Source:

(static) AuthRequest#setTaxAmount(taxAmount)

Set the field value Amount paid in tips
Parameters:
Name Type Description
taxAmount Number | Null must be a long integer,
Source:

(static) AuthRequest#setTippableAmount(tippableAmount)

Set the field value Total amount used when calculating tips
Parameters:
Name Type Description
tippableAmount Number | Null must be a long integer,
Source: