struct

Polar::Models::ProductPriceMeteredUnit

Inherits JSON::Serializable < Struct < Value < Object

Model representing a ProductPriceMeteredUnit

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

amount_type
Source
cap_amount

The maximum amount in cents that can be charged, regardless of the number of units consumed.

Source
created_at

Creation timestamp of the object.

Source
id

The ID of the price.

Source
is_archived

Whether the price is archived and no longer available.

Source
meter

The meter associated to the price.

Source
meter_id

The ID of the meter associated to the price.

Source
modified_at

Last modification timestamp of the object.

Source
price_currency

The currency.

Source
product_id

The ID of the product owning the price.

Source
recurring_interval
Source
type
Source
unit_amount

The price per unit in cents.

Source