MonetaryCommitment Class
- java.
lang. Object - com.
azure. resourcemanager. commerce. models. OfferTermInfo - com.
azure. resourcemanager. commerce. models. MonetaryCommitment
- com.
- com.
public final class MonetaryCommitment
extends OfferTermInfo
Indicates that a monetary commitment is required for this offer.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
excludedMeterIds()
Get the excluded |
|
static
Monetary |
fromJson(JsonReader jsonReader)
Reads an instance of Monetary |
|
Offer |
name()
Get the name property: Name of the offer term. |
|
Map<String,Big |
tieredDiscount()
Get the tiered |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from OfferTermInfo
Methods inherited from java.lang.Object
Method Details
excludedMeterIds
public List<String> excludedMeterIds()
Get the excludedMeterIds property: An array of meter ids that are excluded from the given offer terms.
Returns:
fromJson
public static MonetaryCommitment fromJson(JsonReader jsonReader)
Reads an instance of MonetaryCommitment from the JsonReader.
Parameters:
Returns:
Throws:
name
public OfferTermInfoName name()
Get the name property: Name of the offer term.
Overrides:
MonetaryCommitment.name()Returns:
tieredDiscount
public Map<String,BigDecimal> tieredDiscount()
Get the tieredDiscount property: 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'.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MonetaryCommitment.toJson(JsonWriter jsonWriter)Parameters:
Throws: