class YandexDostavkaApi::Entity::Item

Included Modules

Defined in:

yandex_dostavka_api/entities/item.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
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


[View source]

Instance Method Detail

def cost_currency : String #

[View source]
def cost_currency=(cost_currency : String) #

[View source]
def cost_value : String #

[View source]
def cost_value=(value : String) #

[View source]
def cost_value=(value : Float64) #

[View source]
def droppof_point : Int64 #

[View source]
def droppof_point=(droppof_point : Int64) #

[View source]
def extra_id : String | Nil #

Номер заказа в рамках заявки, как правило идентичен external_order_id


[View source]
def extra_id=(extra_id : String | Nil) #

Номер заказа в рамках заявки, как правило идентичен external_order_id


[View source]
def fiscalization : Fiscalization | Nil #

[View source]
def fiscalization=(fiscalization : Fiscalization | Nil) #

[View source]
def pickup_point : Int64 #

[View source]
def pickup_point=(pickup_point : Int64) #

[View source]
def quantity : Int32 #

[View source]
def quantity=(quantity : Int32) #

[View source]
def size : Size #

[View source]
def size=(size : Size) #

[View source]
def title : String #

[View source]
def title=(title : String) #

[View source]
def weight : Float64 #

[View source]
def weight=(weight : Float64) #

[View source]