Class: Increase::Models::CheckTransferCreateParams::PhysicalCheck::ReturnAddress

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

Overview

See Also:

  • Increase::Models::CheckTransferCreateParams::PhysicalCheck#return_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



295
# File 'sig/increase/models/check_transfer_create_params.rbs', line 295

def initialize: (

Instance Attribute Details

#cityString

The city of the return address.

Parameters:

  • value (String)

Returns:

  • (String)


366
# File 'lib/increase/models/check_transfer_create_params.rb', line 366

required :city, String

#line1String

The first line of the return address.

Parameters:

  • value (String)

Returns:

  • (String)


372
# File 'lib/increase/models/check_transfer_create_params.rb', line 372

required :line1, String

#line2String?

The second line of the return address.

Parameters:

  • (String)

Returns:

  • (String, nil)


396
# File 'lib/increase/models/check_transfer_create_params.rb', line 396

optional :line2, String

#nameString

The name of the return address.

Parameters:

  • value (String)

Returns:

  • (String)


378
# File 'lib/increase/models/check_transfer_create_params.rb', line 378

required :name, String

#phoneString?

The phone number to associate with the shipper. The phone number is only used when shipping_method is fedex_overnight and will be supplied to FedEx to be used in case of delivery issues.

Parameters:

  • (String)

Returns:

  • (String, nil)


404
# File 'lib/increase/models/check_transfer_create_params.rb', line 404

optional :phone, String

#postal_codeString

The postal code of the return address.

Parameters:

  • value (String)

Returns:

  • (String)


384
# File 'lib/increase/models/check_transfer_create_params.rb', line 384

required :postal_code, String

#stateString

The US state of the return address.

Parameters:

  • value (String)

Returns:

  • (String)


390
# File 'lib/increase/models/check_transfer_create_params.rb', line 390

required :state, String

Instance Method Details

#to_hash{

Returns:

  • ({)


305
# File 'sig/increase/models/check_transfer_create_params.rbs', line 305

def to_hash: -> {