Delen via


CalculateRefundRequestProperties Class

Definition

Properties needed for calculate refund including the scope and the reservation to be returned.

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

Constructors

CalculateRefundRequestProperties()

Creates an new CalculateRefundRequestProperties instance.

Properties

ReservationToReturnQuantity

Quantity to be returned. Must be greater than zero.

ReservationToReturnReservationId

Fully qualified identifier of the reservation being returned

Scope

The scope of the refund, e.g. Reservation

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CalculateRefundRequestProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CalculateRefundRequestProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CalculateRefundRequestProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to