Skip to main content

SubscriptionRefreshResult

A class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Models.Responses.

Result of checking for supporter subscription rewards, from CheckForSubscriptionRewardsAsync. The offline shop returns an empty one.

Constructors​

MemberWhat it is
SubscriptionRefreshResult()Creates a SubscriptionRefreshResult with default values.

Properties​

MemberWhat it is
string Comment { get; set; }Message about the check. Defaults to "No rewards applied".
int RewardPeriodsPassed { get; set; }How many reward periods had passed since the last check.
IEnumerable<SubscriptionRefreshResult.Reward> Rewards { get; set; }Rewards granted, each a type and an amount.

Used in​

Members of other types that take, return or hold a SubscriptionRefreshResult: