DearInventoryRuby::ShippingAddress
Name
Type
Description
Notes
display_address_line1
String
Address Line 1 as displayed on Sale form. = Line1 + Line2
[optional]
display_address_line2
String
Address Line 2 as displayed on Sale form. = City + State/Region + Zip/Postcode + Country
[optional]
line1
String
Address Line 1
line2
String
Address Line 2
[optional]
city
String
City
[optional]
state
String
State
[optional]
post_code
String
Post code
[optional]
country
String
Country
company
String
Company Name
[optional]
contact
String
Contact
[optional]
ship_to_other
Boolean
If false and Customer's address matching Line 1 not found, than new customer shipping address will be created.
[optional]
require 'DearInventoryRuby'
instance = DearInventoryRuby ::ShippingAddress . new ( display_address_line1 : nil ,
display_address_line2 : nil ,
line1 : nil ,
line2 : nil ,
city : nil ,
state : nil ,
post_code : nil ,
country : nil ,
company : nil ,
contact : nil ,
ship_to_other : nil )