MonetaryCredit Class
- java.
lang. Object - com.
azure. resourcemanager. commerce. models. OfferTermInfo - com.
azure. resourcemanager. commerce. models. MonetaryCredit
- com.
- com.
public final class MonetaryCredit
extends OfferTermInfo
Indicates that this is a monetary credit offer.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Big |
credit()
Get the credit property: The amount of credit provided under the terms of the given offer level. |
| 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. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from OfferTermInfo
Methods inherited from java.lang.Object
Method Details
credit
public BigDecimal credit()
Get the credit property: The amount of credit provided under the terms of the given offer level.
Returns:
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 MonetaryCredit fromJson(JsonReader jsonReader)
Reads an instance of MonetaryCredit from the JsonReader.
Parameters:
Returns:
Throws:
name
public OfferTermInfoName name()
Get the name property: Name of the offer term.
Overrides:
MonetaryCredit.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MonetaryCredit.toJson(JsonWriter jsonWriter)Parameters:
Throws: