AdaptySDK 4.1.1
Loading...
Searching...
No Matches
AdaptySDK.AdaptySubscriptionPeriod Class Referencesealed

A span of time, as the stores express it — a number and a unit, not a duration. More...

Public Member Functions

override string ToString ()
 A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Public Attributes

readonly AdaptySubscriptionPeriodUnit Unit
 The unit the period is counted in.
readonly long NumberOfUnits
 How many of that unit — three months is Month and 3.

Private Member Functions

 AdaptySubscriptionPeriod ()

Detailed Description

A span of time, as the stores express it — a number and a unit, not a duration.

Constructor & Destructor Documentation

◆ AdaptySubscriptionPeriod()

AdaptySDK.AdaptySubscriptionPeriod.AdaptySubscriptionPeriod ( )
private

Member Function Documentation

◆ ToString()

override string AdaptySDK.AdaptySubscriptionPeriod.ToString ( )

A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Member Data Documentation

◆ NumberOfUnits

readonly long AdaptySDK.AdaptySubscriptionPeriod.NumberOfUnits

How many of that unit — three months is Month and 3.

◆ Unit

readonly AdaptySubscriptionPeriodUnit AdaptySDK.AdaptySubscriptionPeriod.Unit

The unit the period is counted in.


The documentation for this class was generated from the following file: