Skip to content

Checkout_ProductOptions

mauryaratan edited this page Feb 5, 2023 · 1 revision

Checkout.ProductOptions

public struct ProductOptions: Codable 

Inheritance

Codable

Properties

name

A custom name for the product

public let name: String?

description

A custom description for the product

public let description: String?

media

An array of image URLs to use as the product's media

public let media: [String]?

redirectUrl

A custom URL to redirect to after a successful purchase

public let redirectUrl: String?

receiptButtonText

A custom text to use for the order receipt email button

public let receiptButtonText: String?

receiptLinkUrl

A custom URL to use for the order receipt email button

public let receiptLinkUrl: String?

receiptThankYouNote

A custom thank you note to use for the order receipt email

public let receiptThankYouNote: String?

enabledVariants

An array of variant IDs to enable for this checkout. If this is empty, all variants will be enabled.

public let enabledVariants: [Int]?
Types
Global Functions
Clone this wiki locally