Class: Increase::Models::TransactionListParams::Category

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

Defined Under Namespace

Modules: In

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(account_id: nil, category: nil, created_at: nil, cursor: nil, limit: nil, route_id: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::TransactionListParams for more details.

Parameters:

  • account_id (String) (defaults to: nil)

    Filter Transactions for those belonging to the specified Account.

  • category (Increase::Models::TransactionListParams::Category) (defaults to: nil)
  • created_at (Increase::Models::TransactionListParams::CreatedAt) (defaults to: nil)
  • cursor (String) (defaults to: nil)

    Return the page of entries after this one.

  • limit (Integer) (defaults to: nil)

    Limit the size of the list that is returned. The default (and maximum) is 100 ob

  • route_id (String) (defaults to: nil)

    Filter Transactions for those belonging to the specified route. This could be a

  • request_options (Increase::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# File 'lib/increase/models/transaction_list_params.rb', line 64

class Category < Increase::Internal::Type::BaseModel
  # @!attribute in_
  #   Return results whose value is in the provided list. For GET requests, this
  #   should be encoded as a comma-delimited string, such as `?in=one,two,three`.
  #
  #   @return [Array<Symbol, Increase::Models::TransactionListParams::Category::In>, nil]
  optional :in_,
           -> {
             Increase::Internal::Type::ArrayOf[enum: Increase::TransactionListParams::Category::In]
           },
           api_name: :in

  # @!method initialize(in_: nil)
  #   Some parameter documentations has been truncated, see
  #   {Increase::Models::TransactionListParams::Category} for more details.
  #
  #   @param in_ [Array<Symbol, Increase::Models::TransactionListParams::Category::In>] Return results whose value is in the provided list. For GET requests, this shoul

  module In
    extend Increase::Internal::Type::Enum

    # Account Transfer Intention: details will be under the `account_transfer_intention` object.
    ACCOUNT_TRANSFER_INTENTION = :account_transfer_intention

    # ACH Transfer Intention: details will be under the `ach_transfer_intention` object.
    ACH_TRANSFER_INTENTION = :ach_transfer_intention

    # ACH Transfer Rejection: details will be under the `ach_transfer_rejection` object.
    ACH_TRANSFER_REJECTION = :ach_transfer_rejection

    # ACH Transfer Return: details will be under the `ach_transfer_return` object.
    ACH_TRANSFER_RETURN = :ach_transfer_return

    # Cashback Payment: details will be under the `cashback_payment` object.
    CASHBACK_PAYMENT = :cashback_payment

    # Legacy Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
    CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance

    # Card Dispute Financial: details will be under the `card_dispute_financial` object.
    CARD_DISPUTE_FINANCIAL = :card_dispute_financial

    # Legacy Card Dispute Loss: details will be under the `card_dispute_loss` object.
    CARD_DISPUTE_LOSS = :card_dispute_loss

    # Card Refund: details will be under the `card_refund` object.
    CARD_REFUND = :card_refund

    # Card Settlement: details will be under the `card_settlement` object.
    CARD_SETTLEMENT = :card_settlement

    # Card Financial: details will be under the `card_financial` object.
    CARD_FINANCIAL = :card_financial

    # Card Revenue Payment: details will be under the `card_revenue_payment` object.
    CARD_REVENUE_PAYMENT = :card_revenue_payment

    # Check Deposit Acceptance: details will be under the `check_deposit_acceptance` object.
    CHECK_DEPOSIT_ACCEPTANCE = :check_deposit_acceptance

    # Check Deposit Return: details will be under the `check_deposit_return` object.
    CHECK_DEPOSIT_RETURN = :check_deposit_return

    # FedNow Transfer Acknowledgement: details will be under the `fednow_transfer_acknowledgement` object.
    FEDNOW_TRANSFER_ACKNOWLEDGEMENT = :fednow_transfer_acknowledgement

    # Check Transfer Deposit: details will be under the `check_transfer_deposit` object.
    CHECK_TRANSFER_DEPOSIT = :check_transfer_deposit

    # Fee Payment: details will be under the `fee_payment` object.
    FEE_PAYMENT = :fee_payment

    # Inbound ACH Transfer Intention: details will be under the `inbound_ach_transfer` object.
    INBOUND_ACH_TRANSFER = :inbound_ach_transfer

    # Inbound ACH Transfer Return Intention: details will be under the `inbound_ach_transfer_return_intention` object.
    INBOUND_ACH_TRANSFER_RETURN_INTENTION = :inbound_ach_transfer_return_intention

    # Inbound Check Deposit Return Intention: details will be under the `inbound_check_deposit_return_intention` object.
    INBOUND_CHECK_DEPOSIT_RETURN_INTENTION = :inbound_check_deposit_return_intention

    # Inbound Check Adjustment: details will be under the `inbound_check_adjustment` object.
    INBOUND_CHECK_ADJUSTMENT = :inbound_check_adjustment

    # Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
    INBOUND_FEDNOW_TRANSFER_CONFIRMATION = :inbound_fednow_transfer_confirmation

    # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
    INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = :inbound_real_time_payments_transfer_confirmation

    # Inbound Wire Reversal: details will be under the `inbound_wire_reversal` object.
    INBOUND_WIRE_REVERSAL = :inbound_wire_reversal

    # Inbound Wire Transfer Intention: details will be under the `inbound_wire_transfer` object.
    INBOUND_WIRE_TRANSFER = :inbound_wire_transfer

    # Inbound Wire Transfer Reversal Intention: details will be under the `inbound_wire_transfer_reversal` object.
    INBOUND_WIRE_TRANSFER_REVERSAL = :inbound_wire_transfer_reversal

    # Interest Payment: details will be under the `interest_payment` object.
    INTEREST_PAYMENT = :interest_payment

    # Internal Source: details will be under the `internal_source` object.
    INTERNAL_SOURCE = :internal_source

    # Real-Time Payments Transfer Acknowledgement: details will be under the `real_time_payments_transfer_acknowledgement` object.
    REAL_TIME_PAYMENTS_TRANSFER_ACKNOWLEDGEMENT = :real_time_payments_transfer_acknowledgement

    # Sample Funds: details will be under the `sample_funds` object.
    SAMPLE_FUNDS = :sample_funds

    # Wire Transfer Intention: details will be under the `wire_transfer_intention` object.
    WIRE_TRANSFER_INTENTION = :wire_transfer_intention

    # Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
    SWIFT_TRANSFER_INTENTION = :swift_transfer_intention

    # Swift Transfer Return: details will be under the `swift_transfer_return` object.
    SWIFT_TRANSFER_RETURN = :swift_transfer_return

    # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
    CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance

    # Account Revenue Payment: details will be under the `account_revenue_payment` object.
    ACCOUNT_REVENUE_PAYMENT = :account_revenue_payment

    # The Transaction was made for an undocumented or deprecated reason.
    OTHER = :other

    # @!method self.values
    #   @return [Array<Symbol>]
  end
end

Instance Attribute Details

#in_Array<Symbol, Increase::Models::TransactionListParams::Category::In>?

Return results whose value is in the provided list. For GET requests, this should be encoded as a comma-delimited string, such as ‘?in=one,two,three`.



70
71
72
73
74
# File 'lib/increase/models/transaction_list_params.rb', line 70

optional :in_,
-> {
  Increase::Internal::Type::ArrayOf[enum: Increase::TransactionListParams::Category::In]
},
api_name: :in