package fields // swagger:enum OrderType // ENUM( Charge, Consume, Refund) type OrderType int16 // swagger:enum OrderStatus // ENUM( Pending, Paid, Refunding, Refunded, Cancelled) type OrderStatus int16 type OrderMeta struct { ObjectID int64 `json:"object_id"` Price int64 `json:"price"` Discount int16 `json:"discount"` Coupons []struct { ID int64 `json:"id"` Description string `json:"description"` } `json:"coupons"` }