StorePrice
StorePrice
StorePrice
StorePrice
Class
Definition
Contains pricing info for a product listing in the Windows Store.
public : sealed class StorePrice : IStorePricepublic sealed class StorePrice : IStorePricePublic NotInheritable Class StorePrice Implements IStorePrice// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Services.Store.StoreContract (introduced v1)
|
Remarks
The StoreAvailability.Price, StoreProduct.Price, and StoreSku.Price properties return an object of this type.
Properties
CurrencyCode CurrencyCode CurrencyCode CurrencyCode
Gets the ISO 4217 currency code for the market of the current user.
public : PlatForm::String CurrencyCode { get; }public string CurrencyCode { get; }Public ReadOnly Property CurrencyCode As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The ISO 4217 currency code for the market of the current user.
FormattedBasePrice FormattedBasePrice FormattedBasePrice FormattedBasePrice
Gets the base price for the product with the appropriate formatting for the market of the current user.
public : PlatForm::String FormattedBasePrice { get; }public string FormattedBasePrice { get; }Public ReadOnly Property FormattedBasePrice As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The base price for the product with the appropriate formatting for the market of the current user.
FormattedPrice FormattedPrice FormattedPrice FormattedPrice
Gets the purchase price for the product with the appropriate formatting for the market of the current user.
public : PlatForm::String FormattedPrice { get; }public string FormattedPrice { get; }Public ReadOnly Property FormattedPrice As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The purchase price for the product with the appropriate formatting for the market of the current user.
FormattedRecurrencePrice FormattedRecurrencePrice FormattedRecurrencePrice FormattedRecurrencePrice
Gets the recurring price for the product with the appropriate formatting for the market of the current user, if recurring billing is enabled for this product.
public : PlatForm::String FormattedRecurrencePrice { get; }public string FormattedRecurrencePrice { get; }Public ReadOnly Property FormattedRecurrencePrice As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The recurring price for the product with the appropriate formatting for the market of the current user.
IsOnSale IsOnSale IsOnSale IsOnSale
Gets a value that indicates whether the product is on sale.
public : PlatForm::Boolean IsOnSale { get; }public bool IsOnSale { get; }Public ReadOnly Property IsOnSale As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True if the product is on sale; otherwise, false.
SaleEndDate SaleEndDate SaleEndDate SaleEndDate
Gets the end date for the sale period for the product, if the product is on sale.
public : DateTime SaleEndDate { get; }public DateTimeOffset SaleEndDate { get; }Public ReadOnly Property SaleEndDate As DateTimeOffset// You can use this property in JavaScript.
- Value
- DateTime DateTimeOffset DateTimeOffset DateTimeOffset
The end date for the sale period for the product.