Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
590 lines (589 sloc) 30.9 KB
<Type Name="SKPayment" FullName="StoreKit.SKPayment">
<TypeSignature Language="C#" Value="public class SKPayment : Foundation.NSObject, Foundation.INSMutableCopying, IDisposable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit SKPayment extends Foundation.NSObject implements class Foundation.INSCopying, class Foundation.INSMutableCopying, class ObjCRuntime.INativeObject, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:StoreKit.SKPayment" />
<TypeSignature Language="F#" Value="type SKPayment = class&#xA; inherit NSObject&#xA; interface INSCopying&#xA; interface INativeObject&#xA; interface IDisposable&#xA; interface INSMutableCopying" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Foundation.NSObject</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Foundation.INSCopying</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Foundation.INSMutableCopying</InterfaceName>
</Interface>
<Interface>
<InterfaceName>ObjCRuntime.INativeObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>Foundation.Register("SKPayment", true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Request to process a payment.</summary>
<remarks>To be added.</remarks>
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/StoreKit/Reference/SKPaymentRequest_Class/index.html">Apple documentation for <c>SKPayment</c></related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public SKPayment ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:StoreKit.SKPayment.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("init")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Default constructor that initializes a new instance of this class with no parameters.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected SKPayment (Foundation.NSObjectFlag t);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class Foundation.NSObjectFlag t) cil managed" />
<MemberSignature Language="DocId" Value="M:StoreKit.SKPayment.#ctor(Foundation.NSObjectFlag)" />
<MemberSignature Language="F#" Value="new StoreKit.SKPayment : Foundation.NSObjectFlag -&gt; StoreKit.SKPayment" Usage="new StoreKit.SKPayment t" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="t" Type="Foundation.NSObjectFlag" />
</Parameters>
<Docs>
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
<remarks>
<para>This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the NSObject. This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object. When developers invoke the constructor that takes the NSObjectFlag.Empty they take advantage of a direct path that goes all the way up to NSObject to merely allocate the object's memory and bind the Objective-C and C# objects together. The actual initialization of the object is up to the developer.</para>
<para>This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place. Once the allocation has taken place, the constructor has to initialize the object. With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.</para>
<para>It is the developer's responsibility to completely initialize the object if they chain up using the NSObjectFlag.Empty path.</para>
<para>In general, if the developer's constructor invokes the NSObjectFlag.Empty base implementation, then it should be calling an Objective-C init method. If this is not the case, developers should instead chain to the proper constructor in their class. </para>
<para>The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic NSObject allocation and runtime type registration. Typically the chaining would look like this:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// The NSObjectFlag merely allocates the object and registers the
// C# class with the Objective-C runtime if necessary, but no actual
// initXxx method is invoked, that is done later in the constructor
//
// This is taken from Xamarin.iOS's source code:
//
[Export ("initWithFrame:")]
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
{
// Invoke the init method now.
var initWithFrame = new Selector ("initWithFrame:").Handle;
if (IsDirectBinding)
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
else
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected internal SKPayment (IntPtr handle);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
<MemberSignature Language="DocId" Value="M:StoreKit.SKPayment.#ctor(System.IntPtr)" />
<MemberSignature Language="F#" Value="new StoreKit.SKPayment : nativeint -&gt; StoreKit.SKPayment" Usage="new StoreKit.SKPayment handle" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="handle" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="handle">Pointer (handle) to the unmanaged object.</param>
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
<remarks>
<para>This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object. Developers should not invoke this method directly, instead they should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="ApplicationUsername">
<MemberSignature Language="C#" Value="public virtual string ApplicationUsername { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string ApplicationUsername" />
<MemberSignature Language="DocId" Value="P:StoreKit.SKPayment.ApplicationUsername" />
<MemberSignature Language="F#" Value="member this.ApplicationUsername : string" Usage="StoreKit.SKPayment.ApplicationUsername" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("applicationUsername", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets an opaque identifier for the user.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ClassHandle">
<MemberSignature Language="C#" Value="public override IntPtr ClassHandle { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ClassHandle" />
<MemberSignature Language="DocId" Value="P:StoreKit.SKPayment.ClassHandle" />
<MemberSignature Language="F#" Value="member this.ClassHandle : nativeint" Usage="StoreKit.SKPayment.ClassHandle" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>The handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>Each Xamarin.iOS class mirrors an unmanaged Objective-C class. This value contains the pointer to the Objective-C class, it is similar to calling objc_getClass with the object name.</remarks>
</Docs>
</Member>
<Member MemberName="Copy">
<MemberSignature Language="C#" Value="public virtual Foundation.NSObject Copy (Foundation.NSZone zone);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Foundation.NSObject Copy(class Foundation.NSZone zone) cil managed" />
<MemberSignature Language="DocId" Value="M:StoreKit.SKPayment.Copy(Foundation.NSZone)" />
<MemberSignature Language="F#" Value="override this.Copy : Foundation.NSZone -&gt; Foundation.NSObject" Usage="sKPayment.Copy zone" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Foundation.INSCopying.Copy(Foundation.NSZone)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("copyWithZone:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="zone" Type="Foundation.NSZone" />
</Parameters>
<Docs>
<param name="zone">Zone to use to allocate this object, or null to use the default zone.</param>
<summary>Performs a copy of the underlying Objective-C object.</summary>
<returns>This method performs a copy of the underlying Objective-C object state and returns a new instance of it. It does not actually try to replicate any managed state.</returns>
<remarks>Implementation of the INSCopyable interface.</remarks>
</Docs>
</Member>
<Member MemberName="CreateFrom">
<MemberSignature Language="C#" Value="public static StoreKit.SKPayment CreateFrom (StoreKit.SKProduct product);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class StoreKit.SKPayment CreateFrom(class StoreKit.SKProduct product) cil managed" />
<MemberSignature Language="DocId" Value="M:StoreKit.SKPayment.CreateFrom(StoreKit.SKProduct)" />
<MemberSignature Language="F#" Value="static member CreateFrom : StoreKit.SKProduct -&gt; StoreKit.SKPayment" Usage="StoreKit.SKPayment.CreateFrom product" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("paymentWithProduct:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>StoreKit.SKPayment</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="product" Type="StoreKit.SKProduct" />
</Parameters>
<Docs>
<param name="product">To be added.</param>
<summary>Creates and returns a new StoreKit payment for the provided <paramref name="product" />.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateFrom">
<MemberSignature Language="C#" Value="public static StoreKit.SKPayment CreateFrom (string identifier);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class StoreKit.SKPayment CreateFrom(string identifier) cil managed" />
<MemberSignature Language="DocId" Value="M:StoreKit.SKPayment.CreateFrom(System.String)" />
<MemberSignature Language="F#" Value="static member CreateFrom : string -&gt; StoreKit.SKPayment" Usage="StoreKit.SKPayment.CreateFrom identifier" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="xamarin-ios-sdk-12">
<AttributeName>Foundation.Export("paymentWithProductIdentifier:")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="xamarin-ios-sdk-12">
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="xamarin-ios-sdk-12">
<AttributeName>ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'FromProduct (SKProduct)'' after fetching the list of available products from 'SKProductRequest' instead.")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>StoreKit.SKPayment</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="identifier" Type="System.String" Index="0" FrameworkAlternate="xamarin-ios-sdk-12" />
</Parameters>
<Docs>
<param name="identifier">To be added.</param>
<summary>Developers should not use this deprecated method. Developers should use 'FromProduct (SKProduct)'' after fetching the list of available products from 'SKProductRequest' instead.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MutableCopy">
<MemberSignature Language="C#" Value="public virtual Foundation.NSObject MutableCopy (Foundation.NSZone zone);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Foundation.NSObject MutableCopy(class Foundation.NSZone zone) cil managed" />
<MemberSignature Language="DocId" Value="M:StoreKit.SKPayment.MutableCopy(Foundation.NSZone)" />
<MemberSignature Language="F#" Value="override this.MutableCopy : Foundation.NSZone -&gt; Foundation.NSObject" Usage="sKPayment.MutableCopy zone" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Foundation.INSMutableCopying.MutableCopy(Foundation.NSZone)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("mutableCopyWithZone:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSObject</ReturnType>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.Release</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="zone" Type="Foundation.NSZone" />
</Parameters>
<Docs>
<param name="zone">Zone to use to allocate this object, or null to use the default zone.</param>
<summary>Performs a copy of the underlying Objective-C object.</summary>
<returns>This method performs a copy of the underlying Objective-C object state and returns a new instance of it. It does not actually try to replicate any managed state.</returns>
<remarks>Implementation of the INSCopyable interface.</remarks>
</Docs>
</Member>
<Member MemberName="PaymentWithProduct">
<MemberSignature Language="C#" Value="public static StoreKit.SKPayment PaymentWithProduct (StoreKit.SKProduct product);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class StoreKit.SKPayment PaymentWithProduct(class StoreKit.SKProduct product) cil managed" />
<MemberSignature Language="DocId" Value="M:StoreKit.SKPayment.PaymentWithProduct(StoreKit.SKProduct)" />
<MemberSignature Language="F#" Value="static member PaymentWithProduct : StoreKit.SKProduct -&gt; StoreKit.SKPayment" Usage="StoreKit.SKPayment.PaymentWithProduct product" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("Use FromProduct (SKProduct) instead.")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>StoreKit.SKPayment</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="product" Type="StoreKit.SKProduct" />
</Parameters>
<Docs>
<param name="product">To be added.</param>
<summary>Factory constructor from an existing SKProduct.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PaymentWithProduct">
<MemberSignature Language="C#" Value="public static StoreKit.SKPayment PaymentWithProduct (string identifier);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class StoreKit.SKPayment PaymentWithProduct(string identifier) cil managed" />
<MemberSignature Language="DocId" Value="M:StoreKit.SKPayment.PaymentWithProduct(System.String)" />
<MemberSignature Language="F#" Value="static member PaymentWithProduct : string -&gt; StoreKit.SKPayment" Usage="StoreKit.SKPayment.PaymentWithProduct identifier" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="xamarin-ios-sdk-12">
<AttributeName>System.Obsolete("Use FromProductIdentifier (string) instead.")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>StoreKit.SKPayment</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="identifier" Type="System.String" Index="0" FrameworkAlternate="xamarin-ios-sdk-12" />
</Parameters>
<Docs>
<param name="identifier">To be added.</param>
<summary>Factory constructor from a product name.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ProductIdentifier">
<MemberSignature Language="C#" Value="public virtual string ProductIdentifier { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string ProductIdentifier" />
<MemberSignature Language="DocId" Value="P:StoreKit.SKPayment.ProductIdentifier" />
<MemberSignature Language="F#" Value="member this.ProductIdentifier : string" Usage="StoreKit.SKPayment.ProductIdentifier" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("productIdentifier", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>The product identifier.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Quantity">
<MemberSignature Language="C#" Value="public virtual nint Quantity { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.nint Quantity" />
<MemberSignature Language="DocId" Value="P:StoreKit.SKPayment.Quantity" />
<MemberSignature Language="F#" Value="member this.Quantity : nint" Usage="StoreKit.SKPayment.Quantity" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("quantity")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nint</ReturnType>
</ReturnValue>
<Docs>
<summary>Number of items to purchase.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RequestData">
<MemberSignature Language="C#" Value="public virtual Foundation.NSData RequestData { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSData RequestData" />
<MemberSignature Language="DocId" Value="P:StoreKit.SKPayment.RequestData" />
<MemberSignature Language="F#" Value="member this.RequestData : Foundation.NSData with get, set" Usage="StoreKit.SKPayment.RequestData" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.NotImplemented("Not available on SKPayment, only available on SKMutablePayment")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("requestData", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSData</ReturnType>
</ReturnValue>
<Docs>
<summary>Reserved for future use.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SimulatesAskToBuyInSandbox">
<MemberSignature Language="C#" Value="public virtual bool SimulatesAskToBuyInSandbox { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool SimulatesAskToBuyInSandbox" />
<MemberSignature Language="DocId" Value="P:StoreKit.SKPayment.SimulatesAskToBuyInSandbox" />
<MemberSignature Language="F#" Value="member this.SimulatesAskToBuyInSandbox : bool with get, set" Usage="StoreKit.SKPayment.SimulatesAskToBuyInSandbox" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Xamarin.Mac</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("simulatesAskToBuyInSandbox")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.NotImplemented("Not available on SKPayment, only available on SKMutablePayment")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a Boolean value that controls whether the "ask to buy" flow will be simulated in the sandbox.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.