InvoicePropertiesCreditAmount Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. Amount - com.
azure. resourcemanager. billing. models. InvoicePropertiesCreditAmount
- com.
- com.
public final class InvoicePropertiesCreditAmount
extends Amount
The total refund for returns and cancellations during the invoice billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
Constructor Summary
| Constructor | Description |
|---|---|
| InvoicePropertiesCreditAmount() |
Creates an instance of Invoice |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
currency()
Get the currency property: The currency for the amount value. |
|
static
Invoice |
fromJson(JsonReader jsonReader)
Reads an instance of Invoice |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Float |
value()
Get the value property: The amount value. |
Methods inherited from Amount
Methods inherited from java.lang.Object
Constructor Details
InvoicePropertiesCreditAmount
public InvoicePropertiesCreditAmount()
Creates an instance of InvoicePropertiesCreditAmount class.
Method Details
currency
public String currency()
Get the currency property: The currency for the amount value.
Overrides:
InvoicePropertiesCreditAmount.currency()Returns:
fromJson
public static InvoicePropertiesCreditAmount fromJson(JsonReader jsonReader)
Reads an instance of InvoicePropertiesCreditAmount from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
InvoicePropertiesCreditAmount.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
InvoicePropertiesCreditAmount.validate()value
public Float value()
Get the value property: The amount value. For example, if the currency is USD, then a value of 600 would be $600.00.
Overrides:
InvoicePropertiesCreditAmount.value()Returns: