alias Stripe::PriceRecurring

Overview

The recurring components of a price such as interval and usage_type.

Alias Definition

Stripe::Recurring

Defined in:

stripe/models/price_recurring.cr

Constant Summary

ERROR_MESSAGE_FOR_AGGREGATE_USAGE = "invalid value for \"aggregate_usage\", must be one of [last_during_period, last_ever, max, sum]."
ERROR_MESSAGE_FOR_INTERVAL = "invalid value for \"interval\", must be one of [day, month, week, year]."
ERROR_MESSAGE_FOR_USAGE_TYPE = "invalid value for \"usage_type\", must be one of [licensed, metered]."
MAX_LENGTH_FOR_METER = 5000
VALID_VALUES_FOR_AGGREGATE_USAGE = String.static_array("last_during_period", "last_ever", "max", "sum")
VALID_VALUES_FOR_INTERVAL = String.static_array("day", "month", "week", "year")
VALID_VALUES_FOR_USAGE_TYPE = String.static_array("licensed", "metered")