alias Stripe::ItemPrice

Overview

The price used to generate the line item.

Alias Definition

Stripe::Price

Defined in:

stripe/models/item_price.cr

Constant Summary

ERROR_MESSAGE_FOR__TYPE = "invalid value for \"_type\", must be one of [one_time, recurring]."
ERROR_MESSAGE_FOR_BILLING_SCHEME = "invalid value for \"billing_scheme\", must be one of [per_unit, tiered]."
ERROR_MESSAGE_FOR_OBJECT = "invalid value for \"object\", must be one of [price]."
ERROR_MESSAGE_FOR_TAX_BEHAVIOR = "invalid value for \"tax_behavior\", must be one of [exclusive, inclusive, unspecified]."
ERROR_MESSAGE_FOR_TIERS_MODE = "invalid value for \"tiers_mode\", must be one of [graduated, volume]."
MAX_LENGTH_FOR_ID = 5000
MAX_LENGTH_FOR_LOOKUP_KEY = 5000
MAX_LENGTH_FOR_NICKNAME = 5000
VALID_VALUES_FOR__TYPE = String.static_array("one_time", "recurring")
VALID_VALUES_FOR_BILLING_SCHEME = String.static_array("per_unit", "tiered")
VALID_VALUES_FOR_OBJECT = String.static_array("price")
VALID_VALUES_FOR_TAX_BEHAVIOR = String.static_array("exclusive", "inclusive", "unspecified")
VALID_VALUES_FOR_TIERS_MODE = String.static_array("graduated", "volume")