Share via


ReservationToPurchaseExchange Class

Definition

Reservation purchase details.

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

Properties

BillingCurrencyTotal

Pricing information containing the amount and the currency code.

Properties

The request for reservation purchase.

ReservationId

Fully qualified id of the reservation being purchased. This value is only guaranteed to be non-null if the purchase is successful.

ReservationOrderId

Fully qualified id of the reservationOrder being purchased.

Status

Status of the individual operation.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ReservationToPurchaseExchange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReservationToPurchaseExchange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReservationToPurchaseExchange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReservationToPurchaseExchange>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReservationToPurchaseExchange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to