Edit

Share via


SKMutablePayment.PaymentWithProduct Method

Definition

Overloads

PaymentWithProduct(SKProduct)
PaymentWithProduct(String)

Developers should not use this deprecated method. Developers should use 'PaymentWithProduct (SKProduct)' after fetching the list of available products from 'SKProductRequest' instead.

PaymentWithProduct(SKProduct)

[Foundation.Export("paymentWithProduct:")]
public static StoreKit.SKMutablePayment PaymentWithProduct (StoreKit.SKProduct product);
static member PaymentWithProduct : StoreKit.SKProduct -> StoreKit.SKMutablePayment

Parameters

product
SKProduct

Returns

Attributes

Applies to

PaymentWithProduct(String)

Developers should not use this deprecated method. Developers should use 'PaymentWithProduct (SKProduct)' after fetching the list of available products from 'SKProductRequest' instead.

[Foundation.Export("paymentWithProductIdentifier:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'PaymentWithProduct (SKProduct)' after fetching the list of available products from 'SKProductRequest' instead.")]
public static StoreKit.SKMutablePayment PaymentWithProduct (string identifier);
static member PaymentWithProduct : string -> StoreKit.SKMutablePayment

Parameters

identifier
String

Returns

Attributes

Applies to