struct

Polar::Models::OrderItemSchema

Inherits JSON::Serializable < Struct < Value < Object

Model representing a OrderItemSchema

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

Amount in cents, before discounts and taxes.

Source
created_at

Creation timestamp of the object.

Source
id

The ID of the object.

Source
label

Description of the line item charge.

Source
modified_at

Last modification timestamp of the object.

Source
product_price_id

Associated price ID, if any.

Source
proration

Whether this charge is due to a proration.

Source
tax_amount

Sales tax amount in cents.

Source