Class: Inttegro::FinancialAccount::OwnerInputAddress
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::OwnerInputAddress
- Defined in:
- lib/inttegro/financial_account/owner_input_address.rb
Overview
Typed representation of the owner input address object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#city ⇒ String?
readonly
Value of the
cityfield in the Inttegro API payload. -
#country ⇒ String
readonly
Value of the
countryfield in the Inttegro API payload. -
#line_1 ⇒ String?
readonly
Value of the
line_1field in the Inttegro API payload. -
#line_2 ⇒ String?
readonly
Value of the
line_2field in the Inttegro API payload. -
#name ⇒ String?
readonly
Value of the
namefield in the Inttegro API payload. -
#phone ⇒ String?
readonly
Value of the
phonefield in the Inttegro API payload. -
#post_code ⇒ String?
readonly
Value of the
post_codefield in the Inttegro API payload. -
#region ⇒ String?
readonly
Value of the
regionfield in the Inttegro API payload.
Instance Attribute Details
#city ⇒ String? (readonly)
Value of the city field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: city.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/financial_account/owner_input_address.rb', line 65 class OwnerInputAddress < T::Struct const :city, T.nilable(String), default: nil const :country, String const :line_1, T.nilable(String), default: nil const :line_2, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, T.nilable(String), default: nil end |
#country ⇒ String (readonly)
Value of the country field in the Inttegro API payload.
Required in the API payload. Wire name: country.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/financial_account/owner_input_address.rb', line 65 class OwnerInputAddress < T::Struct const :city, T.nilable(String), default: nil const :country, String const :line_1, T.nilable(String), default: nil const :line_2, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, T.nilable(String), default: nil end |
#line_1 ⇒ String? (readonly)
Value of the line_1 field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: line_1.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/financial_account/owner_input_address.rb', line 65 class OwnerInputAddress < T::Struct const :city, T.nilable(String), default: nil const :country, String const :line_1, T.nilable(String), default: nil const :line_2, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, T.nilable(String), default: nil end |
#line_2 ⇒ String? (readonly)
Value of the line_2 field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: line_2.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/financial_account/owner_input_address.rb', line 65 class OwnerInputAddress < T::Struct const :city, T.nilable(String), default: nil const :country, String const :line_1, T.nilable(String), default: nil const :line_2, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, T.nilable(String), default: nil end |
#name ⇒ String? (readonly)
Value of the name field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: name.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/financial_account/owner_input_address.rb', line 65 class OwnerInputAddress < T::Struct const :city, T.nilable(String), default: nil const :country, String const :line_1, T.nilable(String), default: nil const :line_2, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, T.nilable(String), default: nil end |
#phone ⇒ String? (readonly)
Value of the phone field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: phone.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/financial_account/owner_input_address.rb', line 65 class OwnerInputAddress < T::Struct const :city, T.nilable(String), default: nil const :country, String const :line_1, T.nilable(String), default: nil const :line_2, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, T.nilable(String), default: nil end |
#post_code ⇒ String? (readonly)
Value of the post_code field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: post_code.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/financial_account/owner_input_address.rb', line 65 class OwnerInputAddress < T::Struct const :city, T.nilable(String), default: nil const :country, String const :line_1, T.nilable(String), default: nil const :line_2, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, T.nilable(String), default: nil end |
#region ⇒ String? (readonly)
Value of the region field in the Inttegro API payload.
Optional in the API payload; omitted values default to nil. Wire name: region.
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/inttegro/financial_account/owner_input_address.rb', line 65 class OwnerInputAddress < T::Struct const :city, T.nilable(String), default: nil const :country, String const :line_1, T.nilable(String), default: nil const :line_2, T.nilable(String), default: nil const :name, T.nilable(String), default: nil const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, T.nilable(String), default: nil end |