TransactionPropertiesAzureCreditApplied Class

public final class TransactionPropertiesAzureCreditApplied
extends Amount

The amount of any Azure credits automatically applied to this transaction.

Constructor Summary

Constructor Description
TransactionPropertiesAzureCreditApplied()

Creates an instance of TransactionPropertiesAzureCreditApplied class.

Method Summary

Modifier and Type Method and Description
String currency()

Get the currency property: The currency for the amount value.

static TransactionPropertiesAzureCreditApplied fromJson(JsonReader jsonReader)

Reads an instance of TransactionPropertiesAzureCreditApplied from the JsonReader.

JsonWriter 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

TransactionPropertiesAzureCreditApplied

public TransactionPropertiesAzureCreditApplied()

Creates an instance of TransactionPropertiesAzureCreditApplied class.

Method Details

currency

public String currency()

Get the currency property: The currency for the amount value.

Overrides:

TransactionPropertiesAzureCreditApplied.currency()

Returns:

the currency value.

fromJson

public static TransactionPropertiesAzureCreditApplied fromJson(JsonReader jsonReader)

Reads an instance of TransactionPropertiesAzureCreditApplied from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TransactionPropertiesAzureCreditApplied if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TransactionPropertiesAzureCreditApplied.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TransactionPropertiesAzureCreditApplied.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

TransactionPropertiesAzureCreditApplied.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:

TransactionPropertiesAzureCreditApplied.value()

Returns:

the value value.

Applies to