Share via


BillingBenefitsCommitment Class

Definition

Commitment towards the benefit.

public class BillingBenefitsCommitment : Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsPrice, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsCommitment>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.BillingBenefits.Models.BillingBenefitsCommitment>
type BillingBenefitsCommitment = class
    inherit BillingBenefitsPrice
    interface IJsonModel<BillingBenefitsCommitment>
    interface IPersistableModel<BillingBenefitsCommitment>
Public Class BillingBenefitsCommitment
Inherits BillingBenefitsPrice
Implements IJsonModel(Of BillingBenefitsCommitment), IPersistableModel(Of BillingBenefitsCommitment)
Inheritance
BillingBenefitsCommitment
Implements

Constructors

BillingBenefitsCommitment()

Initializes a new instance of BillingBenefitsCommitment.

Properties

Amount

Gets or sets the amount.

(Inherited from BillingBenefitsPrice)
CurrencyCode

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

(Inherited from BillingBenefitsPrice)
Grain

Commitment grain.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BillingBenefitsCommitment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BillingBenefitsCommitment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<BillingBenefitsPrice>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from BillingBenefitsPrice)
IJsonModel<BillingBenefitsPrice>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from BillingBenefitsPrice)
IPersistableModel<BillingBenefitsCommitment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingBenefitsCommitment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BillingBenefitsCommitment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<BillingBenefitsPrice>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from BillingBenefitsPrice)
IPersistableModel<BillingBenefitsPrice>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from BillingBenefitsPrice)
IPersistableModel<BillingBenefitsPrice>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from BillingBenefitsPrice)

Applies to