BillingMeterDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.edgeorder.models.BillingMeterDetails

Implements

public final class BillingMeterDetails
implements JsonSerializable<BillingMeterDetails>

Holds billing meter details for each type of billing.

Constructor Summary

Constructor Description
BillingMeterDetails()

Creates an instance of BillingMeterDetails class.

Method Summary

Modifier and Type Method and Description
String frequency()

Get the frequency property: Frequency of recurrence.

static BillingMeterDetails fromJson(JsonReader jsonReader)

Reads an instance of BillingMeterDetails from the JsonReader.

MeterDetails meterDetails()

Get the meterDetails property: Represents MeterDetails.

MeteringType meteringType()

Get the meteringType property: Represents Metering type (eg one-time or recurrent).

String name()

Get the name property: Represents Billing type name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

BillingMeterDetails

public BillingMeterDetails()

Creates an instance of BillingMeterDetails class.

Method Details

frequency

public String frequency()

Get the frequency property: Frequency of recurrence.

Returns:

the frequency value.

fromJson

public static BillingMeterDetails fromJson(JsonReader jsonReader)

Reads an instance of BillingMeterDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

meterDetails

public MeterDetails meterDetails()

Get the meterDetails property: Represents MeterDetails.

Returns:

the meterDetails value.

meteringType

public MeteringType meteringType()

Get the meteringType property: Represents Metering type (eg one-time or recurrent).

Returns:

the meteringType value.

name

public String name()

Get the name property: Represents Billing type name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to