struct

Polar::Models::CheckoutLink

Inherits JSON::Serializable < Struct < Value < Object

Model representing a CheckoutLink

This struct is auto-generated from the Polar.sh OpenAPI specification. It uses JSON::Serializable for automatic JSON parsing and serialization.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

allow_discount_codes

Whether to allow the customer to apply discount codes. If you apply a discount through discount_id, it'll still be applied, but the customer won't be able to change it.

Source
client_secret

Client secret used to access the checkout link.

Source
created_at

Creation timestamp of the object.

Source
discount
Source
discount_id

ID of the discount to apply to the checkout. If the discount is not applicable anymore when opening the checkout link, it'll be ignored.

Source
id

The ID of the object.

Source
label

Optional label to distinguish links internally

Source
metadata
Source
modified_at

Last modification timestamp of the object.

Source
organization_id

The organization ID.

Source
payment_processor

Payment processor used.

Source
products
Source
require_billing_address

Whether to require the customer to fill their full billing address, instead of just the country. Customers in the US will always be required to fill their full address, regardless of this setting.

Source
success_url

URL where the customer will be redirected after a successful payment.

Source
trial_interval

The interval unit for the trial period.

Source
trial_interval_count

The number of interval units for the trial period.

Source