Share via


ReservationToExchange Class

Definition

Reservation refund details.

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

Properties

BillingInformation

billing information.

BillingRefundAmount

Pricing information containing the amount and the currency code.

Quantity

Quantity to be returned.

ReservationId

Fully qualified id of the reservation being returned.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ReservationToExchange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReservationToExchange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReservationToExchange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReservationToExchange>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReservationToExchange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to