Aracılığıyla paylaş


RefundRequest Class

Definition

Request containing information needed for returning reservation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.RefundRequestTypeConverter))]
public class RefundRequest : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IRefundRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.RefundRequestTypeConverter))>]
type RefundRequest = class
    interface IRefundRequest
    interface IJsonSerializable
Public Class RefundRequest
Implements IRefundRequest
Inheritance
RefundRequest
Attributes
Implements

Constructors

RefundRequest()

Creates an new RefundRequest instance.

Properties

ReservationToReturnQuantity

Quantity to be returned. Must be greater than zero.

ReservationToReturnReservationId

Fully qualified identifier of the reservation being returned

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RefundRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RefundRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.IRefundRequest.

FromJsonString(String)

Creates a new instance of RefundRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of RefundRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to