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
objectsDeclaration
Swift
public static let files: MoltinInclude
-
Includes
Product
objectsDeclaration
Swift
public static let products: MoltinInclude
-
Includes
Collection
objectsDeclaration
Swift
public static let collections: MoltinInclude
-
Includes
Brand
objectsDeclaration
Swift
public static let brands: MoltinInclude
-
Includes
Category
objectsDeclaration
Swift
public static let categories: MoltinInclude
-
Includes a
File
object representing the main imageDeclaration
Swift
public static let mainImage: MoltinInclude
-
Includes
TaxItem
objectsDeclaration
Swift
public static let taxes: MoltinInclude
-
Declaration
Swift
public init(rawValue: String)