MonetaryCommitment Class
Indicates that a monetary commitment is required for this offer.
All required parameters must be populated in order to send to Azure.
Constructor
MonetaryCommitment(*, effective_date: datetime | None = None, tiered_discount: Dict[str, float] | None = None, excluded_meter_ids: List[str] | None = None, **kwargs)
Parameters
| Name | Description |
|---|---|
|
name
Required
|
Required. Name of the offer term.Constant filled by server. Possible values include: "Recurring Charge", "Monetary Commitment", "Monetary Credit". |
|
effective_date
Required
|
Indicates the date from which the offer term is effective. |
|
tiered_discount
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
Required
|
An array of meter ids that are excluded from the given offer terms. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
effective_date
|
Default value: None
|
|
tiered_discount
|
Default value: None
|
|
excluded_meter_ids
|
Default value: None
|