struct Packlink::Order::Shipment

Included Modules

Defined in:

packlink/order.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

Class Method Detail

def self.build(data : NamedTuple | Hash) #

[View source]

Instance Method Detail

def additional_data : Hash(String, A::Scalar) #

def additional_data=(_additional_data : Hash(String, A::Scalar)) #

def content : String #

def content=(_content : String) #

def contentvalue : Float64 #

def contentvalue=(_contentvalue : Float64) #

def dropoff_point_id : String | Int32 #

def dropoff_point_id=(_dropoff_point_id : String | Int32) #

def from : Address #

def from=(_from : Address) #

def packages : Array(Package) #

def packages=(_packages : Array(Package)) #

def service_id : String | Int32 #

def service_id=(_service_id : String | Int32) #

def shipment_custom_reference : String #

def shipment_custom_reference=(_shipment_custom_reference : String) #

def source : String #

def source=(_source : String) #

def to : Address #

def to=(_to : Address) #

def to_h #

[View source]
def to_json(json : JSON::Builder) #