PFProduct Class Reference

Inherits from PFObject : NSObject
Conforms to PFSubclassing
Declared in PFProduct.h

Overview

The PFProduct class represents an in-app purchase product on the Parse server. By default, products can only be created via the Data Browser. Saving a PFProduct will result in error. However, the products' metadata information can be queried and viewed.

This class is currently for iOS only.

Product-specific Properties

  productIdentifier

The product identifier of the product.

@property (nullable, nonatomic, strong) NSString *productIdentifier

Discussion

This should match the product identifier in iTunes Connect exactly.

Declared In

PFProduct.h

  icon

The icon of the product.

@property (nullable, nonatomic, strong) PFFile *icon

Declared In

PFProduct.h

  title

The title of the product.

@property (nullable, nonatomic, strong) NSString *title

Declared In

PFProduct.h

  subtitle

The subtitle of the product.

@property (nullable, nonatomic, strong) NSString *subtitle

Declared In

PFProduct.h

  order

The order in which the product information is displayed in PFProductTableViewController.

@property (nullable, nonatomic, strong) NSNumber *order

Discussion

The product with a smaller order is displayed earlier in the PFProductTableViewController.

Declared In

PFProduct.h

  downloadName

The name of the associated download.

@property (nullable, nonatomic, strong, readonly) NSString *downloadName

Discussion

If there is no downloadable asset, it should be nil.

Declared In

PFProduct.h