PresentableComponent

public protocol PresentableComponent : Component

A component that provides a view controller for the shopper to fill payment details.

  • Indicates whether viewController expected to be presented modally, hence it can not handle its own presentation and dismissal.

    Declaration

    Swift

    var requiresModalPresentation: Bool { get }
  • Returns a view controller that presents the payment details for the shopper to fill.

    Declaration

    Swift

    var viewController: UIViewController { get }
  • Indicates whether Component implements a custom Navigation bar.

    Declaration

    Swift

    var navBarType: NavigationBarType { get }