Overview
Members-Overview
|
:Map.<Number, String> |
|
:timapi.Amount |
|
:timapi.AmountDiscount |
|
:timapi.Amount |
|
:timapi.Amount |
|
:timapi.Basket |
|
:Map.<timapi.constants.CustomerDataType, String> |
|
:Array.<timapi.LoyaltyCoupon> |
|
:Array.<timapi.MerchantOption> |
|
:Boolean |
|
:timapi.TransactionData |
|
:Number |
Methods-Overview
- toString() → {String}
- copy(transactionRequest) → {timapi.TransactionRequest}
Constructor
new TransactionRequest()
Create empty TransactionRequest
Member-List
amountDiscount :timapi.AmountDiscount
Discount amount.
This parameter is only used if timapi.constants.Guides.valueAddedServices is enabled.
amountOther :timapi.Amount
Cashback amount and currency.
This parameter is only used if timapi.constants.Guides.advancedRetail is enabled.
amountTip :timapi.Amount
Proposed tip amount.
This parameter is only used if timapi.constants.Guides.gastro is enabled.
loyaltyCouponList :Array.<timapi.LoyaltyCoupon>
Loyalty coupon list. Only used if timapi.constants.Guides.valueAddedServices is enabled.
Methods
toString() → {String}
String representation for debugging purpose.
Returns:
String representation
Type: String
(static) copy(transactionRequest) → {timapi.TransactionRequest}
Creates a copy of a timapi.TransactionRequest object.
Parameters:
Name | Type | Description |
---|---|---|
transactionRequest |
timapi.TransactionRequest | Original |
Returns:
Copy of original