MonetaryCredit Class

Indicates that this is a monetary credit offer.

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

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

Constructor

MonetaryCredit(*, effective_date: Optional[datetime.datetime] = None, credit: Optional[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.

credit
float
Required

The amount of credit provided under the terms of the given offer level.

excluded_meter_ids
list[str]
Required

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