PFPackageInfo
Objective-C
@interface PFPackageInfo : NSObject
Swift
class PFPackageInfo : NSObject
Package info has all necessary information of the package. Package’s active status, active product, expiration date, transaction ID
-
Name of the package
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull name;Swift
var name: String { get } -
Is the package active
Declaration
Objective-C
- (Boolean)isActive;Swift
func isActive() -> BoolReturn Value
bool
-
If the group has active subscription, it’s the id of that.
Declaration
Objective-C
- (nonnull NSString *)subscriptionId;Swift
func subscriptionId() -> StringReturn Value
string
-
When the package will expire
Declaration
Objective-C
- (nonnull NSDate *)expirationDate;Swift
func expirationDate() -> DateReturn Value
date object
-
Transaction identifier for the package’s subscription
Declaration
Objective-C
- (nonnull NSString *)transactionId;Swift
func transactionId() -> StringReturn Value
string
View on GitHub
PFPackageInfo Class Reference