One Logo Pool Ball
PassKit · IOS API REFERENCE

PKPaymentSummaryItem

class · iOS 8.0+ · SDK 27.1

class PKPaymentSummaryItem

Members (8)

init · iOS 8.0+

init

TypeScript
static initLabelAmount(label: string, amount: _Foundation_NSDecimalNumber): PKPaymentSummaryItem
Swift declaration
convenience init(label: String, amount: NSDecimalNumber)
init · iOS 9.0+

init

TypeScript
static initLabelAmountType(label: string, amount: _Foundation_NSDecimalNumber, type: PKPaymentSummaryItemType): PKPaymentSummaryItem
Swift declaration
convenience init(label: String, amount: NSDecimalNumber, type: PKPaymentSummaryItemType)
get · iOS 8.0+

amount

TypeScript
get amount(): _Foundation_NSDecimalNumber
Swift declaration
@NSCopying var amount: NSDecimalNumber { get set }
set · iOS 8.0+

amount

TypeScript
set amount(value: _Foundation_NSDecimalNumber)
Swift declaration
@NSCopying var amount: NSDecimalNumber { get set }
get · iOS 8.0+

label

TypeScript
get label(): string
Swift declaration
var label: String { get set }
set · iOS 8.0+

label

TypeScript
set label(value: string)
Swift declaration
var label: String { get set }
get · iOS 9.0+

type

TypeScript
get type(): PKPaymentSummaryItemType
Swift declaration
var type: PKPaymentSummaryItemType { get set }
set · iOS 9.0+

type

TypeScript
set type(value: PKPaymentSummaryItemType)
Swift declaration
var type: PKPaymentSummaryItemType { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

PKPaymentSummaryItem.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All PassKit types →