Class: Increase::Models::SwiftTransfer::DebtorAddress

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

Overview

See Also:

  • Increase::Models::SwiftTransfer#debtor_address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, 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

#initializeObject



268
# File 'sig/increase/models/swift_transfer.rbs', line 268

def initialize: (

Instance Attribute Details

#cityString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :city, String, nil?: true

#countryString

The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :country, String

#line1String

The first line of the address.

Parameters:

  • value (String)

Returns:

  • (String)


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

required :line1, String

#line2String?

The second line of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :line2, String, nil?: true

#postal_codeString?

The ZIP or postal code of the address.

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :postal_code, String, nil?: true

#stateString?

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

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


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

required :state, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


277
# File 'sig/increase/models/swift_transfer.rbs', line 277

def to_hash: -> {