PKPaymentSummaryItem.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(String, NSDecimalNumber) |
Factory method to create a new PKPaymentSummaryItem. |
Create(String, NSDecimalNumber, PKPaymentSummaryItemType) |
Creates and returns a new payment summary item with the specified data. |
Create(String, NSDecimalNumber)
Factory method to create a new PKPaymentSummaryItem.
[Foundation.Export("summaryItemWithLabel:amount:")]
public static PassKit.PKPaymentSummaryItem Create (string label, Foundation.NSDecimalNumber amount);
static member Create : string * Foundation.NSDecimalNumber -> PassKit.PKPaymentSummaryItem
Parameters
- label
- String
- amount
- NSDecimalNumber
Returns
- Attributes
Applies to
Create(String, NSDecimalNumber, PKPaymentSummaryItemType)
Creates and returns a new payment summary item with the specified data.
[Foundation.Export("summaryItemWithLabel:amount:type:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static PassKit.PKPaymentSummaryItem Create (string label, Foundation.NSDecimalNumber amount, PassKit.PKPaymentSummaryItemType type);
static member Create : string * Foundation.NSDecimalNumber * PassKit.PKPaymentSummaryItemType -> PassKit.PKPaymentSummaryItem
Parameters
- label
- String
- amount
- NSDecimalNumber
Returns
- Attributes