public class SKPayment extends NSObject
Modifier and Type | Method and Description |
---|---|
static SKPayment |
paymentWithProduct(SKProduct product)
Returns a new SKPayment object for the specified product.
|
String |
productIdentifier()
Returns a String that identifies the product that is purchased.
|
int |
quantity()
Returns the number of requested items.
|
NSData |
requestData()
Returns special data that will be used in the future.
|
String |
toString() |
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
public static SKPayment paymentWithProduct(SKProduct product)
product
- The id of product.public String productIdentifier()
public int quantity()
public NSData requestData()
Copyright © 2020. All rights reserved.