Class: GiftCardTransaction

payments.GiftCardTransaction()

new GiftCardTransaction()

Source:

Methods

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

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

(static) GiftCardTransaction#getCard() → {payments.GiftCard}

Get the field value Gift Card
Source:
Returns:
Type
payments.GiftCard

(static) GiftCardTransaction#getEmployeeId() → {String}

Get the field value
Source:
Returns:
Type
String

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

Get the field value UUID
Source:
Returns:
Type
String

(static) GiftCardTransaction#getIgnorePayment() → {Boolean}

Get the field value
Source:
Returns:
Type
Boolean

(static) GiftCardTransaction#getLineItems() → {Array.<payments.LineItemPayment>}

Get the field value Payments that were made for this line item
Source:
Returns:
An array of
Type
Array.<payments.LineItemPayment>

(static) GiftCardTransaction#getOrderId() → {String}

Get the field value
Source:
Returns:
Type
String

(static) GiftCardTransaction#getPaymentIds() → {Array.<String>}

Get the field value
Source:
Returns:
An array of
Type
Array.<String>

(static) GiftCardTransaction#getServiceChargeAmount() → {payments.ServiceChargeAmount}

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

(static) GiftCardTransaction#getSuppressPayment() → {Boolean}

Get the field value
Source:
Returns:
Type
Boolean

(static) GiftCardTransaction#getTaxableAmountRates() → {Array.<payments.TaxableAmountRate>}

Get the field value
Source:
Returns:
An array of
Type
Array.<payments.TaxableAmountRate>

(static) GiftCardTransaction#getTaxAmount() → {Number}

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

(static) GiftCardTransaction#getTipAmount() → {Number}

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

(static) GiftCardTransaction#setAmount(amount)

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

(static) GiftCardTransaction#setCard(card)

Set the field value Gift Card
Parameters:
Name Type Description
card payments.GiftCard
Source:

(static) GiftCardTransaction#setEmployeeId(employeeId)

Set the field value
Parameters:
Name Type Description
employeeId String
Source:

(static) GiftCardTransaction#setId(id)

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

(static) GiftCardTransaction#setIgnorePayment(ignorePayment)

Set the field value
Parameters:
Name Type Description
ignorePayment Boolean
Source:

(static) GiftCardTransaction#setLineItems(lineItems)

Set the field value Payments that were made for this line item
Parameters:
Name Type Description
lineItems Array.<payments.LineItemPayment> An array of
Source:

(static) GiftCardTransaction#setOrderId(orderId)

Set the field value
Parameters:
Name Type Description
orderId String
Source:

(static) GiftCardTransaction#setPaymentIds(paymentIds)

Set the field value
Parameters:
Name Type Description
paymentIds Array.<String> An array of
Source:

(static) GiftCardTransaction#setServiceChargeAmount(serviceChargeAmount)

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

(static) GiftCardTransaction#setSuppressPayment(suppressPayment)

Set the field value
Parameters:
Name Type Description
suppressPayment Boolean
Source:

(static) GiftCardTransaction#setTaxableAmountRates(taxableAmountRates)

Set the field value
Parameters:
Name Type Description
taxableAmountRates Array.<payments.TaxableAmountRate> An array of
Source:

(static) GiftCardTransaction#setTaxAmount(taxAmount)

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

(static) GiftCardTransaction#setTipAmount(tipAmount)

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