Class: Increase::Models::CheckTransfer::PhysicalCheck

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

Overview

See Also:

Defined Under Namespace

Modules: ShippingMethod Classes: MailingAddress, Payer, ReturnAddress, TrackingUpdate

Instance Attribute Summary collapse

Class Method 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

#initialize(city: , line1: , line2: , name: , postal_code: , state: ) ⇒ Object

The return address to be printed on the check.

Parameters:

  • city (String, nil) (defaults to: )

    The city of the check’s destination.

  • line1 (String, nil) (defaults to: )

    The street address of the check’s destination.

  • line2 (String, nil) (defaults to: )

    The second line of the address of the check’s destination.

  • name (String, nil) (defaults to: )

    The name component of the check’s return address.

  • postal_code (String, nil) (defaults to: )

    The postal code of the check’s destination.

  • state (String, nil) (defaults to: )

    The state of the check’s destination.



# File 'lib/increase/models/check_transfer.rb', line 545


Instance Attribute Details

#attachment_file_idString?

The ID of the file for the check attachment.

Returns:

  • (String, nil)


476
# File 'lib/increase/models/check_transfer.rb', line 476

required :attachment_file_id, String, nil?: true

#check_voucher_image_file_idString?

The ID of the file for the check voucher image.

Returns:

  • (String, nil)


482
# File 'lib/increase/models/check_transfer.rb', line 482

required :check_voucher_image_file_id, String, nil?: true

#mailing_addressIncrease::Models::CheckTransfer::PhysicalCheck::MailingAddress

Details for where Increase will mail the check.



488
# File 'lib/increase/models/check_transfer.rb', line 488

required :mailing_address, -> { Increase::CheckTransfer::PhysicalCheck::MailingAddress }

#memoString?

The descriptor that will be printed on the memo field on the check.

Returns:

  • (String, nil)


494
# File 'lib/increase/models/check_transfer.rb', line 494

required :memo, String, nil?: true

#noteString?

The descriptor that will be printed on the letter included with the check.

Returns:

  • (String, nil)


500
# File 'lib/increase/models/check_transfer.rb', line 500

required :note, String, nil?: true

#payerArray<Increase::Models::CheckTransfer::PhysicalCheck::Payer>

The payer of the check. This will be printed on the top-left portion of the check and defaults to the return address if unspecified.



507
# File 'lib/increase/models/check_transfer.rb', line 507

required :payer, -> { Increase::Internal::Type::ArrayOf[Increase::CheckTransfer::PhysicalCheck::Payer] }

#recipient_nameString

The name that will be printed on the check.

Returns:

  • (String)


513
# File 'lib/increase/models/check_transfer.rb', line 513

required :recipient_name, String

#return_addressIncrease::Models::CheckTransfer::PhysicalCheck::ReturnAddress?

The return address to be printed on the check.



519
# File 'lib/increase/models/check_transfer.rb', line 519

required :return_address, -> { Increase::CheckTransfer::PhysicalCheck::ReturnAddress }, nil?: true

#shipping_methodSymbol, ...

The shipping method for the check.



525
526
527
528
529
# File 'lib/increase/models/check_transfer.rb', line 525

required :shipping_method,
enum: -> {
  Increase::CheckTransfer::PhysicalCheck::ShippingMethod
},
nil?: true

#signature_textString?

The text that will appear as the signature on the check in cursive font. If blank, the check will be printed with ‘No signature required’.

Returns:

  • (String, nil)


536
# File 'lib/increase/models/check_transfer.rb', line 536

required :signature_text, String, nil?: true

#tracking_updatesArray<Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate>

Tracking updates relating to the physical check’s delivery.



542
543
# File 'lib/increase/models/check_transfer.rb', line 542

required :tracking_updates,
-> { Increase::Internal::Type::ArrayOf[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate] }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/check_transfer.rb', line 718