Price Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |
| 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) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |