TransactionSummaryInner Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.fluent.models.TransactionSummaryInner

Implements

public final class TransactionSummaryInner
implements JsonSerializable<TransactionSummaryInner>

A transaction summary.

Constructor Summary

Constructor Description
TransactionSummaryInner()

Creates an instance of TransactionSummaryInner class.

Method Summary

Modifier and Type Method and Description
Float azureCreditApplied()

Get the azureCreditApplied property: The total amount of any Azure credits applied.

String billingCurrency()

Get the billingCurrency property: The ISO 4217 code for the currency in which the transactions are billed.

Float consumptionCommitmentDecremented()

Get the consumptionCommitmentDecremented property: The total Microsoft Azure Consumption Commitment (MACC) decrement through the invoice.

static TransactionSummaryInner fromJson(JsonReader jsonReader)

Reads an instance of TransactionSummaryInner from the JsonReader.

Float subTotal()

Get the subTotal property: The total pre-tax charged amount.

Float tax()

Get the tax property: The total tax amount applied.

JsonWriter toJson(JsonWriter jsonWriter)
Float total()

Get the total property: The total charges.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

TransactionSummaryInner

public TransactionSummaryInner()

Creates an instance of TransactionSummaryInner class.

Method Details

azureCreditApplied

public Float azureCreditApplied()

Get the azureCreditApplied property: The total amount of any Azure credits applied.

Returns:

the azureCreditApplied value.

billingCurrency

public String billingCurrency()

Get the billingCurrency property: The ISO 4217 code for the currency in which the transactions are billed.

Returns:

the billingCurrency value.

consumptionCommitmentDecremented

public Float consumptionCommitmentDecremented()

Get the consumptionCommitmentDecremented property: The total Microsoft Azure Consumption Commitment (MACC) decrement through the invoice.

Returns:

the consumptionCommitmentDecremented value.

fromJson

public static TransactionSummaryInner fromJson(JsonReader jsonReader)

Reads an instance of TransactionSummaryInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TransactionSummaryInner 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 TransactionSummaryInner.

subTotal

public Float subTotal()

Get the subTotal property: The total pre-tax charged amount.

Returns:

the subTotal value.

tax

public Float tax()

Get the tax property: The total tax amount applied.

Returns:

the tax value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

total

public Float total()

Get the total property: The total charges.

Returns:

the total value.

validate

public void validate()

Validates the instance.

Applies to