Partager via


CalculatePriceResponse Class

Definition

The response of calculate price for reservation.

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

Constructors

CalculatePriceResponse()

Creates an new CalculatePriceResponse instance.

Properties

BillingCurrencyTotal

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

GrandTotal

Total amount in pricing currency.

IsBillingPartnerManaged

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

IsTaxIncluded

Whether or not tax is included in grand total

NetTotal

Net total amount in pricing currency.

PaymentSchedule
PricingCurrencyTotal

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

ReservationOrderId

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

SkuDescription

Description of sku that is being purchased.

SkuTitle

Title of sku that is being purchased.

TaxTotal

Tax amount in pricing currency.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CalculatePriceResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CalculatePriceResponse.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CalculatePriceResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to