ApplePayConfiguration

final class ApplePayConfiguration

Apple Pay component configuration.

  • Create new instance of ApplePayConfiguration

    Declaration

    Swift

    public init(summaryItems: [PKPaymentSummaryItem],
                merchantIdentifier: String,
                requiredBillingContactFields: Set<PKContactField> = [],
                requiredShippingContactFields: Set<PKContactField> = [])
  • The public key used for encrypting card details.

    Declaration

    Swift

    public var summaryItems: [PKPaymentSummaryItem]
  • The merchant identifier for apple pay.

    Declaration

    Swift

    public var merchantIdentifier: String
  • A list of fields that you need for a billing contact in order to process the transaction.

    Declaration

    Swift

    public var requiredBillingContactFields: Set<PKContactField>
  • A list of fields that you need for a shipping contact in order to process the transaction.

    Declaration

    Swift

    public var requiredShippingContactFields: Set<PKContactField>