Brand

open class Brand : Codable, HasRelationship

Represents a Brand in Moltin

  • id

    The id of this brand

    Declaration

    Swift

    public let id: String
  • The type of this object

    Declaration

    Swift

    public let type: String
  • The name of this brand

    Declaration

    Swift

    public let name: String
  • The slug of this brand

    Declaration

    Swift

    public let slug: String
  • The description of this brand

    Declaration

    Swift

    public let description: String
  • draft / live

    Declaration

    Swift

    public let status: String
  • The relationships this brand has

    Declaration

    Swift

    public let relationships: Relationships?
  • The brands this brand is associated with

    Declaration

    Swift

    public var brands: [Brand]?
  • The products this brand is associated with

    Declaration

    Swift

    public var products: [Product]?
  • The children of this brand

    Declaration

    Swift

    public var children: [Brand]?
  • Declaration

    Swift

    required public init(from decoder: Decoder) throws