ProjectVShopOfferView class
One Shop offer as the server sells it: price, how many units one purchase may contain, and the purchase limit. Read-only; a change on the server arrives as a new instance.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Shop
public sealed class ProjectVShopOfferView
Properties​
| Property | Type | Description |
|---|---|---|
OfferId | ProjectVShopOfferId | The offer's ID. Pass OfferId.Value to IProjectVShopScreen.PurchaseAsync. |
CatalogVersion | string | The server catalog version this offer belongs to. Not needed in UI. |
OfferRevision | string | The server revision of this offer. Not needed in UI. |
QuantityMin | long | The smallest quantity one purchase may contain; start the quantity picker here. |
QuantityMax | long | The largest quantity one purchase may contain. |
WalletPrice | long | The price of one unit, in WalletCurrencyId. |
IsIap | bool | True for a store (in-app purchase) offer. These are not sold yet; a purchase fails. |
IapPriceMinor | long | The store price in minor units (cents), for store offers only. |
IapCurrency | string | The store price currency, such as USD, for store offers only. |
LimitKind | ProjectVShopLimitKind | How often the purchase limit resets. |
LimitCount | long | How many units may be bought per limit period; 0 when LimitKind is None. |
PurchaseCount | long | How many units were bought in the current limit period. |
PurchaseLimitReached | bool | True when no more units can be bought in the current limit period. |
WalletCurrencyId | string | The currency of WalletPrice, such as core_dust, when the price uses exactly one currency; empty otherwise. Only a non-empty value lets you work out how many units the player can afford. |