FIModelBase

protocol FIModelBase

The base properties that describe a financial instrument

  • Does the top plan allow currency conversion?

    Declaration

    Swift

    var allowsCurrencyConversion: Bool { get }
  • Does the FI allow preferred boolean

    Declaration

    Swift

    var allowsPreferred: Bool { get }
  • Describes the CTA’s current button state type ie. continue, addCard, etc.

    Declaration

    Swift

    var buttonCTADescriptor: ButtonStateKey { get }
  • The available FI data

    Declaration

    Swift

    var data: FundingOption? { get }
  • The FI image

    Declaration

    Swift

    var image: UIImage? { get }
  • The FIs’ preferred status

    Declaration

    Swift

    var preferred: Bool { get }