Edit

Share via


PKPaymentSummaryItem.Create Method

Definition

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

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

Returns

Attributes

Applies to