alias Stripe::InvoiceitemPlan
Overview
If the invoice item is a proration, the plan of the subscription that the proration was computed for.
Alias Definition
Stripe::Plan
Defined in:
stripe/models/invoiceitem_plan.crConstant 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_BILLING_SCHEME =
"invalid value for \"billing_scheme\", must be one of [per_unit, tiered]."
-
ERROR_MESSAGE_FOR_INTERVAL =
"invalid value for \"interval\", must be one of [day, month, week, year]."
-
ERROR_MESSAGE_FOR_OBJECT =
"invalid value for \"object\", must be one of [plan]."
-
ERROR_MESSAGE_FOR_TIERS_MODE =
"invalid value for \"tiers_mode\", must be one of [graduated, volume]."
-
ERROR_MESSAGE_FOR_USAGE_TYPE =
"invalid value for \"usage_type\", must be one of [licensed, metered]."
-
MAX_LENGTH_FOR_ID =
5000
-
MAX_LENGTH_FOR_METER =
5000
-
MAX_LENGTH_FOR_NICKNAME =
5000
-
VALID_VALUES_FOR_AGGREGATE_USAGE =
String.static_array("last_during_period", "last_ever", "max", "sum")
-
VALID_VALUES_FOR_BILLING_SCHEME =
String.static_array("per_unit", "tiered")
-
VALID_VALUES_FOR_INTERVAL =
String.static_array("day", "month", "week", "year")
-
VALID_VALUES_FOR_OBJECT =
String.static_array("plan")
-
VALID_VALUES_FOR_TIERS_MODE =
String.static_array("graduated", "volume")
-
VALID_VALUES_FOR_USAGE_TYPE =
String.static_array("licensed", "metered")