Class: Parse::Product
- Inherits:
-
Object
- Object
- Object
- Parse::Product
- Defined in:
- lib/parse/model/classes/product.rb
Overview
This Parse feature is effectively deprecated. The PFProduct IAP integration was tied
to hosted Parse and is not actively used by modern Parse Server deployments. Most apps now
verify in-app purchase receipts directly against the Apple App Store or Google Play. The
_Product collection and this class are retained for backwards compatibility with legacy
applications that still read or write product metadata in this table.
This class represents the data and columns contained in the standard Parse _Product collection.
These records were used when implementing in-app purchases in mobile applications via the
original Parse iOS SDK's PFProduct downloadable-content flow.
The default schema for Product is as follows:
class Parse::Product < Parse::Object
# See Parse::Object for inherited properties...
property :download, :file
property :icon, :file, required: true
property :order, :integer, required: true
property :subtitle, required: true
property :title, required: true
property :product_identifier, required: true
end
Instance Attribute Summary collapse
-
#download ⇒ String
The file payload for this product download.
-
#download_name ⇒ String
The name of this download.
-
#icon ⇒ String
An icon file representing this download.
-
#order ⇒ String
The product order number.
-
#product_identifier ⇒ String
The product identifier.
-
#subtitle ⇒ String
The subtitle description for this product.
-
#title ⇒ String
The title for this product.
Instance Attribute Details
#download ⇒ String
Returns the file payload for this product download.
44 |
# File 'lib/parse/model/classes/product.rb', line 44 property :download, :file |
#download_name ⇒ String
Returns the name of this download.
48 |
# File 'lib/parse/model/classes/product.rb', line 48 property :download_name |
#icon ⇒ String
An icon file representing this download. This field is required by Parse.
53 |
# File 'lib/parse/model/classes/product.rb', line 53 property :icon, :file, required: true |
#order ⇒ String
The product order number. This field is required by Parse.
58 |
# File 'lib/parse/model/classes/product.rb', line 58 property :order, :integer, required: true |
#product_identifier ⇒ String
The product identifier. This field is required by Parse.
63 |
# File 'lib/parse/model/classes/product.rb', line 63 property :product_identifier, required: true |
#subtitle ⇒ String
The subtitle description for this product. This field is required by Parse.
68 |
# File 'lib/parse/model/classes/product.rb', line 68 property :subtitle, required: true |
#title ⇒ String
The title for this product. This field is required by Parse.
73 |
# File 'lib/parse/model/classes/product.rb', line 73 property :title, required: true |