Aracılığıyla paylaş


BillingAmount Class

Definition

The amount.

public class BillingAmount : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.BillingAmount>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.BillingAmount>
public class BillingAmount
type BillingAmount = class
    interface IJsonModel<BillingAmount>
    interface IPersistableModel<BillingAmount>
type BillingAmount = class
Public Class BillingAmount
Implements IJsonModel(Of BillingAmount), IPersistableModel(Of BillingAmount)
Public Class BillingAmount
Inheritance
BillingAmount
Implements

Properties

Currency

The currency for the amount value.

Value

The amount value. For example, if the currency is USD, then a value of 600 would be $600.00.

Explicit Interface Implementations

IJsonModel<BillingAmount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BillingAmount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingAmount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingAmount>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BillingAmount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to