modern_treasury 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +31 -0
- data/README.md +1 -1
- data/lib/modern_treasury/internal/transport/base_client.rb +1 -4
- data/lib/modern_treasury/internal/transport/pooled_net_requester.rb +1 -9
- data/lib/modern_treasury/internal/type/base_model.rb +6 -12
- data/lib/modern_treasury/internal/util.rb +1 -1
- data/lib/modern_treasury/models/account_collection_flow.rb +2 -6
- data/lib/modern_treasury/models/account_collection_flow_create_params.rb +1 -3
- data/lib/modern_treasury/models/bulk_request_create_params.rb +28 -107
- data/lib/modern_treasury/models/bulk_result.rb +1 -3
- data/lib/modern_treasury/models/child_legal_entity_create.rb +10 -12
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +11 -15
- data/lib/modern_treasury/models/counterparty.rb +4 -16
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +1 -3
- data/lib/modern_treasury/models/counterparty_create_params.rb +18 -33
- data/lib/modern_treasury/models/expected_payment_create_params.rb +1 -3
- data/lib/modern_treasury/models/expected_payment_list_params.rb +1 -0
- data/lib/modern_treasury/models/expected_payment_type.rb +1 -0
- data/lib/modern_treasury/models/external_account_create_params.rb +3 -6
- data/lib/modern_treasury/models/external_account_verify_params.rb +1 -0
- data/lib/modern_treasury/models/external_account_verify_response.rb +1 -0
- data/lib/modern_treasury/models/internal_account.rb +2 -3
- data/lib/modern_treasury/models/internal_account_create_params.rb +2 -3
- data/lib/modern_treasury/models/internal_account_list_params.rb +1 -0
- data/lib/modern_treasury/models/internal_account_update_account_capability_response.rb +1 -0
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +2 -7
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +2 -6
- data/lib/modern_treasury/models/internal_accounts/balance_report_retrieve_params.rb +1 -3
- data/lib/modern_treasury/models/ledger_account_balance_monitor_create_params.rb +1 -4
- data/lib/modern_treasury/models/ledger_account_list_params.rb +1 -4
- data/lib/modern_treasury/models/ledger_account_settlement.rb +3 -3
- data/lib/modern_treasury/models/ledger_entry_list_params.rb +46 -4
- data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +2 -6
- data/lib/modern_treasury/models/ledger_transaction_list_params.rb +45 -1
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +2 -6
- data/lib/modern_treasury/models/legal_entity.rb +11 -16
- data/lib/modern_treasury/models/legal_entity_address_create_request.rb +1 -3
- data/lib/modern_treasury/models/legal_entity_association.rb +15 -27
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +1 -3
- data/lib/modern_treasury/models/legal_entity_bank_settings.rb +91 -0
- data/lib/modern_treasury/models/legal_entity_create_params.rb +11 -15
- data/lib/modern_treasury/models/legal_entity_update_params.rb +10 -12
- data/lib/modern_treasury/models/legal_entity_wealth_employment_detail.rb +312 -0
- data/lib/modern_treasury/models/line_item.rb +1 -18
- data/lib/modern_treasury/models/payment_action_create_response.rb +1 -1
- data/lib/modern_treasury/models/payment_action_list_params.rb +1 -2
- data/lib/modern_treasury/models/payment_action_list_response.rb +1 -1
- data/lib/modern_treasury/models/payment_action_retrieve_response.rb +1 -1
- data/lib/modern_treasury/models/payment_action_update_params.rb +1 -0
- data/lib/modern_treasury/models/payment_action_update_response.rb +1 -1
- data/lib/modern_treasury/models/payment_flow.rb +1 -4
- data/lib/modern_treasury/models/payment_order.rb +2 -19
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +8 -37
- data/lib/modern_treasury/models/payment_order_create_params.rb +9 -40
- data/lib/modern_treasury/models/payment_order_list_params.rb +1 -0
- data/lib/modern_treasury/models/payment_order_type.rb +1 -0
- data/lib/modern_treasury/models/payment_order_update_params.rb +8 -37
- data/lib/modern_treasury/models/payment_reference.rb +1 -0
- data/lib/modern_treasury/models/reconciliation_rule.rb +1 -0
- data/lib/modern_treasury/models/return_object.rb +1 -0
- data/lib/modern_treasury/models/routing_detail.rb +1 -0
- data/lib/modern_treasury/models/routing_detail_create_params.rb +1 -0
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +3 -7
- data/lib/modern_treasury/models/transaction.rb +1 -0
- data/lib/modern_treasury/models/transaction_create_params.rb +1 -0
- data/lib/modern_treasury/models/virtual_account_create_params.rb +3 -6
- data/lib/modern_treasury/models.rb +4 -2
- data/lib/modern_treasury/resources/ledger_entries.rb +3 -1
- data/lib/modern_treasury/resources/ledger_transactions.rb +3 -1
- data/lib/modern_treasury/resources/legal_entities.rb +4 -4
- data/lib/modern_treasury/resources/payment_orders.rb +3 -15
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +2 -1
- data/rbi/modern_treasury/errors.rbi +2 -2
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +15 -38
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +14 -8
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +16 -8
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +21 -8
- data/rbi/modern_treasury/models/expected_payment_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/expected_payment_type.rbi +1 -0
- data/rbi/modern_treasury/models/external_account_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/external_account_verify_params.rbi +5 -0
- data/rbi/modern_treasury/models/external_account_verify_response.rbi +5 -0
- data/rbi/modern_treasury/models/internal_account.rbi +5 -0
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/internal_account_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/internal_account_update_account_capability_response.rbi +5 -0
- data/rbi/modern_treasury/models/ledger_account_settlement.rbi +3 -3
- data/rbi/modern_treasury/models/ledger_entry_list_params.rbi +82 -0
- data/rbi/modern_treasury/models/ledger_transaction_list_params.rbi +84 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +14 -8
- data/rbi/modern_treasury/models/legal_entity_association.rbi +16 -8
- data/rbi/modern_treasury/models/legal_entity_bank_settings.rbi +112 -0
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +14 -8
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +14 -8
- data/rbi/modern_treasury/models/legal_entity_wealth_employment_detail.rbi +815 -0
- data/rbi/modern_treasury/models/line_item.rbi +0 -21
- data/rbi/modern_treasury/models/payment_action_create_response.rbi +2 -2
- data/rbi/modern_treasury/models/payment_action_list_params.rbi +5 -10
- data/rbi/modern_treasury/models/payment_action_list_response.rbi +2 -2
- data/rbi/modern_treasury/models/payment_action_retrieve_response.rbi +2 -2
- data/rbi/modern_treasury/models/payment_action_update_params.rbi +5 -0
- data/rbi/modern_treasury/models/payment_action_update_response.rbi +2 -2
- data/rbi/modern_treasury/models/payment_order.rbi +5 -19
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +5 -19
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +5 -19
- data/rbi/modern_treasury/models/payment_order_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/payment_order_type.rbi +1 -0
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +5 -19
- data/rbi/modern_treasury/models/payment_reference.rbi +5 -0
- data/rbi/modern_treasury/models/reconciliation_rule.rbi +2 -0
- data/rbi/modern_treasury/models/return_object.rbi +5 -0
- data/rbi/modern_treasury/models/routing_detail.rbi +5 -0
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +5 -0
- data/rbi/modern_treasury/models/transaction.rbi +1 -0
- data/rbi/modern_treasury/models/transaction_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +5 -0
- data/rbi/modern_treasury/models.rbi +5 -2
- data/rbi/modern_treasury/resources/ledger_entries.rbi +3 -0
- data/rbi/modern_treasury/resources/ledger_transactions.rbi +3 -0
- data/rbi/modern_treasury/resources/legal_entities.rbi +10 -4
- data/rbi/modern_treasury/resources/payment_orders.rbi +0 -18
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +6 -28
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +8 -8
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +8 -8
- data/sig/modern_treasury/models/counterparty_create_params.rbs +10 -8
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +2 -0
- data/sig/modern_treasury/models/expected_payment_type.rbs +2 -0
- data/sig/modern_treasury/models/external_account_create_params.rbs +2 -0
- data/sig/modern_treasury/models/external_account_verify_params.rbs +2 -0
- data/sig/modern_treasury/models/external_account_verify_response.rbs +2 -0
- data/sig/modern_treasury/models/internal_account.rbs +2 -0
- data/sig/modern_treasury/models/internal_account_create_params.rbs +2 -0
- data/sig/modern_treasury/models/internal_account_list_params.rbs +2 -0
- data/sig/modern_treasury/models/internal_account_update_account_capability_response.rbs +2 -0
- data/sig/modern_treasury/models/ledger_account_settlement.rbs +4 -4
- data/sig/modern_treasury/models/ledger_entry_list_params.rbs +50 -0
- data/sig/modern_treasury/models/ledger_transaction_list_params.rbs +50 -0
- data/sig/modern_treasury/models/legal_entity.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_association.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_bank_settings.rbs +65 -0
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +8 -8
- data/sig/modern_treasury/models/legal_entity_wealth_employment_detail.rbs +325 -0
- data/sig/modern_treasury/models/line_item.rbs +0 -10
- data/sig/modern_treasury/models/payment_action_list_params.rbs +9 -5
- data/sig/modern_treasury/models/payment_action_update_params.rbs +8 -1
- data/sig/modern_treasury/models/payment_order.rbs +2 -10
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +2 -14
- data/sig/modern_treasury/models/payment_order_create_params.rbs +2 -14
- data/sig/modern_treasury/models/payment_order_list_params.rbs +2 -0
- data/sig/modern_treasury/models/payment_order_type.rbs +2 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +2 -14
- data/sig/modern_treasury/models/payment_reference.rbs +2 -0
- data/sig/modern_treasury/models/reconciliation_rule.rbs +2 -0
- data/sig/modern_treasury/models/return_object.rbs +2 -0
- data/sig/modern_treasury/models/routing_detail.rbs +2 -0
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +2 -0
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +2 -0
- data/sig/modern_treasury/models/transaction.rbs +2 -0
- data/sig/modern_treasury/models/transaction_create_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +2 -0
- data/sig/modern_treasury/models.rbs +4 -2
- data/sig/modern_treasury/resources/ledger_entries.rbs +1 -0
- data/sig/modern_treasury/resources/ledger_transactions.rbs +1 -0
- data/sig/modern_treasury/resources/legal_entities.rbs +4 -4
- data/sig/modern_treasury/resources/payment_orders.rbs +0 -6
- metadata +8 -5
- data/lib/modern_treasury/models/accounting.rb +0 -30
- data/rbi/modern_treasury/models/accounting.rbi +0 -48
- data/sig/modern_treasury/models/accounting.rbs +0 -15
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module ModernTreasury
|
|
4
|
+
module Models
|
|
5
|
+
class LegalEntityWealthEmploymentDetail < ModernTreasury::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute id
|
|
7
|
+
#
|
|
8
|
+
# @return [String]
|
|
9
|
+
required :id, String
|
|
10
|
+
|
|
11
|
+
# @!attribute annual_income
|
|
12
|
+
# The annual income of the individual.
|
|
13
|
+
#
|
|
14
|
+
# @return [Integer, nil]
|
|
15
|
+
required :annual_income, Integer, nil?: true
|
|
16
|
+
|
|
17
|
+
# @!attribute created_at
|
|
18
|
+
#
|
|
19
|
+
# @return [Time]
|
|
20
|
+
required :created_at, Time
|
|
21
|
+
|
|
22
|
+
# @!attribute discarded_at
|
|
23
|
+
#
|
|
24
|
+
# @return [Time, nil]
|
|
25
|
+
required :discarded_at, Time, nil?: true
|
|
26
|
+
|
|
27
|
+
# @!attribute employer_country
|
|
28
|
+
# The country in which the employer is located.
|
|
29
|
+
#
|
|
30
|
+
# @return [String, nil]
|
|
31
|
+
required :employer_country, String, nil?: true
|
|
32
|
+
|
|
33
|
+
# @!attribute employer_name
|
|
34
|
+
# The name of the employer.
|
|
35
|
+
#
|
|
36
|
+
# @return [String, nil]
|
|
37
|
+
required :employer_name, String, nil?: true
|
|
38
|
+
|
|
39
|
+
# @!attribute employer_state
|
|
40
|
+
# The state in which the employer is located.
|
|
41
|
+
#
|
|
42
|
+
# @return [String, nil]
|
|
43
|
+
required :employer_state, String, nil?: true
|
|
44
|
+
|
|
45
|
+
# @!attribute employment_status
|
|
46
|
+
# The employment status of the individual.
|
|
47
|
+
#
|
|
48
|
+
# @return [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::EmploymentStatus, nil]
|
|
49
|
+
required :employment_status,
|
|
50
|
+
enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::EmploymentStatus },
|
|
51
|
+
nil?: true
|
|
52
|
+
|
|
53
|
+
# @!attribute income_country
|
|
54
|
+
# The country in which the individual's income is earned.
|
|
55
|
+
#
|
|
56
|
+
# @return [String, nil]
|
|
57
|
+
required :income_country, String, nil?: true
|
|
58
|
+
|
|
59
|
+
# @!attribute income_source
|
|
60
|
+
# The source of the individual's income.
|
|
61
|
+
#
|
|
62
|
+
# @return [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::IncomeSource, nil]
|
|
63
|
+
required :income_source,
|
|
64
|
+
enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::IncomeSource },
|
|
65
|
+
nil?: true
|
|
66
|
+
|
|
67
|
+
# @!attribute income_state
|
|
68
|
+
# The state in which the individual's income is earned.
|
|
69
|
+
#
|
|
70
|
+
# @return [String, nil]
|
|
71
|
+
required :income_state, String, nil?: true
|
|
72
|
+
|
|
73
|
+
# @!attribute industry
|
|
74
|
+
# The industry of the individual.
|
|
75
|
+
#
|
|
76
|
+
# @return [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::Industry, nil]
|
|
77
|
+
required :industry, enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::Industry }, nil?: true
|
|
78
|
+
|
|
79
|
+
# @!attribute live_mode
|
|
80
|
+
# This field will be true if this object exists in the live environment or false
|
|
81
|
+
# if it exists in the test environment.
|
|
82
|
+
#
|
|
83
|
+
# @return [Boolean]
|
|
84
|
+
required :live_mode, ModernTreasury::Internal::Type::Boolean
|
|
85
|
+
|
|
86
|
+
# @!attribute object
|
|
87
|
+
#
|
|
88
|
+
# @return [String]
|
|
89
|
+
required :object, String
|
|
90
|
+
|
|
91
|
+
# @!attribute occupation
|
|
92
|
+
# The occupation of the individual.
|
|
93
|
+
#
|
|
94
|
+
# @return [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::Occupation, nil]
|
|
95
|
+
required :occupation,
|
|
96
|
+
enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::Occupation },
|
|
97
|
+
nil?: true
|
|
98
|
+
|
|
99
|
+
# @!attribute source_of_funds
|
|
100
|
+
# The source of the individual's funds.
|
|
101
|
+
#
|
|
102
|
+
# @return [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::SourceOfFunds, nil]
|
|
103
|
+
required :source_of_funds,
|
|
104
|
+
enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::SourceOfFunds },
|
|
105
|
+
nil?: true
|
|
106
|
+
|
|
107
|
+
# @!attribute updated_at
|
|
108
|
+
#
|
|
109
|
+
# @return [Time]
|
|
110
|
+
required :updated_at, Time
|
|
111
|
+
|
|
112
|
+
# @!attribute wealth_source
|
|
113
|
+
# The source of the individual's wealth.
|
|
114
|
+
#
|
|
115
|
+
# @return [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::WealthSource, nil]
|
|
116
|
+
required :wealth_source,
|
|
117
|
+
enum: -> { ModernTreasury::LegalEntityWealthEmploymentDetail::WealthSource },
|
|
118
|
+
nil?: true
|
|
119
|
+
|
|
120
|
+
# @!method initialize(id:, annual_income:, created_at:, discarded_at:, employer_country:, employer_name:, employer_state:, employment_status:, income_country:, income_source:, income_state:, industry:, live_mode:, object:, occupation:, source_of_funds:, updated_at:, wealth_source:)
|
|
121
|
+
# Some parameter documentations has been truncated, see
|
|
122
|
+
# {ModernTreasury::Models::LegalEntityWealthEmploymentDetail} for more details.
|
|
123
|
+
#
|
|
124
|
+
# @param id [String]
|
|
125
|
+
#
|
|
126
|
+
# @param annual_income [Integer, nil] The annual income of the individual.
|
|
127
|
+
#
|
|
128
|
+
# @param created_at [Time]
|
|
129
|
+
#
|
|
130
|
+
# @param discarded_at [Time, nil]
|
|
131
|
+
#
|
|
132
|
+
# @param employer_country [String, nil] The country in which the employer is located.
|
|
133
|
+
#
|
|
134
|
+
# @param employer_name [String, nil] The name of the employer.
|
|
135
|
+
#
|
|
136
|
+
# @param employer_state [String, nil] The state in which the employer is located.
|
|
137
|
+
#
|
|
138
|
+
# @param employment_status [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::EmploymentStatus, nil] The employment status of the individual.
|
|
139
|
+
#
|
|
140
|
+
# @param income_country [String, nil] The country in which the individual's income is earned.
|
|
141
|
+
#
|
|
142
|
+
# @param income_source [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::IncomeSource, nil] The source of the individual's income.
|
|
143
|
+
#
|
|
144
|
+
# @param income_state [String, nil] The state in which the individual's income is earned.
|
|
145
|
+
#
|
|
146
|
+
# @param industry [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::Industry, nil] The industry of the individual.
|
|
147
|
+
#
|
|
148
|
+
# @param live_mode [Boolean] This field will be true if this object exists in the live environment or false i
|
|
149
|
+
#
|
|
150
|
+
# @param object [String]
|
|
151
|
+
#
|
|
152
|
+
# @param occupation [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::Occupation, nil] The occupation of the individual.
|
|
153
|
+
#
|
|
154
|
+
# @param source_of_funds [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::SourceOfFunds, nil] The source of the individual's funds.
|
|
155
|
+
#
|
|
156
|
+
# @param updated_at [Time]
|
|
157
|
+
#
|
|
158
|
+
# @param wealth_source [Symbol, ModernTreasury::Models::LegalEntityWealthEmploymentDetail::WealthSource, nil] The source of the individual's wealth.
|
|
159
|
+
|
|
160
|
+
# The employment status of the individual.
|
|
161
|
+
#
|
|
162
|
+
# @see ModernTreasury::Models::LegalEntityWealthEmploymentDetail#employment_status
|
|
163
|
+
module EmploymentStatus
|
|
164
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
165
|
+
|
|
166
|
+
EMPLOYED = :employed
|
|
167
|
+
RETIRED = :retired
|
|
168
|
+
SELF_EMPLOYED = :self_employed
|
|
169
|
+
STUDENT = :student
|
|
170
|
+
UNEMPLOYED = :unemployed
|
|
171
|
+
|
|
172
|
+
# @!method self.values
|
|
173
|
+
# @return [Array<Symbol>]
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# The source of the individual's income.
|
|
177
|
+
#
|
|
178
|
+
# @see ModernTreasury::Models::LegalEntityWealthEmploymentDetail#income_source
|
|
179
|
+
module IncomeSource
|
|
180
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
181
|
+
|
|
182
|
+
FAMILY_SUPPORT = :family_support
|
|
183
|
+
GOVERNMENT_BENEFITS = :government_benefits
|
|
184
|
+
INHERITANCE = :inheritance
|
|
185
|
+
INVESTMENTS = :investments
|
|
186
|
+
RENTAL_INCOME = :rental_income
|
|
187
|
+
RETIREMENT = :retirement
|
|
188
|
+
SALARY = :salary
|
|
189
|
+
SELF_EMPLOYED = :self_employed
|
|
190
|
+
|
|
191
|
+
# @!method self.values
|
|
192
|
+
# @return [Array<Symbol>]
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# The industry of the individual.
|
|
196
|
+
#
|
|
197
|
+
# @see ModernTreasury::Models::LegalEntityWealthEmploymentDetail#industry
|
|
198
|
+
module Industry
|
|
199
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
200
|
+
|
|
201
|
+
ACCOUNTING = :accounting
|
|
202
|
+
AGRICULTURE = :agriculture
|
|
203
|
+
AUTOMOTIVE = :automotive
|
|
204
|
+
CHEMICAL_MANUFACTURING = :chemical_manufacturing
|
|
205
|
+
CONSTRUCTION = :construction
|
|
206
|
+
EDUCATIONAL_MEDICAL = :educational_medical
|
|
207
|
+
FOOD_SERVICE = :food_service
|
|
208
|
+
FINANCE = :finance
|
|
209
|
+
GASOLINE = :gasoline
|
|
210
|
+
HEALTH_STORES = :health_stores
|
|
211
|
+
LAUNDRY = :laundry
|
|
212
|
+
MAINTENANCE = :maintenance
|
|
213
|
+
MANUFACTURING = :manufacturing
|
|
214
|
+
MERCHANT_WHOLESALE = :merchant_wholesale
|
|
215
|
+
MINING = :mining
|
|
216
|
+
PERFORMING_ARTS = :performing_arts
|
|
217
|
+
PROFESSIONAL_NON_LEGAL = :professional_non_legal
|
|
218
|
+
PUBLIC_ADMINISTRATION = :public_administration
|
|
219
|
+
PUBLISHING = :publishing
|
|
220
|
+
REAL_ESTATE = :real_estate
|
|
221
|
+
RECREATION_GAMBLING = :recreation_gambling
|
|
222
|
+
RELIGIOUS_CHARITY = :religious_charity
|
|
223
|
+
RENTAL_SERVICES = :rental_services
|
|
224
|
+
RETAIL_CLOTHING = :retail_clothing
|
|
225
|
+
RETAIL_ELECTRONICS = :retail_electronics
|
|
226
|
+
RETAIL_FOOD = :retail_food
|
|
227
|
+
RETAIL_FURNISHING = :retail_furnishing
|
|
228
|
+
RETAIL_HOME = :retail_home
|
|
229
|
+
RETAIL_NON_STORE = :retail_non_store
|
|
230
|
+
RETAIL_SPORTING = :retail_sporting
|
|
231
|
+
TRANSPORTATION = :transportation
|
|
232
|
+
TRAVEL = :travel
|
|
233
|
+
UTILITIES = :utilities
|
|
234
|
+
|
|
235
|
+
# @!method self.values
|
|
236
|
+
# @return [Array<Symbol>]
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# The occupation of the individual.
|
|
240
|
+
#
|
|
241
|
+
# @see ModernTreasury::Models::LegalEntityWealthEmploymentDetail#occupation
|
|
242
|
+
module Occupation
|
|
243
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
244
|
+
|
|
245
|
+
CONSULTING = :consulting
|
|
246
|
+
EXECUTIVE = :executive
|
|
247
|
+
FINANCE_ACCOUNTING = :finance_accounting
|
|
248
|
+
FOOD_SERVICES = :food_services
|
|
249
|
+
GOVERNMENT = :government
|
|
250
|
+
HEALTHCARE = :healthcare
|
|
251
|
+
LEGAL_SERVICES = :legal_services
|
|
252
|
+
MANUFACTURING = :manufacturing
|
|
253
|
+
OTHER = :other
|
|
254
|
+
SALES = :sales
|
|
255
|
+
SCIENCE_ENGINEERING = :science_engineering
|
|
256
|
+
TECHNOLOGY = :technology
|
|
257
|
+
|
|
258
|
+
# @!method self.values
|
|
259
|
+
# @return [Array<Symbol>]
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# The source of the individual's funds.
|
|
263
|
+
#
|
|
264
|
+
# @see ModernTreasury::Models::LegalEntityWealthEmploymentDetail#source_of_funds
|
|
265
|
+
module SourceOfFunds
|
|
266
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
267
|
+
|
|
268
|
+
ALIMONY = :alimony
|
|
269
|
+
ANNUITY = :annuity
|
|
270
|
+
BUSINESS_OWNER = :business_owner
|
|
271
|
+
GENERAL_EMPLOYEE = :general_employee
|
|
272
|
+
GOVERNMENT_BENEFITS = :government_benefits
|
|
273
|
+
HOMEMAKER = :homemaker
|
|
274
|
+
INHERITANCE_GIFT = :inheritance_gift
|
|
275
|
+
INVESTMENT = :investment
|
|
276
|
+
LEGAL_SETTLEMENT = :legal_settlement
|
|
277
|
+
LOTTERY = :lottery
|
|
278
|
+
REAL_ESTATE = :real_estate
|
|
279
|
+
RETIRED = :retired
|
|
280
|
+
RETIREMENT = :retirement
|
|
281
|
+
SALARY = :salary
|
|
282
|
+
SELF_EMPLOYED = :self_employed
|
|
283
|
+
SENIOR_EXECUTIVE = :senior_executive
|
|
284
|
+
TRUST_INCOME = :trust_income
|
|
285
|
+
|
|
286
|
+
# @!method self.values
|
|
287
|
+
# @return [Array<Symbol>]
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# The source of the individual's wealth.
|
|
291
|
+
#
|
|
292
|
+
# @see ModernTreasury::Models::LegalEntityWealthEmploymentDetail#wealth_source
|
|
293
|
+
module WealthSource
|
|
294
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
295
|
+
|
|
296
|
+
BUSINESS_SALE = :business_sale
|
|
297
|
+
FAMILY_SUPPORT = :family_support
|
|
298
|
+
GOVERNMENT_BENEFITS = :government_benefits
|
|
299
|
+
INHERITANCE = :inheritance
|
|
300
|
+
INVESTMENTS = :investments
|
|
301
|
+
OTHER = :other
|
|
302
|
+
RENTAL_INCOME = :rental_income
|
|
303
|
+
RETIREMENT = :retirement
|
|
304
|
+
SALARY = :salary
|
|
305
|
+
SELF_EMPLOYED = :self_employed
|
|
306
|
+
|
|
307
|
+
# @!method self.values
|
|
308
|
+
# @return [Array<Symbol>]
|
|
309
|
+
end
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
end
|
|
@@ -9,11 +9,6 @@ module ModernTreasury
|
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :id, String
|
|
11
11
|
|
|
12
|
-
# @!attribute accounting
|
|
13
|
-
#
|
|
14
|
-
# @return [ModernTreasury::Models::Accounting]
|
|
15
|
-
required :accounting, -> { ModernTreasury::Accounting }
|
|
16
|
-
|
|
17
12
|
# @!attribute accounting_category_id
|
|
18
13
|
# The ID of one of your accounting categories. Note that these will only be
|
|
19
14
|
# accessible if your accounting system has been connected.
|
|
@@ -21,14 +16,6 @@ module ModernTreasury
|
|
|
21
16
|
# @return [String, nil]
|
|
22
17
|
required :accounting_category_id, String, nil?: true
|
|
23
18
|
|
|
24
|
-
# @!attribute accounting_ledger_class_id
|
|
25
|
-
# The ID of one of the class objects in your accounting system. Class objects
|
|
26
|
-
# track segments of your business independent of client or project. Note that
|
|
27
|
-
# these will only be accessible if your accounting system has been connected.
|
|
28
|
-
#
|
|
29
|
-
# @return [String, nil]
|
|
30
|
-
required :accounting_ledger_class_id, String, nil?: true
|
|
31
|
-
|
|
32
19
|
# @!attribute amount
|
|
33
20
|
# Value in specified currency's smallest unit. e.g. $10 would be represented
|
|
34
21
|
# as 1000.
|
|
@@ -83,18 +70,14 @@ module ModernTreasury
|
|
|
83
70
|
# @return [Time]
|
|
84
71
|
required :updated_at, Time
|
|
85
72
|
|
|
86
|
-
# @!method initialize(id:,
|
|
73
|
+
# @!method initialize(id:, accounting_category_id:, amount:, created_at:, description:, itemizable_id:, itemizable_type:, live_mode:, metadata:, object:, updated_at:)
|
|
87
74
|
# Some parameter documentations has been truncated, see
|
|
88
75
|
# {ModernTreasury::Models::LineItem} for more details.
|
|
89
76
|
#
|
|
90
77
|
# @param id [String]
|
|
91
78
|
#
|
|
92
|
-
# @param accounting [ModernTreasury::Models::Accounting]
|
|
93
|
-
#
|
|
94
79
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
95
80
|
#
|
|
96
|
-
# @param accounting_ledger_class_id [String, nil] The ID of one of the class objects in your accounting system. Class objects trac
|
|
97
|
-
#
|
|
98
81
|
# @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
|
|
99
82
|
#
|
|
100
83
|
# @param created_at [Time]
|
|
@@ -53,7 +53,7 @@ module ModernTreasury
|
|
|
53
53
|
|
|
54
54
|
# @!attribute status
|
|
55
55
|
# The current status of the payment action. One of `pending`, `processing`,
|
|
56
|
-
# `sent`, `cancelled`, or `failed`.
|
|
56
|
+
# `sent`, `acknowledged`, `cancelled`, or `failed`.
|
|
57
57
|
#
|
|
58
58
|
# @return [String]
|
|
59
59
|
required :status, String
|
|
@@ -135,6 +135,7 @@ module ModernTreasury
|
|
|
135
135
|
PROCESSABLE = :processable
|
|
136
136
|
PROCESSING = :processing
|
|
137
137
|
SENT = :sent
|
|
138
|
+
ACKNOWLEDGED = :acknowledged
|
|
138
139
|
FAILED = :failed
|
|
139
140
|
CANCELLED = :cancelled
|
|
140
141
|
|
|
@@ -146,8 +147,6 @@ module ModernTreasury
|
|
|
146
147
|
module Type
|
|
147
148
|
extend ModernTreasury::Internal::Type::Enum
|
|
148
149
|
|
|
149
|
-
EVOLVE_NON_PROCESSING_TRANSACTION = :evolve_non_processing_transaction
|
|
150
|
-
CONTROL_FILE = :control_file
|
|
151
150
|
STOP = :stop
|
|
152
151
|
ISSUE = :issue
|
|
153
152
|
|
|
@@ -53,7 +53,7 @@ module ModernTreasury
|
|
|
53
53
|
|
|
54
54
|
# @!attribute status
|
|
55
55
|
# The current status of the payment action. One of `pending`, `processing`,
|
|
56
|
-
# `sent`, `cancelled`, or `failed`.
|
|
56
|
+
# `sent`, `acknowledged`, `cancelled`, or `failed`.
|
|
57
57
|
#
|
|
58
58
|
# @return [String]
|
|
59
59
|
required :status, String
|
|
@@ -53,7 +53,7 @@ module ModernTreasury
|
|
|
53
53
|
|
|
54
54
|
# @!attribute status
|
|
55
55
|
# The current status of the payment action. One of `pending`, `processing`,
|
|
56
|
-
# `sent`, `cancelled`, or `failed`.
|
|
56
|
+
# `sent`, `acknowledged`, `cancelled`, or `failed`.
|
|
57
57
|
#
|
|
58
58
|
# @return [String]
|
|
59
59
|
required :status, String
|
|
@@ -53,7 +53,7 @@ module ModernTreasury
|
|
|
53
53
|
|
|
54
54
|
# @!attribute status
|
|
55
55
|
# The current status of the payment action. One of `pending`, `processing`,
|
|
56
|
-
# `sent`, `cancelled`, or `failed`.
|
|
56
|
+
# `sent`, `acknowledged`, `cancelled`, or `failed`.
|
|
57
57
|
#
|
|
58
58
|
# @return [String]
|
|
59
59
|
required :status, String
|
|
@@ -78,10 +78,7 @@ module ModernTreasury
|
|
|
78
78
|
# when completing the flow.
|
|
79
79
|
#
|
|
80
80
|
# @return [Symbol, ModernTreasury::Models::PaymentFlow::ExternalAccountCollection, nil]
|
|
81
|
-
optional :external_account_collection,
|
|
82
|
-
enum: -> {
|
|
83
|
-
ModernTreasury::PaymentFlow::ExternalAccountCollection
|
|
84
|
-
}
|
|
81
|
+
optional :external_account_collection, enum: -> { ModernTreasury::PaymentFlow::ExternalAccountCollection }
|
|
85
82
|
|
|
86
83
|
# @!attribute live_mode
|
|
87
84
|
# This field will be true if this object exists in the live environment or false
|
|
@@ -9,11 +9,6 @@ module ModernTreasury
|
|
|
9
9
|
# @return [String]
|
|
10
10
|
required :id, String
|
|
11
11
|
|
|
12
|
-
# @!attribute accounting
|
|
13
|
-
#
|
|
14
|
-
# @return [ModernTreasury::Models::Accounting]
|
|
15
|
-
required :accounting, -> { ModernTreasury::Accounting }
|
|
16
|
-
|
|
17
12
|
# @!attribute accounting_category_id
|
|
18
13
|
# @deprecated
|
|
19
14
|
#
|
|
@@ -23,15 +18,6 @@ module ModernTreasury
|
|
|
23
18
|
# @return [String, nil]
|
|
24
19
|
required :accounting_category_id, String, nil?: true
|
|
25
20
|
|
|
26
|
-
# @!attribute accounting_ledger_class_id
|
|
27
|
-
# @deprecated
|
|
28
|
-
#
|
|
29
|
-
# The ID of one of your accounting ledger classes. Note that these will only be
|
|
30
|
-
# accessible if your accounting system has been connected.
|
|
31
|
-
#
|
|
32
|
-
# @return [String, nil]
|
|
33
|
-
required :accounting_ledger_class_id, String, nil?: true
|
|
34
|
-
|
|
35
21
|
# @!attribute amount
|
|
36
22
|
# Value in specified currency's smallest unit. e.g. $10 would be represented as
|
|
37
23
|
# 1000 (cents). For RTP, the maximum amount allowed by the network is $100,000.
|
|
@@ -342,18 +328,14 @@ module ModernTreasury
|
|
|
342
328
|
# @return [String, nil]
|
|
343
329
|
required :vendor_failure_reason, String, nil?: true
|
|
344
330
|
|
|
345
|
-
# @!method initialize(id:,
|
|
331
|
+
# @!method initialize(id:, accounting_category_id:, amount:, charge_bearer:, counterparty_id:, created_at:, currency:, current_return:, description:, direction:, effective_date:, expires_at:, external_id:, foreign_exchange_contract:, foreign_exchange_indicator:, foreign_exchange_rate:, ledger_transaction_id:, live_mode:, metadata:, nsf_protected:, object:, originating_account_id:, originating_party_name:, priority:, process_after:, purpose:, receiving_account_id:, receiving_account_type:, reference_numbers:, remittance_information:, send_remittance_advice:, statement_descriptor:, status:, subtype:, transaction_ids:, type:, ultimate_originating_account:, ultimate_originating_account_id:, ultimate_originating_account_type:, ultimate_originating_party_identifier:, ultimate_originating_party_name:, ultimate_receiving_party_identifier:, ultimate_receiving_party_name:, updated_at:, vendor_attributes:, vendor_failure_reason:)
|
|
346
332
|
# Some parameter documentations has been truncated, see
|
|
347
333
|
# {ModernTreasury::Models::PaymentOrder} for more details.
|
|
348
334
|
#
|
|
349
335
|
# @param id [String]
|
|
350
336
|
#
|
|
351
|
-
# @param accounting [ModernTreasury::Models::Accounting]
|
|
352
|
-
#
|
|
353
337
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
354
338
|
#
|
|
355
|
-
# @param accounting_ledger_class_id [String, nil] The ID of one of your accounting ledger classes. Note that these will only be ac
|
|
356
|
-
#
|
|
357
339
|
# @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
|
|
358
340
|
#
|
|
359
341
|
# @param charge_bearer [Symbol, ModernTreasury::Models::PaymentOrder::ChargeBearer, nil] The party that will pay the fees for the payment order. See https://docs.modernt
|
|
@@ -586,6 +568,7 @@ module ModernTreasury
|
|
|
586
568
|
BANKPROV_PAYMENT_ID = :bankprov_payment_id
|
|
587
569
|
BNK_DEV_PRENOTIFICATION_ID = :bnk_dev_prenotification_id
|
|
588
570
|
BNK_DEV_TRANSFER_ID = :bnk_dev_transfer_id
|
|
571
|
+
BNY_MELLON_TRANSACTION_REFERENCE_NUMBER = :bny_mellon_transaction_reference_number
|
|
589
572
|
BOFA_END_TO_END_ID = :bofa_end_to_end_id
|
|
590
573
|
BOFA_TRANSACTION_ID = :bofa_transaction_id
|
|
591
574
|
BRALE_TRANSFER_ID = :brale_transfer_id
|
|
@@ -37,11 +37,6 @@ module ModernTreasury
|
|
|
37
37
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderType]
|
|
38
38
|
required :type, enum: -> { ModernTreasury::PaymentOrderType }
|
|
39
39
|
|
|
40
|
-
# @!attribute accounting
|
|
41
|
-
#
|
|
42
|
-
# @return [ModernTreasury::Models::Accounting, nil]
|
|
43
|
-
optional :accounting, -> { ModernTreasury::Accounting }
|
|
44
|
-
|
|
45
40
|
# @!attribute accounting_category_id
|
|
46
41
|
# @deprecated
|
|
47
42
|
#
|
|
@@ -51,15 +46,6 @@ module ModernTreasury
|
|
|
51
46
|
# @return [String, nil]
|
|
52
47
|
optional :accounting_category_id, String, nil?: true
|
|
53
48
|
|
|
54
|
-
# @!attribute accounting_ledger_class_id
|
|
55
|
-
# @deprecated
|
|
56
|
-
#
|
|
57
|
-
# The ID of one of your accounting ledger classes. Note that these will only be
|
|
58
|
-
# accessible if your accounting system has been connected.
|
|
59
|
-
#
|
|
60
|
-
# @return [String, nil]
|
|
61
|
-
optional :accounting_ledger_class_id, String, nil?: true
|
|
62
|
-
|
|
63
49
|
# @!attribute charge_bearer
|
|
64
50
|
# The party that will pay the fees for the payment order. See
|
|
65
51
|
# https://docs.moderntreasury.com/payments/docs/charge-bearer to understand the
|
|
@@ -144,9 +130,7 @@ module ModernTreasury
|
|
|
144
130
|
#
|
|
145
131
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateAsyncParams::LineItem>, nil]
|
|
146
132
|
optional :line_items,
|
|
147
|
-
-> {
|
|
148
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::LineItem]
|
|
149
|
-
}
|
|
133
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::LineItem] }
|
|
150
134
|
|
|
151
135
|
# @!attribute metadata
|
|
152
136
|
# Additional data represented as key-value pairs. Both the key and value must be
|
|
@@ -279,7 +263,7 @@ module ModernTreasury
|
|
|
279
263
|
# @return [String, nil]
|
|
280
264
|
optional :ultimate_receiving_party_name, String, nil?: true
|
|
281
265
|
|
|
282
|
-
# @!method initialize(amount:, direction:, originating_account_id:, type:,
|
|
266
|
+
# @!method initialize(amount:, direction:, originating_account_id:, type:, accounting_category_id: nil, charge_bearer: nil, currency: nil, description: nil, effective_date: nil, expires_at: nil, fallback_type: nil, foreign_exchange_contract: nil, foreign_exchange_indicator: nil, ledger_transaction: nil, ledger_transaction_id: nil, line_items: nil, metadata: nil, nsf_protected: nil, originating_party_name: nil, priority: nil, process_after: nil, purpose: nil, receiving_account: nil, receiving_account_id: nil, remittance_information: nil, send_remittance_advice: nil, statement_descriptor: nil, subtype: nil, transaction_monitoring_enabled: nil, ultimate_originating_party_identifier: nil, ultimate_originating_party_name: nil, ultimate_receiving_party_identifier: nil, ultimate_receiving_party_name: nil, request_options: {})
|
|
283
267
|
# Some parameter documentations has been truncated, see
|
|
284
268
|
# {ModernTreasury::Models::PaymentOrderCreateAsyncParams} for more details.
|
|
285
269
|
#
|
|
@@ -291,12 +275,8 @@ module ModernTreasury
|
|
|
291
275
|
#
|
|
292
276
|
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
|
|
293
277
|
#
|
|
294
|
-
# @param accounting [ModernTreasury::Models::Accounting]
|
|
295
|
-
#
|
|
296
278
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
297
279
|
#
|
|
298
|
-
# @param accounting_ledger_class_id [String, nil] The ID of one of your accounting ledger classes. Note that these will only be ac
|
|
299
|
-
#
|
|
300
280
|
# @param charge_bearer [Symbol, ModernTreasury::Models::PaymentOrderCreateAsyncParams::ChargeBearer, nil] The party that will pay the fees for the payment order. See https://docs.modernt
|
|
301
281
|
#
|
|
302
282
|
# @param currency [Symbol, ModernTreasury::Models::Currency] Defaults to the currency of the originating account.
|
|
@@ -468,9 +448,7 @@ module ModernTreasury
|
|
|
468
448
|
#
|
|
469
449
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail>, nil]
|
|
470
450
|
optional :account_details,
|
|
471
|
-
-> {
|
|
472
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail]
|
|
473
|
-
}
|
|
451
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail] }
|
|
474
452
|
|
|
475
453
|
# @!attribute account_type
|
|
476
454
|
# Can be `checking`, `savings` or `other`.
|
|
@@ -550,9 +528,7 @@ module ModernTreasury
|
|
|
550
528
|
#
|
|
551
529
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail>, nil]
|
|
552
530
|
optional :routing_details,
|
|
553
|
-
-> {
|
|
554
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail]
|
|
555
|
-
}
|
|
531
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail] }
|
|
556
532
|
|
|
557
533
|
# @!method initialize(account_details: nil, account_type: nil, contact_details: nil, external_id: nil, ledger_account: nil, metadata: nil, name: nil, party_address: nil, party_identifier: nil, party_name: nil, party_type: nil, plaid_processor_token: nil, routing_details: nil)
|
|
558
534
|
# Some parameter documentations has been truncated, see
|
|
@@ -599,9 +575,7 @@ module ModernTreasury
|
|
|
599
575
|
#
|
|
600
576
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail::AccountNumberType, nil]
|
|
601
577
|
optional :account_number_type,
|
|
602
|
-
enum: -> {
|
|
603
|
-
ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail::AccountNumberType
|
|
604
|
-
}
|
|
578
|
+
enum: -> { ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail::AccountNumberType }
|
|
605
579
|
|
|
606
580
|
# @!method initialize(account_number:, account_number_type: nil)
|
|
607
581
|
# @param account_number [String]
|
|
@@ -654,17 +628,13 @@ module ModernTreasury
|
|
|
654
628
|
#
|
|
655
629
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::RoutingNumberType]
|
|
656
630
|
required :routing_number_type,
|
|
657
|
-
enum: -> {
|
|
658
|
-
ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::RoutingNumberType
|
|
659
|
-
}
|
|
631
|
+
enum: -> { ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::RoutingNumberType }
|
|
660
632
|
|
|
661
633
|
# @!attribute payment_type
|
|
662
634
|
#
|
|
663
635
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::PaymentType, nil]
|
|
664
636
|
optional :payment_type,
|
|
665
|
-
enum: -> {
|
|
666
|
-
ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::PaymentType
|
|
667
|
-
}
|
|
637
|
+
enum: -> { ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::PaymentType }
|
|
668
638
|
|
|
669
639
|
# @!method initialize(routing_number:, routing_number_type:, payment_type: nil)
|
|
670
640
|
# @param routing_number [String]
|
|
@@ -718,6 +688,7 @@ module ModernTreasury
|
|
|
718
688
|
DK_NETS = :dk_nets
|
|
719
689
|
EFT = :eft
|
|
720
690
|
ETHEREUM = :ethereum
|
|
691
|
+
GB_FPS = :gb_fps
|
|
721
692
|
HU_ICS = :hu_ics
|
|
722
693
|
INTERAC = :interac
|
|
723
694
|
MASAV = :masav
|