Class: Peddler::APIs::ShipmentInvoicingV0::Address
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ShipmentInvoicingV0::Address
- Defined in:
- sig/peddler/apis/shipment_invoicing_v0.rbs
Instance Attribute Summary collapse
-
#address_line1 ⇒ String?
readonly
Returns the value of attribute address_line1.
-
#address_line2 ⇒ String?
readonly
Returns the value of attribute address_line2.
-
#address_line3 ⇒ String?
readonly
Returns the value of attribute address_line3.
-
#address_type ⇒ String?
readonly
Returns the value of attribute address_type.
-
#city ⇒ String?
readonly
Returns the value of attribute city.
-
#country_code ⇒ String?
readonly
Returns the value of attribute country_code.
-
#county ⇒ String?
readonly
Returns the value of attribute county.
-
#district ⇒ String?
readonly
Returns the value of attribute district.
-
#name ⇒ String?
readonly
Returns the value of attribute name.
-
#phone ⇒ String?
readonly
Returns the value of attribute phone.
-
#postal_code ⇒ String?
readonly
Returns the value of attribute postal_code.
-
#state_or_region ⇒ String?
readonly
Returns the value of attribute state_or_region.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :address_line1, :address_line2, :address_line3, :address_type, :city, :country_code, :county, :district, :name, :phone, :postal_code, :state_or_region ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ShipmentInvoicingV0::Address
Instance Method Summary collapse
-
#members ⇒ [ :address_line1, :address_line2, :address_line3, :address_type, :city, :country_code, :county, :district, :name, :phone, :postal_code, :state_or_region ]
-
#to_h ⇒ { address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, country_code: String?, county: String?, district: String?, name: String?, phone: String?, postal_code: String?, state_or_region: String? }
Instance Attribute Details
#address_line1 ⇒ String? (readonly)
Returns the value of attribute address_line1.
14 15 16 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 14 def address_line1 @address_line1 end |
#address_line2 ⇒ String? (readonly)
Returns the value of attribute address_line2.
15 16 17 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 15 def address_line2 @address_line2 end |
#address_line3 ⇒ String? (readonly)
Returns the value of attribute address_line3.
16 17 18 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 16 def address_line3 @address_line3 end |
#address_type ⇒ String? (readonly)
Returns the value of attribute address_type.
17 18 19 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 17 def address_type @address_type end |
#city ⇒ String? (readonly)
Returns the value of attribute city.
18 19 20 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 18 def city @city end |
#country_code ⇒ String? (readonly)
Returns the value of attribute country_code.
19 20 21 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 19 def country_code @country_code end |
#county ⇒ String? (readonly)
Returns the value of attribute county.
20 21 22 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 20 def county @county end |
#district ⇒ String? (readonly)
Returns the value of attribute district.
21 22 23 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 21 def district @district end |
#name ⇒ String? (readonly)
Returns the value of attribute name.
22 23 24 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 22 def name @name end |
#phone ⇒ String? (readonly)
Returns the value of attribute phone.
23 24 25 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 23 def phone @phone end |
#postal_code ⇒ String? (readonly)
Returns the value of attribute postal_code.
24 25 26 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 24 def postal_code @postal_code end |
#state_or_region ⇒ String? (readonly)
Returns the value of attribute state_or_region.
25 26 27 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 25 def state_or_region @state_or_region end |
Class Method Details
.[](address_line1:, address_line2:, address_line3:, address_type:, city:, country_code:, county:, district:, name:, phone:, postal_code:, state_or_region:) ⇒ Peddler::APIs::ShipmentInvoicingV0::Address .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ⇒ Peddler::APIs::ShipmentInvoicingV0::Address
7 8 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 7
def self.[]: (?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?country_code: String?, ?county: String?, ?district: String?, ?name: String?, ?phone: String?, ?postal_code: String?, ?state_or_region: String?) -> Peddler::APIs::ShipmentInvoicingV0::Address
| (String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::ShipmentInvoicingV0::Address
|
.members ⇒ [ :address_line1, :address_line2, :address_line3, :address_type, :city, :country_code, :county, :district, :name, :phone, :postal_code, :state_or_region ]
10 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 10
def self.members: () -> [ :address_line1, :address_line2, :address_line3, :address_type, :city, :country_code, :county, :district, :name, :phone, :postal_code, :state_or_region ]
|
.new(address_line1:, address_line2:, address_line3:, address_type:, city:, country_code:, county:, district:, name:, phone:, postal_code:, state_or_region:) ⇒ Peddler::APIs::ShipmentInvoicingV0::Address .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ⇒ Peddler::APIs::ShipmentInvoicingV0::Address
5 6 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 5
def self.new: (?address_line1: String?, ?address_line2: String?, ?address_line3: String?, ?address_type: String?, ?city: String?, ?country_code: String?, ?county: String?, ?district: String?, ?name: String?, ?phone: String?, ?postal_code: String?, ?state_or_region: String?) -> Peddler::APIs::ShipmentInvoicingV0::Address
| (String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::ShipmentInvoicingV0::Address
|
.parse ⇒ Peddler::APIs::ShipmentInvoicingV0::Address
12 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ShipmentInvoicingV0::Address
|
Instance Method Details
#members ⇒ [ :address_line1, :address_line2, :address_line3, :address_type, :city, :country_code, :county, :district, :name, :phone, :postal_code, :state_or_region ]
27 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 27
def members: () -> [ :address_line1, :address_line2, :address_line3, :address_type, :city, :country_code, :county, :district, :name, :phone, :postal_code, :state_or_region ]
|
#to_h ⇒ { address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, country_code: String?, county: String?, district: String?, name: String?, phone: String?, postal_code: String?, state_or_region: String? }
28 |
# File 'sig/peddler/apis/shipment_invoicing_v0.rbs', line 28
def to_h: () -> { address_line1: String?, address_line2: String?, address_line3: String?, address_type: String?, city: String?, country_code: String?, county: String?, district: String?, name: String?, phone: String?, postal_code: String?, state_or_region: String? }
|