struct

Polar::Models::CustomerSubscriptionProduct

Inherits JSON::Serializable < Struct < Value < Object

Model representing a CustomerSubscriptionProduct

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

benefits

List of benefits granted by the product.

Source
created_at

Creation timestamp of the object.

Source
description

The description of the product.

Source
id

The ID of the object.

Source
is_archived

Whether the product is archived and no longer available.

Source
is_recurring

Whether the product is a subscription.

Source
medias

List of medias associated to the product.

Source
modified_at

Last modification timestamp of the object.

Source
name

The name of the product.

Source
organization
Source
organization_id

The ID of the organization owning the product.

Source
prices

List of prices for this product.

Source
recurring_interval

The recurring interval of the product. If None, the product is a one-time purchase.

Source
recurring_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. None for one-time products.

Source
trial_interval

The interval unit for the trial period.

Source
trial_interval_count

The number of interval units for the trial period.

Source