struct Packlink::Address

Included Modules

Defined in:

packlink/address.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

Class Method Detail

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

[View source]

Instance Method Detail

def city : String #

def city=(_city : String) #

def country : String #

def country=(_country : String) #

def email : Union(String, Nil) #

def email=(_email : Union(String, Nil)) #

def name : String #

def name=(_name : String) #

def phone : String #

def phone=(_phone : String) #

def state : Union(String, Nil) #

def state=(_state : Union(String, Nil)) #

def street1 : String #

def street1=(_street1 : String) #

def surname : String #

def surname=(_surname : String) #

def to_h #

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

def zip_code : String #

def zip_code=(_zip_code : String) #