StoreProductsDataSource
public protocol StoreProductsDataSource
An instance conforming to StoreProductsDataSource represents a data source of in-app purchase items (products)
fetched from the store.
-
True if products were received from the store, false otherwise.
Declaration
Swift
var productsReceived: Bool -
Localized name for product with identifier returned by the store.
Declaration
Swift
func localizedNameForProductWithIdentifier(_ identifier: String) -> String?Return Value
Localized name for product if
productsReceivedis true, nil otherwise. -
Localized price for product with identifier returned by the store.
Declaration
Swift
func localizedPriceForProductWithIdentifier(_ identifier: String) -> String?Parameters
identifierIdentifier of a product.
Return Value
Localized price for product if
productsReceivedis true, nil otherwise. -
Localized description for product with identifier returned by the store.
Declaration
Swift
func localizedDescriptionForProductWithIdentifier(_ identifier: String) -> String?Parameters
identifierIdentifier of a product.
Return Value
Localized description for product if
productsReceivedis true, nil otherwise.
View on GitHub
StoreProductsDataSource Protocol Reference