MoltinInclude

public struct MoltinInclude : RawRepresentable, Equatable

MoltinInclude represents various resources which can be included into other API calls, such as including the collections assigned to products This struct is for use in the MoltinRequest.include(...) method

  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public var rawValue: String
  • Includes File objects

    Declaration

    Swift

    public static let files: MoltinInclude
  • Includes Product objects

    Declaration

    Swift

    public static let products: MoltinInclude
  • Includes Collection objects

    Declaration

    Swift

    public static let collections: MoltinInclude
  • Includes Brand objects

    Declaration

    Swift

    public static let brands: MoltinInclude
  • Includes Category objects

    Declaration

    Swift

    public static let categories: MoltinInclude
  • Includes a File object representing the main image

    Declaration

    Swift

    public static let mainImage: MoltinInclude
  • Includes TaxItem objects

    Declaration

    Swift

    public static let taxes: MoltinInclude
  • Declaration

    Swift

    public init(rawValue: String)