PCart

public class PCart : Mappable

Cart model, using for cart summary in the app

  • id

    Cart ID

    Declaration

    Swift

    public var id: Int
  • Items

    Declaration

    Swift

    public var items: [PCartItem]?
  • Total

    Declaration

    Swift

    public var total: String?
  • Items count

    Declaration

    Swift

    public var items_count: Int
  • Created time

    Declaration

    Swift

    public var created_at: Date?
  • Updated time

    Declaration

    Swift

    public var updated_at: Date?
  • JSON Mapper

    Declaration

    Swift

    required public init(map: Mapper) throws