class YandexDostavkaApi::Entity::Item
- YandexDostavkaApi::Entity::Item
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Strict
Defined in:
yandex_dostavka_api/entities/item.crConstructors
- .new(pull : JSON::PullParser)
-
.new(pickup_point : Int64 = 0, droppof_point : Int64 = 0, title : String = "Товары", size : Size = Size.new(0, 0, 0), weight : Float64 = 0.0, quantity : Int32 = 1, cost_value : Float64 = 0.0, extra_id : String | Nil = nil)
fiscalization
Instance Method Summary
- #cost_currency : String
- #cost_currency=(cost_currency : String)
- #cost_value : String
- #cost_value=(value : String)
- #cost_value=(value : Float64)
- #droppof_point : Int64
- #droppof_point=(droppof_point : Int64)
-
#extra_id : String | Nil
Номер заказа в рамках заявки, как правило идентичен external_order_id
-
#extra_id=(extra_id : String | Nil)
Номер заказа в рамках заявки, как правило идентичен external_order_id
- #fiscalization : Fiscalization | Nil
- #fiscalization=(fiscalization : Fiscalization | Nil)
- #pickup_point : Int64
- #pickup_point=(pickup_point : Int64)
- #quantity : Int32
- #quantity=(quantity : Int32)
- #size : Size
- #size=(size : Size)
- #title : String
- #title=(title : String)
- #weight : Float64
- #weight=(weight : Float64)
Constructor Detail
def self.new(pickup_point : Int64 = 0, droppof_point : Int64 = 0, title : String = "Товары", size : Size = Size.new(0, 0, 0), weight : Float64 = 0.0, quantity : Int32 = 1, cost_value : Float64 = 0.0, extra_id : String | Nil = nil)
#
fiscalization
Instance Method Detail
def extra_id=(extra_id : String | Nil)
#
Номер заказа в рамках заявки, как правило идентичен external_order_id