Classes

The following classes are available globally.

  • Discount! This represents discount from PurchaseFly

    See more

    Declaration

    Objective-C

    @interface PFDiscount : NSObject

    Swift

    class PFDiscount : NSObject
  • Contains information about the product group. This has all necessary information about the subscription status.

    See more

    Declaration

    Objective-C

    @interface PFGroup : NSObject

    Swift

    class PFGroup : NSObject
  • Contains information about all product groups and purchased products.

    See more

    Declaration

    Objective-C

    @interface PFGroupsInfo : NSObject

    Swift

    class PFGroupsInfo : NSObject
  • Package info has all necessary information of the package. Package’s active status, active product, expiration date, transaction ID

    See more

    Declaration

    Objective-C

    @interface PFPackageInfo : NSObject

    Swift

    class PFPackageInfo : NSObject
  • Product! This represents product from PurchaseFly

    See more

    Declaration

    Objective-C

    @interface PFProduct : NSObject

    Swift

    class PFProduct : NSObject
  • PFPurchase is the entry point for PurchaseFly.framework. It should be instantiated as soon as app starts.

    Warning

    Only one instance of PFPurchase should be instantiated at a time! Use the configure method to let the framework handle the singleton instance for you.
    See more

    Declaration

    Objective-C

    @interface PFPurchase : NSObject

    Swift

    class PFPurchase : NSObject
  • Contains information about transaction that takes place after purchase.

    See more

    Declaration

    Objective-C

    @interface PFTransaction : NSObject

    Swift

    class PFTransaction : NSObject
  • Contains information about the user that is being tracked for the lifetime of the application.

    See more

    Declaration

    Objective-C

    @interface PFUserInfo : NSObject

    Swift

    class PFUserInfo : NSObject