LuxChat  2.0
Instant messenger for iOS
Properties | List of all members
PFProduct Class Reference

#import <PFProduct.h>

Inheritance diagram for PFProduct:
PFObject

Properties

NSString * productIdentifier
 
More...
 
PFFileicon
 
NSString * title
 
NSString * subtitle
 
NSNumber * order
 
NSString * downloadName
 
- Properties inherited from PFObject
NSString * parseClassName
 
More...
 
NSString * objectId
 
NSDate * updatedAt
 
NSDate * createdAt
 
PFACLACL
 
NSArray< NSString * > * allKeys
 
BOOL dataAvailable
 
More...
 
BOOL dirty
 
More...
 

Additional Inherited Members

- Instance Methods inherited from PFObject
(instancetype) - initWithClassName:
 
More...
 
(nullable id) - objectForKey:
 
More...
 
(void) - setObject:forKey:
 
(void) - removeObjectForKey:
 
(nullable id) - objectForKeyedSubscript:
 
(void) - setObject:forKeyedSubscript:
 
(PFRelation *) - relationForKey:
 
(PFRelation *) - relationforKey:
 
(void) - revert
 
(void) - revertObjectForKey:
 
(void) - addObject:forKey:
 
More...
 
(void) - addObjectsFromArray:forKey:
 
(void) - addUniqueObject:forKey:
 
(void) - addUniqueObjectsFromArray:forKey:
 
(void) - removeObject:forKey:
 
(void) - removeObjectsInArray:forKey:
 
(void) - incrementKey:
 
More...
 
(void) - incrementKey:byAmount:
 
(BFTask< NSNumber * > *) - saveInBackground
 
More...
 
(void) - saveInBackgroundWithBlock:
 
(BFTask< NSNumber * > *) - PF_WATCH_UNAVAILABLE
 
(void) - saveEventually:
 
(BFTask< __kindof PFObject * > *) - fetchInBackground
 
(void) - fetchInBackgroundWithBlock:
 
(BFTask< __kindof PFObject * > *) - fetchIfNeededInBackground
 
(void) - fetchIfNeededInBackgroundWithBlock:
 
(BFTask< __kindof PFObject * > *) - fetchFromLocalDatastoreInBackground
 
More...
 
(void) - fetchFromLocalDatastoreInBackgroundWithBlock:
 
(BFTask< NSNumber * > *) - deleteInBackground
 
More...
 
(void) - deleteInBackgroundWithBlock:
 
(BFTask< NSNumber * > *) - PF_WATCH_UNAVAILABLE
 
(BOOL) - isDirtyForKey:
 
(BFTask< NSNumber * > *) - pinInBackground
 
More...
 
(void) - pinInBackgroundWithBlock:
 
(BFTask< NSNumber * > *) - pinInBackgroundWithName:
 
(void) - pinInBackgroundWithName:block:
 
(BFTask< NSNumber * > *) - unpinInBackground
 
More...
 
(void) - unpinInBackgroundWithBlock:
 
(BFTask< NSNumber * > *) - unpinInBackgroundWithName:
 
(void) - unpinInBackgroundWithName:block:
 
(void) - saveInBackgroundWithTarget:selector:
 
More...
 
(void) - refreshInBackgroundWithTarget:selector:
 
More...
 
(void) - fetchInBackgroundWithTarget:selector:
 
(void) - fetchIfNeededInBackgroundWithTarget:selector:
 
(void) - deleteInBackgroundWithTarget:selector:
 
More...
 
(BOOL) - PF_SWIFT_UNAVAILABLE
 
More...
 
(nullable instancetype) - PF_SWIFT_UNAVAILABLE
 
More...
 
(nullable instancetype) - PF_SWIFT_UNAVAILABLE
 
(nullable instancetype) - PF_SWIFT_UNAVAILABLE
 
More...
 
(BOOL) - PF_SWIFT_UNAVAILABLE
 
More...
 
(BOOL) - PF_SWIFT_UNAVAILABLE
 
More...
 
(BOOL) - PF_SWIFT_UNAVAILABLE
 
More...
 
(BOOL) - save:
 
(nullable instancetype) - fetch:
 
