Aracılığıyla paylaş


RefundRequestProperties 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.

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

Constructors

RefundRequestProperties()

Creates an new RefundRequestProperties 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 RefundRequestProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RefundRequestProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RefundRequestProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to