Price Class

Definition

Pricing information containing the amount and the currency code

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

Constructors

Name Description
Price()

Creates an new Price instance.

Properties

Name Description
Amount
CurrencyCode

The ISO 4217 3-letter currency code for the currency used by this purchase record.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Price.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Price.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Price into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to