Class: Increase::Models::PendingTransaction::Source

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/pending_transaction.rb

Defined Under Namespace

Classes: ACHTransferInstruction, AccountTransferInstruction, CardAuthorization, CheckDepositInstruction, CheckTransferInstruction, InboundFundsHold, RealTimePaymentsTransferInstruction, WireTransferInstruction

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#account_transfer_instructionIncrease::Models::PendingTransaction::Source::AccountTransferInstruction

An Account Transfer Instruction object. This field will be present in the JSON response if and only if category is equal to account_transfer_instruction.



70
71
# File 'lib/increase/models/pending_transaction.rb', line 70

required :account_transfer_instruction,
-> { Increase::Models::PendingTransaction::Source::AccountTransferInstruction }

#ach_transfer_instructionIncrease::Models::PendingTransaction::Source::ACHTransferInstruction

An ACH Transfer Instruction object. This field will be present in the JSON response if and only if category is equal to ach_transfer_instruction.



76
77
# File 'lib/increase/models/pending_transaction.rb', line 76

required :ach_transfer_instruction,
-> { Increase::Models::PendingTransaction::Source::ACHTransferInstruction }

#card_authorizationIncrease::Models::PendingTransaction::Source::CardAuthorization

A Card Authorization object. This field will be present in the JSON response if and only if category is equal to card_authorization.



82
# File 'lib/increase/models/pending_transaction.rb', line 82

required :card_authorization, -> { Increase::Models::PendingTransaction::Source::CardAuthorization }

#categorySymbol

The type of the resource. We may add additional possible values for this enum over time; your application should be able to handle such additions gracefully.

Returns:

  • (Symbol)


87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/increase/models/pending_transaction.rb', line 87

required :category,
Increase::Enum.new(
  :account_transfer_instruction,
  :ach_transfer_instruction,
  :card_authorization,
  :check_deposit_instruction,
  :check_transfer_instruction,
  :inbound_funds_hold,
  :real_time_payments_transfer_instruction,
  :wire_transfer_instruction,
  :other
)

#check_deposit_instructionIncrease::Models::PendingTransaction::Source::CheckDepositInstruction

A Check Deposit Instruction object. This field will be present in the JSON response if and only if category is equal to check_deposit_instruction.



103
104
# File 'lib/increase/models/pending_transaction.rb', line 103

required :check_deposit_instruction,
-> { Increase::Models::PendingTransaction::Source::CheckDepositInstruction }

#check_transfer_instructionIncrease::Models::PendingTransaction::Source::CheckTransferInstruction

A Check Transfer Instruction object. This field will be present in the JSON response if and only if category is equal to check_transfer_instruction.



109
110
# File 'lib/increase/models/pending_transaction.rb', line 109

required :check_transfer_instruction,
-> { Increase::Models::PendingTransaction::Source::CheckTransferInstruction }

#inbound_funds_holdIncrease::Models::PendingTransaction::Source::InboundFundsHold

An Inbound Funds Hold object. This field will be present in the JSON response if and only if category is equal to inbound_funds_hold.



115
# File 'lib/increase/models/pending_transaction.rb', line 115

required :inbound_funds_hold, -> { Increase::Models::PendingTransaction::Source::InboundFundsHold }

#real_time_payments_transfer_instructionIncrease::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction

A Real-Time Payments Transfer Instruction object. This field will be present in the JSON response if and only if category is equal to real_time_payments_transfer_instruction.



120
121
# File 'lib/increase/models/pending_transaction.rb', line 120

required :real_time_payments_transfer_instruction,
-> { Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction }

#wire_transfer_instructionIncrease::Models::PendingTransaction::Source::WireTransferInstruction

A Wire Transfer Instruction object. This field will be present in the JSON response if and only if category is equal to wire_transfer_instruction.



126
127
# File 'lib/increase/models/pending_transaction.rb', line 126

required :wire_transfer_instruction,
-> { Increase::Models::PendingTransaction::Source::WireTransferInstruction }