qcs_api_client.models.billing_price
#
Module Contents#
Classes#
The price schedule for a particular service applied to an invoice line item. |
Attributes#
- qcs_api_client.models.billing_price.T#
- class qcs_api_client.models.billing_price.BillingPrice#
The price schedule for a particular service applied to an invoice line item.
- id#
Unique identifier for the object.
- Type
str
- active#
Whether the price can be used for new purchases.
- Type
Union[Unset, bool]
- billing_scheme#
Describes how to compute the price per period. Either per_unit or tiered. per_unit indicates that the fixed amount (specified in unitAmount or unitAmountDecimal) will be charged per unit in quantity (for prices with usageType=licensed), or per unit of total usage (for prices with usageType=metered). tiered indicates that the unit pricing will be computed using a tiering strategy as defined using the tiers and tiersMode attributes.
- Type
Union[Unset, BillingPriceScheme]
- object_#
String representing the object’s type. Objects of the same type share the same value.
- Type
Union[Unset, BillingPriceObject]
- price_type#
One of one_time or recurring depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.
- Type
Union[Unset, BillingPricePriceType]
- product#
A QCS service product. This may represent one time (such as reservations) or metered services.
- Type
Union[Unset, BillingProduct]
- recurring#
The recurring components of a price such as interval and usageType.
- Type
Union[Unset, BillingPriceRecurrence]
- tiers#
Each element represents a pricing tier. This parameter requires billingScheme to be set to tiered. See also the documentation for billingScheme.
- Type
Union[Unset, List[Tier]]
- tiers_mode#
Defines if the tiering price should be graduated or volume based. In volume-based tiering, the maximum quantity within a period determines the per unit price, in graduated tiering pricing can successively change as the quantity grows.
- Type
Union[Unset, BillingPriceTiersMode]
- unit_amount_decimal#
The unit amount in currency to be charged. Only set if billingScheme=per_unit.
- Type
Union[Unset, float]
- id :str#
- active :Union[qcs_api_client.types.Unset, bool]#
- billing_scheme :Union[qcs_api_client.types.Unset, qcs_api_client.models.billing_price_scheme.BillingPriceScheme]#
- object_ :Union[qcs_api_client.types.Unset, qcs_api_client.models.billing_price_object.BillingPriceObject]#
- price_type :Union[qcs_api_client.types.Unset, qcs_api_client.models.billing_price_price_type.BillingPricePriceType]#
- product :Union[qcs_api_client.types.Unset, qcs_api_client.models.billing_product.BillingProduct]#
- recurring :Union[qcs_api_client.types.Unset, qcs_api_client.models.billing_price_recurrence.BillingPriceRecurrence]#
- tiers :Union[qcs_api_client.types.Unset, List[qcs_api_client.models.tier.Tier]]#
- tiers_mode :Union[qcs_api_client.types.Unset, qcs_api_client.models.billing_price_tiers_mode.BillingPriceTiersMode]#
- unit_amount_decimal :Union[qcs_api_client.types.Unset, float]#
- additional_properties :Dict[str, Any]#
- to_dict(pick_by_predicate: Optional[Callable[[Any], bool]] = is_not_none) Dict[str, Any] #
- classmethod from_dict(src_dict: Dict[str, Any]) T #
- property additional_keys List[str] #
- __getitem__(key: str) Any #
- __setitem__(key: str, value: Any) None #
- __delitem__(key: str) None #
- __contains__(key: str) bool #