new Transaction(user, amount, curType, transactionType, destinationId, payment, billingAddress, shippingAddress, authorizationResponse, additionalData)
Transaction checkpoint to be used on transaction attempt
Parameters:
| Name | Type | Description |
|---|---|---|
user |
Paygilant.User | |
amount |
number | |
curType |
Paygilant.CurrencyCode | type of currency |
transactionType |
Paygilant.TransactionType | |
destinationId |
string | end user that transaction is going to |
payment |
Paygilant.Payment | |
billingAddress |
Paygilant.Address | |
shippingAddress |
Paygilant.Address | |
authorizationResponse |
Paygilant.AuthorizationResponse | |
additionalData |
Any |
- Source: