PaymentSessionsRequest

public final class PaymentSessionsRequest

Parameters

version

The version of the EgPayments.js library.

browserAcceptHeader

The customer's browser accept header that was used in the booking request.

encodedBrowserMetadata

Encoded browser metadata, provided by the EgPayments.js library.

preferredChallengeWindowSize

The preferred window size that needs to be displayed to the customer. Following are the possible values of this field: * extra_small: 250 x 400 * small: 390 x 400 * medium: 600 x 400 * large: 500 x 600 * full_screen: Full screen

merchantUrl

Fully qualified URL of merchant website or customer care site.

customerAccountDetails
payments

Constructors

Link copied to clipboard
public PaymentSessionsRequest PaymentSessionsRequest(String version, String browserAcceptHeader, String encodedBrowserMetadata, PaymentSessionsRequest.PreferredChallengeWindowSize preferredChallengeWindowSize, String merchantUrl, PaymentSessionsRequestCustomerAccountDetails customerAccountDetails, List<PaymentRequest> payments)

Types

Link copied to clipboard
public final class Builder
Link copied to clipboard

The preferred window size that needs to be displayed to the customer. Following are the possible values of this field: * extra_small: 250 x 400 * small: 390 x 400 * medium: 600 x 400 * large: 500 x 600 * full_screen: Full screen Values: EXTRA_SMALL,SMALL,MEDIUM,LARGE,FULL_SCREEN

Properties

Link copied to clipboard
@Valid()
private final String browserAcceptHeader
Link copied to clipboard
@Valid()
private final String encodedBrowserMetadata
Link copied to clipboard
@Valid()
private final String merchantUrl
Link copied to clipboard
@Valid()
private final List<PaymentRequest> payments
Link copied to clipboard
@Valid()
private final String version

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final String getMerchantUrl()
Link copied to clipboard
Link copied to clipboard
public final String getVersion()