(nullable instancetype) - fetchIfNeeded:
 
(nullable instancetype) - fetchFromLocalDatastore:
 
(BOOL) - delete:
 
(BOOL) - pin:
 
(BOOL) - pinWithName:
 
(BOOL) - pinWithName:error:
 
(BOOL) - unpin:
 
(BOOL) - unpinWithName:
 
(BOOL) - unpinWithName:error:
 
- Class Methods inherited from PFObject
(instancetype) + objectWithClassName:
 
(instancetype) + objectWithClassName:dictionary:
 
(instancetype) + objectWithoutDataWithClassName:objectId:
 
(BFTask< NSNumber * > *) + saveAllInBackground:
 
More...
 
(void) + saveAllInBackground:block:
 
(BFTask< NSNumber * > *) + deleteAllInBackground:
 
More...
 
(void) + deleteAllInBackground:block:
 
(BFTask< NSArray< __kindof PFObject * > * > *) + fetchAllInBackground:
 
More...
 
(void) + fetchAllInBackground:block:
 
(BFTask< NSArray< __kindof PFObject * > * > *) + fetchAllIfNeededInBackground:
 
(void) + fetchAllIfNeededInBackground:block:
 
(BFTask< NSNumber * > *) + pinAllInBackground:
 
More...
 
(void) + pinAllInBackground:block:
 
(BFTask< NSNumber * > *) + pinAllInBackground:withName:
 
(void) + pinAllInBackground:withName:block:
 
(BFTask< NSNumber * > *) + unpinAllObjectsInBackground
 
More...
 
(void) + unpinAllObjectsInBackgroundWithBlock:
 
(BFTask< NSNumber * > *) + unpinAllObjectsInBackgroundWithName:
 
(void) + unpinAllObjectsInBackgroundWithName:block:
 
(BFTask< NSNumber * > *) + unpinAllInBackground:
 
(void) + unpinAllInBackground:block:
 
(BFTask< NSNumber * > *) + unpinAllInBackground:withName:
 
(void) + unpinAllInBackground:withName:block:
 
(void) + saveAllInBackground:target:selector:
 
More...
 
(void) + fetchAllInBackground:target:selector:
 
More...
 
(void) + fetchAllIfNeededInBackground:target:selector:
 
(void) + deleteAllInBackground:target:selector:
 
More...
 
(BOOL) + PF_SWIFT_UNAVAILABLE
 
More...
 
(BOOL) + saveAll:
 
More...
 
(BOOL) + saveAll:error:
 
(nullable NSArray< __kindof PFObject * > *) + fetchAll:
 
More...
 
(nullable NSArray< __kindof PFObject * > *) + fetchAll:error:
 
(nullable NSArray< __kindof PFObject * > *) + fetchAllIfNeeded:
 
(nullable NSArray< __kindof PFObject * > *) + fetchAllIfNeeded:error:
 
(BOOL) + deleteAll:
 
More...
 
(BOOL) + deleteAll:error:
 
(BOOL) + pinAll:
 
More...
 
(BOOL) + pinAll:error:
 
(BOOL) + pinAll:withName:
 
(BOOL) + pinAll:withName:error:
 
(BOOL) + unpinAllObjects:
 
(BOOL) + unpinAllObjectsWithName:
 
(BOOL) + unpinAllObjectsWithName:error:
 
(BOOL) + unpinAll:
 
(BOOL) + unpinAll:error:
 
(BOOL) + unpinAll:withName:
 
(BOOL) + unpinAll:withName:error:
 

Detailed Description

Copyright (c) 2015-present, Parse, LLC. All rights reserved.

This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. 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.

Property Documentation

- (NSString*) downloadName
readnonatomicstrong

The name of the associated download.

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

- (PFFile*) icon
readwritenonatomicstrong

The icon of the product.

- (NSNumber*) order
readwritenonatomicstrong

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

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

- (NSString*) productIdentifier
readwritenonatomicstrong



The product identifier of the product.

This should match the product identifier in iTunes Connect exactly.

- (NSString*) subtitle
readwritenonatomicstrong

The subtitle of the product.

- (NSString*) title
readwritenonatomicstrong

The title of the product.


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