Protocols

The following protocols are available globally.

  • Address protocol.

    See more

    Declaration

    Swift

    public protocol Address
  • Cart protocol.

    See more

    Declaration

    Swift

    public protocol Cart
  • Cart interactor that can manipulate and do business logic around cart functionality.

    See more

    Declaration

    Swift

    public protocol CartInteractor
  • CartItem protocol.

    See more

    Declaration

    Swift

    public protocol CartItem
  • Category protocol.

    See more

    Declaration

    Swift

    public protocol Category
  • Color protocol

    See more

    Declaration

    Swift

    public protocol Color: Equatable
  • Country protocol.

    See more

    Declaration

    Swift

    public protocol Country
  • User credentials protocol.

    See more

    Declaration

    Swift

    public protocol Credentials
  • The base protocol for all data managers. Contains functionality common to all data managers.

    See more

    Declaration

    Swift

    public protocol DataManager
  • Environment switcher menu protocol.

    Declaration

    Swift

    public protocol EnvironmentSwitcherMenu: YoshiTableViewMenu
  • Error protocol.

    See more

    Declaration

    Swift

    public protocol Error: Swift.Error
  • Filter protocol.

    See more

    Declaration

    Swift

    public protocol Filter
  • Navigation interactor that maintains a navigation structure consisting of different categories in an application.

    See more

    Declaration

    Swift

    public protocol NavigationInteractor: class
  • Navigation item protocol. Describes a navigation item. Usually contains a deeplink.

    See more

    Declaration

    Swift

    public protocol NavigationItem
  • Order protocol.

    See more

    Declaration

    Swift

    public protocol Order
  • Order interactor protocol that can manipulate and do business logic around orders functionality.

    See more

    Declaration

    Swift

    public protocol OrderInteractor
  • Defines an object that can be converted into URL parameters.

    See more

    Declaration

    Swift

    public protocol ParameterConvertible
  • Represents means to pay for an order.

    See more

    Declaration

    Swift

    public protocol PaymentObject
  • Saves and retrieves (key, value) pairs to/from disk

    See more

    Declaration

    Swift

    public protocol Persistable
  • Product protocol.

    See more

    Declaration

    Swift

    public protocol Product
  • Product interactor that can retrieve a full product and handles all the business logic around the PCF product feature.

    See more

    Declaration

    Swift

    public protocol ProductInteractor: class
  • Defines an object that can be converted into URL query parameters.

    See more

    Declaration

    Swift

    public protocol QueryItemConvertible
  • Shop view protocol. Describes the main navigation menu.

    See more

    Declaration

    Swift

    public protocol ShopView
  • Sku

    Sku protocol

    See more

    Declaration

    Swift

    public protocol Sku
  • Wishlist protocol.

    See more

    Declaration

    Swift

    public protocol Wishlist