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:
Gets the currency_code_localization of this CommittedSkuQuantityPriceModel.
Gets the is_main_sku of this CommittedSkuQuantityPriceModel.
Gets the quantity of this CommittedSkuQuantityPriceModel.
Gets the sku of this CommittedSkuQuantityPriceModel.
Gets the sku_display_name of this CommittedSkuQuantityPriceModel.
Gets 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.
- property 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
- property 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
- property quantity¶
Gets the quantity of this CommittedSkuQuantityPriceModel. The SKU quantity that’s getting committed.
- Returns
The quantity of this CommittedSkuQuantityPriceModel.
- Return type
int
- property 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
- property 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
- property 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