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

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

Defined Under Namespace

Modules: ShippingMethod Classes: MailingAddress, Payer, ReturnAddress

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

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

The return address to be printed on the check. If omitted this will default to an Increase-owned address that will mark checks as delivery failed and shred them.

Parameters:

  • city (String) (defaults to: )

    The city of the return address.

  • line1 (String) (defaults to: )

    The first line of the return address.

  • name (String) (defaults to: )

    The name of the return address.

  • postal_code (String) (defaults to: )

    The postal code of the return address.

  • state (String) (defaults to: )

    The US state of the return address.

  • line2 (String) (defaults to: nil)

    The second line of the return address.



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

Instance Attribute Details

#attachment_file_idString?

The ID of a File to be attached to the check. This must have ‘purpose: check_attachment`. For details on pricing and restrictions, see increase.com/documentation/originating-checks#printing-checks .

Returns:

  • (String, nil)


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

optional :attachment_file_id, String

#check_voucher_image_file_idString?

The ID of a File to be used as the check voucher image. This must have ‘purpose: check_voucher_image`. For details on pricing and restrictions, see increase.com/documentation/originating-checks#printing-checks .

Returns:

  • (String, nil)


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

optional :check_voucher_image_file_id, String

#mailing_addressIncrease::Models::CheckTransferCreateParams::PhysicalCheck::MailingAddress

Details for where Increase will mail the check.



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

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

#memoString

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

Returns:

  • (String)


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

required :memo, String

#noteString?

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

Returns:

  • (String, nil)


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

optional :note, String

#payerArray<Increase::Models::CheckTransferCreateParams::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. This should be an array of up to 4 elements, each of which represents a line of the payer.



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

optional :payer,
-> { Increase::Internal::Type::ArrayOf[Increase::CheckTransferCreateParams::PhysicalCheck::Payer] }

#recipient_nameString

The name that will be printed on the check in the ‘To:’ field.

Returns:

  • (String)


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

required :recipient_name, String

#return_addressIncrease::Models::CheckTransferCreateParams::PhysicalCheck::ReturnAddress?

The return address to be printed on the check. If omitted this will default to an Increase-owned address that will mark checks as delivery failed and shred them.



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

optional :return_address, -> { Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress }

#shipping_methodSymbol, ...

How to ship the check. For details on pricing, timing, and restrictions, see increase.com/documentation/originating-checks#printing-checks .



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

optional :shipping_method, enum: -> { Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod }

#signature_textString?

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

Returns:

  • (String, nil)


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

optional :signature_text, String