Card Component

  • /// A component that provides a form for card payments.

    See more

    Declaration

    Swift

    public class CardComponent: CardPublicKeyConsumer,
        PresentableComponent,
        Localizable,
        LoadingComponent
  • A component that handles BCMC card payments.

    Declaration

    Swift

    public final class BCMCComponent : CardComponent
  • Contains the details provided by the card component.

    See more

    Declaration

    Swift

    public struct CardDetails : PaymentMethodDetails, ShopperInformation
  • The additional details for Korean Cards Payment.

    See more

    Declaration

    Swift

    public struct KCPDetails : AdditionalDetails
  • Indicates the Card funding source.

    See more

    Declaration

    Swift

    public enum CardFundingSource : String, Codable
  • Enum containing most known types of credit and debit cards.

    See more

    Declaration

    Swift

    public enum CardType : RawRepresentable, Codable, Equatable, Hashable
  • Describes the Card brand.

    See more

    Declaration

    Swift

    public struct CardBrand : Decodable
  • Formats a card’s expiration date for display. The input is expected to be sanitized as “MMYY”, which will result in “MM / YY”.

    Declaration

    Swift

    public final class CardExpiryDateFormatter : NumericFormatter
  • Validates a card’s expiration date. The input is expected to be sanitized as “MMYY”. Validation will fail when the format is invalid or the date is in the past.

    Declaration

    Swift

    public final class CardExpiryDateValidator : Validator
  • Formats a card’s security code (CVC/CVV).

    See more

    Declaration

    Swift

    public final class CardSecurityCodeFormatter : NumericFormatter, Observer
  • Validates a card’s security code.

    See more

    Declaration

    Swift

    public final class CardSecurityCodeValidator : NumericStringValidator, Observer
  • Formats a card’s number for display.

    See more

    Declaration

    Swift

    public final class CardNumberFormatter : NumericFormatter
  • Validates a card’s number. The input is expected to be sanitized.

    Declaration

    Swift

    public final class CardNumberValidator : Validator
  • Delegate for observing user’s activity on CardComponent.

    See more

    Declaration

    Swift

    public protocol CardComponentDelegate : AnyObject
  • Stored card configuration.

    See more

    Declaration

    Swift

    public struct StoredCardConfiguration
  • Configuration type to specify installment options.

    See more

    Declaration

    Swift

    public struct InstallmentConfiguration
  • Details to configure Installment Options. These always include regular monthly installments, but in some countries revolving option may be added.

    See more

    Declaration

    Swift

    public struct InstallmentOptions : Equatable
  • The model to create an installments instance.

    See more

    Declaration

    Swift

    public struct Installments : Encodable, Equatable