Share via


CalculateExchangeResponseProperties Constructors

Definition

Overloads

CalculateExchangeResponseProperties()

Initializes a new instance of the CalculateExchangeResponseProperties class.

CalculateExchangeResponseProperties(String, Price, Price, Price, IList<ReservationToPurchaseCalculateExchange>, IList<ReservationToExchange>, ExchangePolicyErrors)

Initializes a new instance of the CalculateExchangeResponseProperties class.

CalculateExchangeResponseProperties()

Initializes a new instance of the CalculateExchangeResponseProperties class.

public CalculateExchangeResponseProperties ();
Public Sub New ()

Applies to

CalculateExchangeResponseProperties(String, Price, Price, Price, IList<ReservationToPurchaseCalculateExchange>, IList<ReservationToExchange>, ExchangePolicyErrors)

Initializes a new instance of the CalculateExchangeResponseProperties class.

public CalculateExchangeResponseProperties (string sessionId = default, Microsoft.Azure.Management.Reservations.Models.Price netPayable = default, Microsoft.Azure.Management.Reservations.Models.Price refundsTotal = default, Microsoft.Azure.Management.Reservations.Models.Price purchasesTotal = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.ReservationToPurchaseCalculateExchange> reservationsToPurchase = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.ReservationToExchange> reservationsToExchange = default, Microsoft.Azure.Management.Reservations.Models.ExchangePolicyErrors policyResult = default);
new Microsoft.Azure.Management.Reservations.Models.CalculateExchangeResponseProperties : string * Microsoft.Azure.Management.Reservations.Models.Price * Microsoft.Azure.Management.Reservations.Models.Price * Microsoft.Azure.Management.Reservations.Models.Price * System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.ReservationToPurchaseCalculateExchange> * System.Collections.Generic.IList<Microsoft.Azure.Management.Reservations.Models.ReservationToExchange> * Microsoft.Azure.Management.Reservations.Models.ExchangePolicyErrors -> Microsoft.Azure.Management.Reservations.Models.CalculateExchangeResponseProperties
Public Sub New (Optional sessionId As String = Nothing, Optional netPayable As Price = Nothing, Optional refundsTotal As Price = Nothing, Optional purchasesTotal As Price = Nothing, Optional reservationsToPurchase As IList(Of ReservationToPurchaseCalculateExchange) = Nothing, Optional reservationsToExchange As IList(Of ReservationToExchange) = Nothing, Optional policyResult As ExchangePolicyErrors = Nothing)

Parameters

sessionId
String

Exchange session identifier

netPayable
Price
refundsTotal
Price
purchasesTotal
Price
reservationsToPurchase
IList<ReservationToPurchaseCalculateExchange>

Details of the reservations being purchased

reservationsToExchange
IList<ReservationToExchange>

Details of the reservations being returned

policyResult
ExchangePolicyErrors

Applies to