Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPaymentOptions

Special additional payment properties Certain payment methods require additional information

The stationId parameter is mandatory for at least PIN and CASH

The Adyen settings will be set from getApplicationConfiguration but you can override them here which is not very likely.

Giftcard and usercard make up the rest of the properties

export
interface

AdditionalPaymentData

Hierarchy

  • IPaymentOptions

Index

Properties

Optional adyenChannel

adyenChannel: 1 | 2 | 3

Optional adyenMerchantAccount

adyenMerchantAccount: undefined | string

Optional adyenToken

adyenToken: undefined | string

Optional amountGiven

amountGiven: undefined | number

The amount the user has given, only relevant in the case of cash payments

Optional baseUrl

baseUrl: undefined | string

Optional cardNumber

cardNumber: undefined | string

Optional currencyID

currencyID: undefined | string

Optional customFields

customFields: undefined | {}

Optional customer

customer: undefined | { email: string; firstname: string; gender?: undefined | string; lastname: string }

Customer details are used for BUCKAROO

Optional elevationToken

elevationToken: undefined | string

Optional gatewayId

gatewayId: undefined | string

Optional partialShipment

partialShipment: undefined | false | true

Optional password

password: undefined | string

Optional paymentTypeId

paymentTypeId: undefined | number

When using the MethodModel this will indicate which type is used

Optional pinCode

pinCode: undefined | string

Optional refund

refund: undefined | { currencyID?: undefined | string; isRefund: boolean; paymentTransactionId?: undefined | number }

Optional returnUrl

returnUrl: undefined | string

Optional selectedGiftCardHandler

selectedGiftCardHandler: IAvailableGiftCardHandler

This will be available on the selected gift card handler, which is available in GetApplicationConfiguration - AvailableGiftCardHandlers

see

https://n6k.atlassian.net/browse/OPTR-14043

Optional sendEmail

sendEmail: undefined | false | true

Optional stationId

stationId: undefined | number

Optional timeout

timeout: undefined | number

Optional userID

userID: undefined | number