Skip to content

Checkout_CheckoutOptions

mauryaratan edited this page Feb 5, 2023 · 1 revision

Checkout.CheckoutOptions

public struct CheckoutOptions: Codable 

Inheritance

Codable

Properties

embed

If true, show the checkout overlay

public let embed: Bool

media

If false, hide the product media

public let media: Bool

logo

If false, hide the store logo

public let logo: Bool

desc

If false, hide the product description

public let desc: Bool

discount

If false, hide the discount code field

public let discount: Bool

dark

If true, use the dark theme

public let dark: Bool

subscriptionPreview

If false, hide the "You will be charged..." subscription preview text

public let subscriptionPreview: Bool

buttonColor

A custom hex color to use for the checkout button

public let buttonColor: String
Types
Global Functions
Clone this wiki locally