MonetaryCommitment Class

Indicates that a monetary commitment is required for this offer.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.commerce.models._models_py3.OfferTermInfo
MonetaryCommitment

Constructor

MonetaryCommitment(*, effective_date: Optional[datetime.datetime] = None, tiered_discount: Optional[Dict[str, float]] = None, excluded_meter_ids: Optional[List[str]] = None, **kwargs)

Parameters

name
str or OfferTermInfoEnum
Required

Required. Name of the offer term.Constant filled by server. Possible values include: "Recurring Charge", "Monetary Commitment", "Monetary Credit".

effective_date
datetime
Required

Indicates the date from which the offer term is effective.

tiered_discount
dict[str, float]
Required

The list of key/value pairs for the tiered meter rates, in the format 'key':'value' where key = price, and value = the corresponding discount percentage. This field is used only by offer terms of type 'Monetary Commitment'.

excluded_meter_ids
list[str]
Required

An array of meter ids that are excluded from the given offer terms.