Class: Peddler::APIs::VendorInvoicesV1::Address
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::VendorInvoicesV1::Address
- Defined in:
- sig/peddler/apis/vendor_invoices_v1.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.
-
#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_or_zip_code ⇒ String?
readonly
Returns the value of attribute postal_or_zip_code.
-
#state_or_region ⇒ String?
readonly
Returns the value of attribute state_or_region.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :address_line1, :country_code, :name, :address_line2, :address_line3, :city, :county, :district, :phone, :postal_or_zip_code, :state_or_region ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::VendorInvoicesV1::Address
Instance Method Summary collapse
-
#members ⇒ [ :address_line1, :country_code, :name, :address_line2, :address_line3, :city, :county, :district, :phone, :postal_or_zip_code, :state_or_region ]
-
#to_h ⇒ { address_line1: String, country_code: String, name: String, address_line2: String?, address_line3: String?, city: String?, county: String?, district: String?, phone: String?, postal_or_zip_code: String?, state_or_region: String? }
Instance Attribute Details
#address_line1 ⇒ String (readonly)
Returns the value of attribute address_line1.
32 33 34 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 32 def address_line1 @address_line1 end |
#address_line2 ⇒ String? (readonly)
Returns the value of attribute address_line2.
33 34 35 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 33 def address_line2 @address_line2 end |
#address_line3 ⇒ String? (readonly)
Returns the value of attribute address_line3.
34 35 36 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 34 def address_line3 @address_line3 end |
#city ⇒ String? (readonly)
Returns the value of attribute city.
35 36 37 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 35 def city @city end |
#country_code ⇒ String (readonly)
Returns the value of attribute country_code.
36 37 38 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 36 def country_code @country_code end |
#county ⇒ String? (readonly)
Returns the value of attribute county.
37 38 39 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 37 def county @county end |
#district ⇒ String? (readonly)
Returns the value of attribute district.
38 39 40 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 38 def district @district end |
#name ⇒ String (readonly)
Returns the value of attribute name.
39 40 41 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 39 def name @name end |
#phone ⇒ String? (readonly)
Returns the value of attribute phone.
40 41 42 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 40 def phone @phone end |
#postal_or_zip_code ⇒ String? (readonly)
Returns the value of attribute postal_or_zip_code.
41 42 43 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 41 def postal_or_zip_code @postal_or_zip_code end |
#state_or_region ⇒ String? (readonly)
Returns the value of attribute state_or_region.
42 43 44 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 42 def state_or_region @state_or_region end |
Class Method Details
.[](address_line1:, country_code:, name:, address_line2:, address_line3:, city:, county:, district:, phone:, postal_or_zip_code:, state_or_region:) ⇒ Peddler::APIs::VendorInvoicesV1::Address .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::VendorInvoicesV1::Address
25 26 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 25
def self.[]: (address_line1: String, country_code: String, name: String, ?address_line2: String?, ?address_line3: String?, ?city: String?, ?county: String?, ?district: String?, ?phone: String?, ?postal_or_zip_code: String?, ?state_or_region: String?) -> Peddler::APIs::VendorInvoicesV1::Address
| (String, String, String, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::VendorInvoicesV1::Address
|
.members ⇒ [ :address_line1, :country_code, :name, :address_line2, :address_line3, :city, :county, :district, :phone, :postal_or_zip_code, :state_or_region ]
28 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 28
def self.members: () -> [ :address_line1, :country_code, :name, :address_line2, :address_line3, :city, :county, :district, :phone, :postal_or_zip_code, :state_or_region ]
|
.new(address_line1:, country_code:, name:, address_line2:, address_line3:, city:, county:, district:, phone:, postal_or_zip_code:, state_or_region:) ⇒ Peddler::APIs::VendorInvoicesV1::Address .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) ⇒ Peddler::APIs::VendorInvoicesV1::Address
23 24 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 23
def self.new: (address_line1: String, country_code: String, name: String, ?address_line2: String?, ?address_line3: String?, ?city: String?, ?county: String?, ?district: String?, ?phone: String?, ?postal_or_zip_code: String?, ?state_or_region: String?) -> Peddler::APIs::VendorInvoicesV1::Address
| (String, String, String, String?, String?, String?, String?, String?, String?, String?, String?) -> Peddler::APIs::VendorInvoicesV1::Address
|
.parse ⇒ Peddler::APIs::VendorInvoicesV1::Address
30 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 30
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::VendorInvoicesV1::Address
|
Instance Method Details
#members ⇒ [ :address_line1, :country_code, :name, :address_line2, :address_line3, :city, :county, :district, :phone, :postal_or_zip_code, :state_or_region ]
44 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 44
def members: () -> [ :address_line1, :country_code, :name, :address_line2, :address_line3, :city, :county, :district, :phone, :postal_or_zip_code, :state_or_region ]
|
#to_h ⇒ { address_line1: String, country_code: String, name: String, address_line2: String?, address_line3: String?, city: String?, county: String?, district: String?, phone: String?, postal_or_zip_code: String?, state_or_region: String? }
45 |
# File 'sig/peddler/apis/vendor_invoices_v1.rbs', line 45
def to_h: () -> { address_line1: String, country_code: String, name: String, address_line2: String?, address_line3: String?, city: String?, county: String?, district: String?, phone: String?, postal_or_zip_code: String?, state_or_region: String? }
|