Partilhar via


BillingPrice Class

Definition

The price.

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

Constructors

BillingPrice()

Initializes a new instance of BillingPrice.

Properties

Amount

Gets or sets the amount.

CurrencyCode

The ISO 4217 3-letter currency code for the currency used by this purchase record.

Explicit Interface Implementations

IJsonModel<BillingPrice>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BillingPrice>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingPrice>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingPrice>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BillingPrice>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to