CreatePaymentSessionRequest

Request containing the details of the PaymentSession

interface CreatePaymentSessionRequest

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

generateQR
Link copied to clipboard

Flag indicating whether a QR code should be created and returned in the response.

open val generateQR: Boolean
location
Link copied to clipboard

The location of the payment session (used to group payment sessions).

abstract val location: String
merchantInfo
Link copied to clipboard

Payload used to pass merchant information to the customer.

abstract val merchantInfo: DynamicPayload
timeToLivePaymentSession
Link copied to clipboard

The time in seconds that the payment request should remain valid

Default value is 0 which indicates that the code will not expire until it is deleted

open val timeToLivePaymentSession: Int
timeToLiveQR
Link copied to clipboard

The time in seconds that the QR code should remain valid.

Default value is 0 which indicates that the code will not expire until it is deleted

open val timeToLiveQR: Int