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

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#signature

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

#initializeSignature

Returns a new instance of Signature.

Parameters:

  • image_file_id: (String)
  • text: (String)


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

def initialize: (?image_file_id: String, ?text: String) -> void

Instance Attribute Details

#image_file_idString?

The ID of a File containing a PNG of the signature. This must have purpose: check_signature and be a 1320x120 pixel PNG.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :image_file_id, String

#textString?

The text that will appear as the signature on the check in cursive font.

Parameters:

  • (String)

Returns:

  • (String, nil)


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

optional :text, String

Instance Method Details

#to_hash{ image_file_id: String, text: String }

Returns:

  • ({ image_file_id: String, text: String })


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

def to_hash: -> { image_file_id: String, text: String }