ShopPrice
A class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Models.Shared.
A price in the shop: an amount and its currency. Defaults to 1 shard.
- Listed in Alta.Api.DataTransferModels
Constructors
| Member | What it is |
|---|---|
ShopPrice() | Creates a ShopPrice with default values. |
Properties
| Member | What it is |
|---|---|
decimal Amount { get; set; } | The price amount, 1 by default. |
PriceType PriceType { get; set; } | Currency of the price, shards by default. |
Methods
| Member | What it is |
|---|---|
ShopPrice Multiply(int quantity) | Returns a new price in the same currency for the given quantity. |
Used in
Members of other types that take, return or hold a ShopPrice: