Class: Increase::Models::Transaction::Source

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

Defined Under Namespace

Classes: ACHTransferIntention, ACHTransferRejection, ACHTransferReturn, AccountTransferIntention, CardDisputeAcceptance, CardDisputeLoss, CardRefund, CardRevenuePayment, CardSettlement, CashbackPayment, CheckDepositAcceptance, CheckDepositReturn, CheckTransferDeposit, FeePayment, InboundACHTransfer, InboundRealTimePaymentsTransferConfirmation, InboundWireDrawdownPayment, InboundWireReversal, InboundWireTransfer, InterestPayment, InternalSource, RealTimePaymentsTransferAcknowledgement, SampleFunds, WireTransferIntention, WireTransferRejection

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

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

Instance Attribute Details

#account_transfer_intentionIncrease::Models::Transaction::Source::AccountTransferIntention

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



60
61
# File 'lib/increase/models/transaction.rb', line 60

required :account_transfer_intention,
-> { Increase::Models::Transaction::Source::AccountTransferIntention }

#ach_transfer_intentionIncrease::Models::Transaction::Source::ACHTransferIntention

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



66
# File 'lib/increase/models/transaction.rb', line 66

required :ach_transfer_intention, -> { Increase::Models::Transaction::Source::ACHTransferIntention }

#ach_transfer_rejectionIncrease::Models::Transaction::Source::ACHTransferRejection

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



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

required :ach_transfer_rejection, -> { Increase::Models::Transaction::Source::ACHTransferRejection }

#ach_transfer_returnIncrease::Models::Transaction::Source::ACHTransferReturn

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



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

required :ach_transfer_return, -> { Increase::Models::Transaction::Source::ACHTransferReturn }

#card_dispute_acceptanceIncrease::Models::Transaction::Source::CardDisputeAcceptance

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



81
# File 'lib/increase/models/transaction.rb', line 81

required :card_dispute_acceptance, -> { Increase::Models::Transaction::Source::CardDisputeAcceptance }

#card_dispute_lossIncrease::Models::Transaction::Source::CardDisputeLoss

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



86
# File 'lib/increase/models/transaction.rb', line 86

required :card_dispute_loss, -> { Increase::Models::Transaction::Source::CardDisputeLoss }

#card_refundIncrease::Models::Transaction::Source::CardRefund

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



91
# File 'lib/increase/models/transaction.rb', line 91

required :card_refund, -> { Increase::Models::Transaction::Source::CardRefund }

#card_revenue_paymentIncrease::Models::Transaction::Source::CardRevenuePayment

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



96
# File 'lib/increase/models/transaction.rb', line 96

required :card_revenue_payment, -> { Increase::Models::Transaction::Source::CardRevenuePayment }

#card_settlementIncrease::Models::Transaction::Source::CardSettlement

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



101
# File 'lib/increase/models/transaction.rb', line 101

required :card_settlement, -> { Increase::Models::Transaction::Source::CardSettlement }

#cashback_paymentIncrease::Models::Transaction::Source::CashbackPayment

A Cashback Payment object. This field will be present in the JSON response if and only if category is equal to cashback_payment.



106
# File 'lib/increase/models/transaction.rb', line 106

required :cashback_payment, -> { Increase::Models::Transaction::Source::CashbackPayment }

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


111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/increase/models/transaction.rb', line 111

required :category,
Increase::Enum.new(
  :account_transfer_intention,
  :ach_transfer_intention,
  :ach_transfer_rejection,
  :ach_transfer_return,
  :cashback_payment,
  :card_dispute_acceptance,
  :card_dispute_loss,
  :card_refund,
  :card_settlement,
  :card_revenue_payment,
  :check_deposit_acceptance,
  :check_deposit_return,
  :check_transfer_deposit,
  :fee_payment,
  :inbound_ach_transfer,
  :inbound_ach_transfer_return_intention,
  :inbound_check_deposit_return_intention,
  :inbound_real_time_payments_transfer_confirmation,
  :inbound_wire_drawdown_payment,
  :inbound_wire_reversal,
  :inbound_wire_transfer,
  :inbound_wire_transfer_reversal,
  :interest_payment,
  :internal_source,
  :real_time_payments_transfer_acknowledgement,
  :sample_funds,
  :wire_transfer_intention,
  :wire_transfer_rejection,
  :other
)

#check_deposit_acceptanceIncrease::Models::Transaction::Source::CheckDepositAcceptance

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



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

required :check_deposit_acceptance, -> { Increase::Models::Transaction::Source::CheckDepositAcceptance }

#check_deposit_returnIncrease::Models::Transaction::Source::CheckDepositReturn

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



152
# File 'lib/increase/models/transaction.rb', line 152

required :check_deposit_return, -> { Increase::Models::Transaction::Source::CheckDepositReturn }

#check_transfer_depositIncrease::Models::Transaction::Source::CheckTransferDeposit

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



157
# File 'lib/increase/models/transaction.rb', line 157

required :check_transfer_deposit, -> { Increase::Models::Transaction::Source::CheckTransferDeposit }

#fee_paymentIncrease::Models::Transaction::Source::FeePayment

A Fee Payment object. This field will be present in the JSON response if and only if category is equal to fee_payment.



162
# File 'lib/increase/models/transaction.rb', line 162

required :fee_payment, -> { Increase::Models::Transaction::Source::FeePayment }

#inbound_ach_transferIncrease::Models::Transaction::Source::InboundACHTransfer

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



167
# File 'lib/increase/models/transaction.rb', line 167

required :inbound_ach_transfer, -> { Increase::Models::Transaction::Source::InboundACHTransfer }

#inbound_real_time_payments_transfer_confirmationIncrease::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation

An Inbound Real-Time Payments Transfer Confirmation object. This field will be present in the JSON response if and only if category is equal to inbound_real_time_payments_transfer_confirmation.



172
173
# File 'lib/increase/models/transaction.rb', line 172

required :inbound_real_time_payments_transfer_confirmation,
-> { Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation }

#inbound_wire_drawdown_paymentIncrease::Models::Transaction::Source::InboundWireDrawdownPayment

An Inbound Wire Drawdown Payment object. This field will be present in the JSON response if and only if category is equal to inbound_wire_drawdown_payment.



178
179
# File 'lib/increase/models/transaction.rb', line 178

required :inbound_wire_drawdown_payment,
-> { Increase::Models::Transaction::Source::InboundWireDrawdownPayment }

#inbound_wire_reversalIncrease::Models::Transaction::Source::InboundWireReversal

An Inbound Wire Reversal object. This field will be present in the JSON response if and only if category is equal to inbound_wire_reversal.



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

required :inbound_wire_reversal, -> { Increase::Models::Transaction::Source::InboundWireReversal }

#inbound_wire_transferIncrease::Models::Transaction::Source::InboundWireTransfer

An Inbound Wire Transfer Intention object. This field will be present in the JSON response if and only if category is equal to inbound_wire_transfer.



189
# File 'lib/increase/models/transaction.rb', line 189

required :inbound_wire_transfer, -> { Increase::Models::Transaction::Source::InboundWireTransfer }

#interest_paymentIncrease::Models::Transaction::Source::InterestPayment

An Interest Payment object. This field will be present in the JSON response if and only if category is equal to interest_payment.



194
# File 'lib/increase/models/transaction.rb', line 194

required :interest_payment, -> { Increase::Models::Transaction::Source::InterestPayment }

#internal_sourceIncrease::Models::Transaction::Source::InternalSource

An Internal Source object. This field will be present in the JSON response if and only if category is equal to internal_source.



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

required :internal_source, -> { Increase::Models::Transaction::Source::InternalSource }

#real_time_payments_transfer_acknowledgementIncrease::Models::Transaction::Source::RealTimePaymentsTransferAcknowledgement

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



204
205
# File 'lib/increase/models/transaction.rb', line 204

required :real_time_payments_transfer_acknowledgement,
-> { Increase::Models::Transaction::Source::RealTimePaymentsTransferAcknowledgement }

#sample_fundsIncrease::Models::Transaction::Source::SampleFunds

A Sample Funds object. This field will be present in the JSON response if and only if category is equal to sample_funds.



210
# File 'lib/increase/models/transaction.rb', line 210

required :sample_funds, -> { Increase::Models::Transaction::Source::SampleFunds }

#wire_transfer_intentionIncrease::Models::Transaction::Source::WireTransferIntention

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



215
# File 'lib/increase/models/transaction.rb', line 215

required :wire_transfer_intention, -> { Increase::Models::Transaction::Source::WireTransferIntention }

#wire_transfer_rejectionIncrease::Models::Transaction::Source::WireTransferRejection

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



220
# File 'lib/increase/models/transaction.rb', line 220

required :wire_transfer_rejection, -> { Increase::Models::Transaction::Source::WireTransferRejection }