ModernChargeSummaryProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.consumption.fluent.models.ModernChargeSummaryProperties

Implements

public final class ModernChargeSummaryProperties
implements JsonSerializable<ModernChargeSummaryProperties>

The properties of modern charge summary.

Constructor Summary

Constructor Description
ModernChargeSummaryProperties()

Creates an instance of ModernChargeSummaryProperties class.

Method Summary

Modifier and Type Method and Description
Amount azureCharges()

Get the azureCharges property: Azure Charges.

String billingAccountId()

Get the billingAccountId property: Billing Account Id.

String billingPeriodId()

Get the billingPeriodId property: The id of the billing period resource that the charge belongs to.

String billingProfileId()

Get the billingProfileId property: Billing Profile Id.

Amount chargesBilledSeparately()

Get the chargesBilledSeparately property: Charges Billed separately.

String customerId()

Get the customerId property: Customer Id.

static ModernChargeSummaryProperties fromJson(JsonReader jsonReader)

Reads an instance of ModernChargeSummaryProperties from the JsonReader.

String invoiceSectionId()

Get the invoiceSectionId property: Invoice Section Id.

Boolean isInvoiced()

Get the isInvoiced property: Is charge Invoiced.

Amount marketplaceCharges()

Get the marketplaceCharges property: Marketplace Charges.

String subscriptionId()

Get the subscriptionId property: Subscription guid.

JsonWriter toJson(JsonWriter jsonWriter)
String usageEnd()

Get the usageEnd property: Usage end date.

String usageStart()

Get the usageStart property: Usage start date.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ModernChargeSummaryProperties

public ModernChargeSummaryProperties()

Creates an instance of ModernChargeSummaryProperties class.

Method Details

azureCharges

public Amount azureCharges()

Get the azureCharges property: Azure Charges.

Returns:

the azureCharges value.

billingAccountId

public String billingAccountId()

Get the billingAccountId property: Billing Account Id.

Returns:

the billingAccountId value.

billingPeriodId

public String billingPeriodId()

Get the billingPeriodId property: The id of the billing period resource that the charge belongs to.

Returns:

the billingPeriodId value.

billingProfileId

public String billingProfileId()

Get the billingProfileId property: Billing Profile Id.

Returns:

the billingProfileId value.

chargesBilledSeparately

public Amount chargesBilledSeparately()

Get the chargesBilledSeparately property: Charges Billed separately.

Returns:

the chargesBilledSeparately value.

customerId

public String customerId()

Get the customerId property: Customer Id.

Returns:

the customerId value.

fromJson

public static ModernChargeSummaryProperties fromJson(JsonReader jsonReader)

Reads an instance of ModernChargeSummaryProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

invoiceSectionId

public String invoiceSectionId()

Get the invoiceSectionId property: Invoice Section Id.

Returns:

the invoiceSectionId value.

isInvoiced

public Boolean isInvoiced()

Get the isInvoiced property: Is charge Invoiced.

Returns:

the isInvoiced value.

marketplaceCharges

public Amount marketplaceCharges()

Get the marketplaceCharges property: Marketplace Charges.

Returns:

the marketplaceCharges value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: Subscription guid.

Returns:

the subscriptionId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

usageEnd

public String usageEnd()

Get the usageEnd property: Usage end date.

Returns:

the usageEnd value.

usageStart

public String usageStart()

Get the usageStart property: Usage start date.

Returns:

the usageStart value.

validate

public void validate()

Validates the instance.

Applies to