GiftCardDetails

public struct GiftCardDetails : PaymentMethodDetails

Contains the details provided by the card component.

  • The payment method type.

    Declaration

    Swift

    public let type: String
  • The encrypted card number.

    Declaration

    Swift

    public let encryptedCardNumber: String
  • The encrypted security code.

    Declaration

    Swift

    public let encryptedSecurityCode: String
  • The gift card brand.

    Declaration

    Swift

    public let brand: String
  • Initializes the card payment details.

    Declaration

    Swift

    public init(paymentMethod: GiftCardPaymentMethod, encryptedCardNumber: String, encryptedSecurityCode: String)

    Parameters

    paymentMethod

    The used gift card payment method.

    encryptedCardNumber

    The encrypted card number.

    encryptedSecurityCode

    The encrypted security code.