CommittedSkuQuantityPriceModel¶
-
class
oci.ccd_offers.models.CommittedSkuQuantityPriceModel(**kwargs)¶ Bases:
objectThe committed SKU, quantity, and its price information model.
Methods
__init__(**kwargs)Initializes a new CommittedSkuQuantityPriceModel object with values from keyword arguments. Attributes
currency_code_localizationGets the currency_code_localization of this CommittedSkuQuantityPriceModel. is_main_skuGets the is_main_sku of this CommittedSkuQuantityPriceModel. quantityGets the quantity of this CommittedSkuQuantityPriceModel. skuGets the sku of this CommittedSkuQuantityPriceModel. sku_display_nameGets the sku_display_name of this CommittedSkuQuantityPriceModel. sku_metricGets the sku_metric of this CommittedSkuQuantityPriceModel. -
__init__(**kwargs)¶ Initializes a new CommittedSkuQuantityPriceModel object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - sku (str) – The value to assign to the sku property of this CommittedSkuQuantityPriceModel.
- sku_display_name (str) – The value to assign to the sku_display_name property of this CommittedSkuQuantityPriceModel.
- sku_metric (str) – The value to assign to the sku_metric property of this CommittedSkuQuantityPriceModel.
- is_main_sku (bool) – The value to assign to the is_main_sku property of this CommittedSkuQuantityPriceModel.
- quantity (int) – The value to assign to the quantity property of this CommittedSkuQuantityPriceModel.
- currency_code_localization (list[oci.ccd_offers.models.CurrencyCodeLocalization]) – The value to assign to the currency_code_localization property of this CommittedSkuQuantityPriceModel.
-
currency_code_localization¶ Gets the currency_code_localization of this CommittedSkuQuantityPriceModel. The pricing model associated with the currency code.
Returns: The currency_code_localization of this CommittedSkuQuantityPriceModel. Return type: list[oci.ccd_offers.models.CurrencyCodeLocalization]
-
is_main_sku¶ Gets the is_main_sku of this CommittedSkuQuantityPriceModel. True if the SKU is the primary SKU of a CCD offer, otheriwse, false.
Returns: The is_main_sku of this CommittedSkuQuantityPriceModel. Return type: bool
-
quantity¶ Gets the quantity of this CommittedSkuQuantityPriceModel. The SKU quantity that’s getting committed.
Returns: The quantity of this CommittedSkuQuantityPriceModel. Return type: int
-
sku¶ Gets the sku of this CommittedSkuQuantityPriceModel. The SKU part number (prefaced with “B”) associated with the committed CCD.
Returns: The sku of this CommittedSkuQuantityPriceModel. Return type: str
-
sku_display_name¶ Gets the sku_display_name of this CommittedSkuQuantityPriceModel. The canonical SKU display name derived from the associated offer.
Returns: The sku_display_name of this CommittedSkuQuantityPriceModel. Return type: str
-
sku_metric¶ Gets the sku_metric of this CommittedSkuQuantityPriceModel. The canonical billing metric derived from the associated offer.
Returns: The sku_metric of this CommittedSkuQuantityPriceModel. Return type: str
-