Share via


ReservationRefundRequestProperties Class

Definition

Properties needed for refund request including the session id from calculate refund, the scope, the reservation to be returned and the return reason.

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

Constructors

ReservationRefundRequestProperties()

Initializes a new instance of ReservationRefundRequestProperties.

Properties

ReservationToReturn

Reservation to return.

ReturnReason

The reason of returning the reservation.

Scope

The scope of the refund, e.g. Reservation.

SessionId

SessionId that was returned by CalculateRefund API.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ReservationRefundRequestProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReservationRefundRequestProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReservationRefundRequestProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReservationRefundRequestProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReservationRefundRequestProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to