PCFShopView

public struct PCFShopView: ShopView, Decodable

Shop view model.

  • Collection of navigation item for the main navigation.

    Declaration

    Swift

    public let mainNavigation: [NavigationItemType]
  • Collection of navigation item for the secondary navigation.

    Declaration

    Swift

    public let secondaryNavigation: [NavigationItemType]
  • Collection of products.

    Declaration

    Swift

    public let featuredProducts: [ProductType]
  • Collection of products.

    Declaration

    Swift

    public init?(json: JSON)

    Parameters

    json

    JSON representation of object.

    Return Value

    New instance when JSON parsing successful, false otherwise.