Class: Inttegro::FinancialAccount::CreatedAddress
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::CreatedAddress
- Defined in:
- lib/inttegro/financial_account/created_address.rb
Overview
Typed representation of the created 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
-
#application_id ⇒ String
readonly
Value of the
application_idfield in the Inttegro API payload. -
#city ⇒ String
readonly
Value of the
cityfield in the Inttegro API payload. -
#country ⇒ String
readonly
Value of the
countryfield in the Inttegro API payload. -
#id ⇒ String
readonly
Empty in the current create response.
-
#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
#application_id ⇒ String (readonly)
Value of the application_id field in the Inttegro API payload.
Required in the API payload. Wire name: application_id.
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/financial_account/created_address.rb', line 77 class CreatedAddress < T::Struct const :application_id, String const :city, String const :country, String const :id, String const :line_1, String const :line_2, T.nilable(String), default: nil const :name, String const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, String end |
#city ⇒ String (readonly)
Value of the city field in the Inttegro API payload.
Required in the API payload. Wire name: city.
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/financial_account/created_address.rb', line 77 class CreatedAddress < T::Struct const :application_id, String const :city, String const :country, String const :id, String const :line_1, String const :line_2, T.nilable(String), default: nil const :name, String const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, String end |
#country ⇒ String (readonly)
Value of the country field in the Inttegro API payload.
Required in the API payload. Wire name: country.
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/financial_account/created_address.rb', line 77 class CreatedAddress < T::Struct const :application_id, String const :city, String const :country, String const :id, String const :line_1, String const :line_2, T.nilable(String), default: nil const :name, String const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, String end |
#id ⇒ String (readonly)
Empty in the current create response.
Required in the API payload. Wire name: id.
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/financial_account/created_address.rb', line 77 class CreatedAddress < T::Struct const :application_id, String const :city, String const :country, String const :id, String const :line_1, String const :line_2, T.nilable(String), default: nil const :name, String const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, String end |
#line_1 ⇒ String (readonly)
Value of the line_1 field in the Inttegro API payload.
Required in the API payload. Wire name: line_1.
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/financial_account/created_address.rb', line 77 class CreatedAddress < T::Struct const :application_id, String const :city, String const :country, String const :id, String const :line_1, String const :line_2, T.nilable(String), default: nil const :name, String const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, String 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.
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/financial_account/created_address.rb', line 77 class CreatedAddress < T::Struct const :application_id, String const :city, String const :country, String const :id, String const :line_1, String const :line_2, T.nilable(String), default: nil const :name, String const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, String end |
#name ⇒ String (readonly)
Value of the name field in the Inttegro API payload.
Required in the API payload. Wire name: name.
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/financial_account/created_address.rb', line 77 class CreatedAddress < T::Struct const :application_id, String const :city, String const :country, String const :id, String const :line_1, String const :line_2, T.nilable(String), default: nil const :name, String const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, String 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.
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/financial_account/created_address.rb', line 77 class CreatedAddress < T::Struct const :application_id, String const :city, String const :country, String const :id, String const :line_1, String const :line_2, T.nilable(String), default: nil const :name, String const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, String 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.
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/financial_account/created_address.rb', line 77 class CreatedAddress < T::Struct const :application_id, String const :city, String const :country, String const :id, String const :line_1, String const :line_2, T.nilable(String), default: nil const :name, String const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, String end |
#region ⇒ String (readonly)
Value of the region field in the Inttegro API payload.
Required in the API payload. Wire name: region.
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/inttegro/financial_account/created_address.rb', line 77 class CreatedAddress < T::Struct const :application_id, String const :city, String const :country, String const :id, String const :line_1, String const :line_2, T.nilable(String), default: nil const :name, String const :phone, T.nilable(String), default: nil const :post_code, T.nilable(String), default: nil const :region, String end |