Polar::Models::CustomerOrderSubscription
Inherits JSON::Serializable < Struct < Value < Object
Model representing a CustomerOrderSubscription
This struct is auto-generated from the Polar.sh OpenAPI specification.
It uses JSON::Serializable for automatic JSON parsing and serialization.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cancel_at_period_end
Whether the subscription will be canceled at the end of the current period.
canceled_at
The timestamp when the subscription was canceled. The subscription might still be active if cancel_at_period_end is true.
checkout_id
Sourcecustomer_cancellation_comment
Sourcecustomer_cancellation_reason
Sourcerecurring_interval_count
Number of interval units of the subscription. If this is set to 1 the charge will happen every interval (e.g. every month), if set to 2 it will be every other month, and so on.