Skip to main content

OfflineShopAccount

A class in Alta.Api.Client, Alta.Api.Client.HighLevel.

Offline stand-in for the shop account: a fixed supporter account with 100000 shards and no owned items.

Constructors​

MemberWhat it is
OfflineShopAccount()Creates an OfflineShopAccount with default values.

Fields​

2 private and internal fields
MemberWhat it is
private GiftResult giftResultThe last result built by GiftItem.
private readonly ShopAccountInfo shopAccountInfoThe fixed account: supporter, not renewing, 100000 shards, USD.

Methods​

MemberWhat it is
Task<SubscriptionRefreshResult> CheckForSubscriptionRewardsAsync()Returns an empty result.
Task<IEnumerable<OwnedShopItem>> GetOwnedItems()Returns an empty list.
Task<ShopAccountInfo> GetShopAccountInfo()Returns the fixed offline account info for any user.
Task<ShopAccountInfo> GetShopAccountInfo(int userIdentifier)Returns the fixed offline account info for any user.
Task<GiftResult> GiftItem(int userIdentifier, string itemSku)Reports success without doing anything.
Task RemoveItem(int userIdentifier, int itemIdentifier)Does nothing.