Class: Increase::Models::CheckTransfer::StopPaymentRequest

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

Overview

See Also:

  • Increase::Models::CheckTransfer#stop_payment_request

Defined Under Namespace

Modules: Reason, Type

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(reason:, requested_at:, transfer_id:, type:) ⇒ Object

After a stop-payment is requested on the check, this will contain supplemental details.



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


Instance Attribute Details

#reasonSymbol, Increase::Models::CheckTransfer::StopPaymentRequest::Reason

The reason why this transfer was stopped.



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

required :reason, enum: -> { Increase::CheckTransfer::StopPaymentRequest::Reason }

#requested_atTime

The time the stop-payment was requested.



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

required :requested_at, Time

#transfer_idString

The ID of the check transfer that was stopped.



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

required :transfer_id, String

#typeSymbol, Increase::Models::CheckTransfer::StopPaymentRequest::Type

A constant representing the object's type. For this resource it will always be check_transfer_stop_payment_request.



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

required :type, enum: -> { Increase::CheckTransfer::StopPaymentRequest::Type }

Class Method Details

.valuesArray<Symbol>



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


Instance Method Details

#to_hash{



647
# File 'sig/increase/models/check_transfer.rbs', line 647

def to_hash: -> {