WalletCheckoutSessionResponse

data class WalletCheckoutSessionResponse(val sessionId: String, val secureCode: String, val createdAt: Calendar?, val expiresAt: Calendar, val paymentBoundAt: Calendar?, val status: WalletCheckoutSessionStatus?, val brand: String?, val redirectUrl: String?, val walletCheckoutPageUrl: String?, val merchantRefNum: String?, val amount: Long?, val currencyCode: String?, val returnUrl: String, val recipient: WalletCheckoutRecipient?, val sender: WalletCheckoutSender, val payment: WalletCheckoutSessionPayment?, val lineItems: List<WalletCheckoutLineItem>)

Data class representing the current state and details of a wallet checkout session from the customer's perspective.

Constructors

Link copied to clipboard
constructor(sessionId: String, secureCode: String, createdAt: Calendar?, expiresAt: Calendar, paymentBoundAt: Calendar?, status: WalletCheckoutSessionStatus?, brand: String?, redirectUrl: String?, walletCheckoutPageUrl: String?, merchantRefNum: String?, amount: Long?, currencyCode: String?, returnUrl: String, recipient: WalletCheckoutRecipient?, sender: WalletCheckoutSender, payment: WalletCheckoutSessionPayment?, lineItems: List<WalletCheckoutLineItem>)

Properties

Link copied to clipboard
val amount: Long?

The amount to be transferred to the recipient in minor units.

Link copied to clipboard

The brand of the recipient.

Link copied to clipboard

Date the session was created in the form of Calendar.

Link copied to clipboard

Currency alphabetic code as specified by ISO 4217.

Link copied to clipboard

Date the session expires in the form of Calendar.

Link copied to clipboard

List of items being purchased.

Link copied to clipboard

The merchant reference number of the checkout session.

Link copied to clipboard

Payment information.

Link copied to clipboard

Date the session was bound to the transaction in the form of Calendar.

Link copied to clipboard

The recipient of the transfer.

Link copied to clipboard

The URL where the wallet checkout flow starts.

Link copied to clipboard

URL where the customer will be redirected after completing the checkout in Paysafe hosted UI. Must be on a Paysafe-whitelisted partner domain.

Link copied to clipboard

The secure code for the session.

Link copied to clipboard

The sender of the transfer.

Link copied to clipboard

The unique identifier of the checkout session.

Link copied to clipboard

The status of the session.

Link copied to clipboard

The URL where the user is being redirected to after login.