PaymentPageOptions

data class PaymentPageOptions(    val logoUrl: String? = null,     val backgroundImageUrl: String? = null,     val pageTitle: String? = null,     val purchaseType: KlarnaSourceParams.PaymentPageOptions.PurchaseType? = null) : StripeParamsModel, Parcelable

See Styling the Klarna Hosted Payment Page

You can customize the style of the Klarna hosted payment page by providing additional options when creating the source. Refer to the Klarna SDK documentation for more information.

Constructors

Link copied to clipboard
fun PaymentPageOptions(    logoUrl: String? = null,     backgroundImageUrl: String? = null,     pageTitle: String? = null,     purchaseType: KlarnaSourceParams.PaymentPageOptions.PurchaseType? = null)

Types

Link copied to clipboard

The buy button type

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toParamMap(): Map<String, Any>
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val backgroundImageUrl: String? = null

A public URL for a background image, must be served over HTTPS.

Link copied to clipboard
val logoUrl: String? = null

A public URL for your businesses logo, must be served over HTTPS.

Link copied to clipboard
val pageTitle: String? = null

Title displayed on the top of the Klarna Hosted Payment Page.

Link copied to clipboard

The buy button type.