Class: Increase::Models::SwiftTransfer::CreditorAddress

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/swift_transfer.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

This class inherits a constructor from Increase::Internal::Type::BaseModel

Instance Attribute Details

#cityString?

The city, district, town, or village of the address.

Returns:

  • (String, nil)


304
# File 'lib/increase/models/swift_transfer.rb', line 304

required :city, String, nil?: true

#countryString

The two-letter [ISO 3166-1 alpha-2](en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country of the address.

Returns:

  • (String)


312
# File 'lib/increase/models/swift_transfer.rb', line 312

required :country, String

#line1String

The first line of the address.

Returns:

  • (String)


318
# File 'lib/increase/models/swift_transfer.rb', line 318

required :line1, String

#line2String?

The second line of the address.

Returns:

  • (String, nil)


324
# File 'lib/increase/models/swift_transfer.rb', line 324

required :line2, String, nil?: true

#postal_codeString?

The ZIP or postal code of the address.

Returns:

  • (String, nil)


330
# File 'lib/increase/models/swift_transfer.rb', line 330

required :postal_code, String, nil?: true

#stateString?

The state, province, or region of the address. Required in certain countries.

Returns:

  • (String, nil)


336
# File 'lib/increase/models/swift_transfer.rb', line 336

required :state, String, nil?: true