Share via


CalculateRefundRequest Class

Definition

Request containing information needed for calculating refund.

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

Constructors

CalculateRefundRequest()

Creates an new CalculateRefundRequest instance.

Properties

Id

Fully qualified identifier of the reservation order being returned

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CalculateRefundRequest.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CalculateRefundRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to