Compartilhar via


ArmReservationsModelFactory.CalculatePriceResultProperties Method

Definition

Initializes a new instance of CalculatePriceResultProperties.

public static Azure.ResourceManager.Reservations.Models.CalculatePriceResultProperties CalculatePriceResultProperties (Azure.ResourceManager.Reservations.Models.CalculatePriceResultPropertiesBillingCurrencyTotal billingCurrencyTotal = default, double? netTotal = default, double? taxTotal = default, double? grandTotal = default, bool? isTaxIncluded = default, bool? isBillingPartnerManaged = default, Guid? reservationOrderId = default, string skuTitle = default, string skuDescription = default, Azure.ResourceManager.Reservations.Models.CalculatePriceResultPropertiesPricingCurrencyTotal pricingCurrencyTotal = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Reservations.Models.PaymentDetail> paymentSchedule = default);
static member CalculatePriceResultProperties : Azure.ResourceManager.Reservations.Models.CalculatePriceResultPropertiesBillingCurrencyTotal * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<bool> * Nullable<bool> * Nullable<Guid> * string * string * Azure.ResourceManager.Reservations.Models.CalculatePriceResultPropertiesPricingCurrencyTotal * seq<Azure.ResourceManager.Reservations.Models.PaymentDetail> -> Azure.ResourceManager.Reservations.Models.CalculatePriceResultProperties
Public Shared Function CalculatePriceResultProperties (Optional billingCurrencyTotal As CalculatePriceResultPropertiesBillingCurrencyTotal = Nothing, Optional netTotal As Nullable(Of Double) = Nothing, Optional taxTotal As Nullable(Of Double) = Nothing, Optional grandTotal As Nullable(Of Double) = Nothing, Optional isTaxIncluded As Nullable(Of Boolean) = Nothing, Optional isBillingPartnerManaged As Nullable(Of Boolean) = Nothing, Optional reservationOrderId As Nullable(Of Guid) = Nothing, Optional skuTitle As String = Nothing, Optional skuDescription As String = Nothing, Optional pricingCurrencyTotal As CalculatePriceResultPropertiesPricingCurrencyTotal = Nothing, Optional paymentSchedule As IEnumerable(Of PaymentDetail) = Nothing) As CalculatePriceResultProperties

Parameters

billingCurrencyTotal
CalculatePriceResultPropertiesBillingCurrencyTotal

Currency and amount that customer will be charged in customer's local currency. Tax is not included.

netTotal
Nullable<Double>

Net total amount in pricing currency.

taxTotal
Nullable<Double>

Tax amount in pricing currency.

grandTotal
Nullable<Double>

Total amount in pricing currency.

isTaxIncluded
Nullable<Boolean>

Whether or not tax is included in grand total.

isBillingPartnerManaged
Nullable<Boolean>

True if billing is managed by Microsoft Partner. Used only for CSP accounts.

reservationOrderId
Nullable<Guid>

GUID that represents reservation order that can be placed after calculating price.

skuTitle
String

Title of sku that is being purchased.

skuDescription
String

Description of sku that is being purchased.

pricingCurrencyTotal
CalculatePriceResultPropertiesPricingCurrencyTotal

Amount that Microsoft uses for record. Used during refund for calculating refund limit. Tax is not included.

paymentSchedule
IEnumerable<PaymentDetail>

Returns

A new CalculatePriceResultProperties instance for mocking.

Applies to