ProductsRequest
public enum ProductsRequest : URLRequestConvertible
Enumeration of network requests for Products.
-
Get products under a specific category.
Declaration
Swift
case getProducts(category: String, parameters: Parameters?) -
Get all available product categories.
Declaration
Swift
case getCategories -
Get a specific product.
Declaration
Swift
case loadProductComponents(id: Int, parameters: Parameters?) -
Prepare client token.
Declaration
Swift
case prepareClientToken -
Get all orders with optional
Parameters.Declaration
Swift
case getOrders(parameters: Parameters?) -
Get a specific order with ID and optional
Parameters.Declaration
Swift
case getOrder(id: Int, parameters: Parameters?) -
Declaration
Swift
public var path: String { get } -
Declaration
Swift
public var parameters: Parameters? { get }
View on GitHub
ProductsRequest Enumeration Reference