modern_treasury 0.4.0 → 0.6.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 +30 -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 +102 -75
- data/lib/modern_treasury/models/bulk_result.rb +1 -3
- data/lib/modern_treasury/models/child_legal_entity_create.rb +2 -6
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +3 -9
- 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 +12 -27
- 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 +1 -3
- 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 +3 -10
- data/lib/modern_treasury/models/legal_entity_address_create_request.rb +1 -3
- data/lib/modern_treasury/models/legal_entity_association.rb +7 -21
- data/lib/modern_treasury/models/legal_entity_association_create_params.rb +1 -3
- data/lib/modern_treasury/models/legal_entity_create_params.rb +3 -9
- data/lib/modern_treasury/models/legal_entity_update_params.rb +2 -6
- data/lib/modern_treasury/models/line_item.rb +40 -3
- 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 +37 -3
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +42 -21
- data/lib/modern_treasury/models/payment_order_create_params.rb +42 -24
- 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 +41 -21
- 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 +0 -2
- data/lib/modern_treasury/resources/ledger_transactions.rb +3 -1
- data/lib/modern_treasury/resources/payment_orders.rb +3 -3
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +0 -1
- data/rbi/modern_treasury/errors.rbi +2 -2
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +141 -8
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +5 -0
- 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_transaction_list_params.rbi +84 -0
- data/rbi/modern_treasury/models/line_item.rbi +52 -4
- 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 +59 -4
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +66 -4
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +63 -4
- 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 +63 -4
- 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 +0 -2
- data/rbi/modern_treasury/resources/ledger_transactions.rbi +3 -0
- data/rbi/modern_treasury/resources/payment_orders.rbi +6 -3
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +42 -12
- data/sig/modern_treasury/models/counterparty_create_params.rbs +2 -0
- 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_transaction_list_params.rbs +50 -0
- data/sig/modern_treasury/models/line_item.rbs +16 -4
- 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 +18 -4
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +20 -6
- data/sig/modern_treasury/models/payment_order_create_params.rbs +20 -6
- 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 +20 -6
- 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 +0 -2
- data/sig/modern_treasury/resources/ledger_transactions.rbs +1 -0
- data/sig/modern_treasury/resources/payment_orders.rbs +3 -3
- metadata +2 -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
|
@@ -54,9 +54,7 @@ module ModernTreasury
|
|
|
54
54
|
#
|
|
55
55
|
# @return [Array<Symbol, ModernTreasury::Models::LegalEntityAssociation::RelationshipType>]
|
|
56
56
|
required :relationship_types,
|
|
57
|
-
-> {
|
|
58
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociation::RelationshipType]
|
|
59
|
-
}
|
|
57
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociation::RelationshipType] }
|
|
60
58
|
|
|
61
59
|
# @!attribute title
|
|
62
60
|
# The job title of the child entity at the parent entity.
|
|
@@ -107,9 +105,7 @@ module ModernTreasury
|
|
|
107
105
|
#
|
|
108
106
|
# @return [Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address>]
|
|
109
107
|
required :addresses,
|
|
110
|
-
-> {
|
|
111
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address]
|
|
112
|
-
}
|
|
108
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address] }
|
|
113
109
|
|
|
114
110
|
# @!attribute bank_settings
|
|
115
111
|
#
|
|
@@ -177,18 +173,14 @@ module ModernTreasury
|
|
|
177
173
|
#
|
|
178
174
|
# @return [Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification>]
|
|
179
175
|
required :identifications,
|
|
180
|
-
-> {
|
|
181
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification]
|
|
182
|
-
}
|
|
176
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification] }
|
|
183
177
|
|
|
184
178
|
# @!attribute industry_classifications
|
|
185
179
|
# A list of industry classifications for the legal entity.
|
|
186
180
|
#
|
|
187
181
|
# @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>]
|
|
188
182
|
required :industry_classifications,
|
|
189
|
-
-> {
|
|
190
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification]
|
|
191
|
-
}
|
|
183
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification] }
|
|
192
184
|
|
|
193
185
|
# @!attribute last_name
|
|
194
186
|
# An individual's last name.
|
|
@@ -240,9 +232,7 @@ module ModernTreasury
|
|
|
240
232
|
#
|
|
241
233
|
# @return [Array<ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::PhoneNumber>]
|
|
242
234
|
required :phone_numbers,
|
|
243
|
-
-> {
|
|
244
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::PhoneNumber]
|
|
245
|
-
}
|
|
235
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation::ChildLegalEntity::PhoneNumber] }
|
|
246
236
|
|
|
247
237
|
# @!attribute politically_exposed_person
|
|
248
238
|
# Whether the individual is a politically exposed person.
|
|
@@ -374,9 +364,7 @@ module ModernTreasury
|
|
|
374
364
|
#
|
|
375
365
|
# @return [Array<Symbol, ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Address::AddressType>]
|
|
376
366
|
required :address_types,
|
|
377
|
-
-> {
|
|
378
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address::AddressType]
|
|
379
|
-
}
|
|
367
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Address::AddressType] }
|
|
380
368
|
|
|
381
369
|
# @!attribute country
|
|
382
370
|
# Country code conforms to [ISO 3166-1 alpha-2]
|
|
@@ -512,9 +500,7 @@ module ModernTreasury
|
|
|
512
500
|
#
|
|
513
501
|
# @return [Symbol, ModernTreasury::Models::LegalEntityAssociation::ChildLegalEntity::Identification::IDType]
|
|
514
502
|
required :id_type,
|
|
515
|
-
enum: -> {
|
|
516
|
-
ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification::IDType
|
|
517
|
-
}
|
|
503
|
+
enum: -> { ModernTreasury::LegalEntityAssociation::ChildLegalEntity::Identification::IDType }
|
|
518
504
|
|
|
519
505
|
# @!attribute issuing_country
|
|
520
506
|
# The ISO 3166-1 alpha-2 country code of the country that issued the
|
|
@@ -18,9 +18,7 @@ module ModernTreasury
|
|
|
18
18
|
#
|
|
19
19
|
# @return [Array<Symbol, ModernTreasury::Models::LegalEntityAssociationCreateParams::RelationshipType>]
|
|
20
20
|
required :relationship_types,
|
|
21
|
-
-> {
|
|
22
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociationCreateParams::RelationshipType]
|
|
23
|
-
}
|
|
21
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityAssociationCreateParams::RelationshipType] }
|
|
24
22
|
|
|
25
23
|
# @!attribute child_legal_entity
|
|
26
24
|
# The child legal entity.
|
|
@@ -83,9 +83,7 @@ module ModernTreasury
|
|
|
83
83
|
#
|
|
84
84
|
# @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>, nil]
|
|
85
85
|
optional :industry_classifications,
|
|
86
|
-
-> {
|
|
87
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification]
|
|
88
|
-
}
|
|
86
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification] }
|
|
89
87
|
|
|
90
88
|
# @!attribute last_name
|
|
91
89
|
# An individual's last name.
|
|
@@ -128,9 +126,7 @@ module ModernTreasury
|
|
|
128
126
|
#
|
|
129
127
|
# @return [Array<ModernTreasury::Models::LegalEntityCreateParams::PhoneNumber>, nil]
|
|
130
128
|
optional :phone_numbers,
|
|
131
|
-
-> {
|
|
132
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityCreateParams::PhoneNumber]
|
|
133
|
-
}
|
|
129
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityCreateParams::PhoneNumber] }
|
|
134
130
|
|
|
135
131
|
# @!attribute politically_exposed_person
|
|
136
132
|
# Whether the individual is a politically exposed person.
|
|
@@ -249,9 +245,7 @@ module ModernTreasury
|
|
|
249
245
|
#
|
|
250
246
|
# @return [Array<Symbol, ModernTreasury::Models::LegalEntityCreateParams::LegalEntityAssociation::RelationshipType>]
|
|
251
247
|
required :relationship_types,
|
|
252
|
-
-> {
|
|
253
|
-
ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::RelationshipType]
|
|
254
|
-
}
|
|
248
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::LegalEntityCreateParams::LegalEntityAssociation::RelationshipType] }
|
|
255
249
|
|
|
256
250
|
# @!attribute child_legal_entity
|
|
257
251
|
# The child legal entity.
|
|
@@ -77,9 +77,7 @@ module ModernTreasury
|
|
|
77
77
|
#
|
|
78
78
|
# @return [Array<ModernTreasury::Models::LegalEntityIndustryClassification>, nil]
|
|
79
79
|
optional :industry_classifications,
|
|
80
|
-
-> {
|
|
81
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification]
|
|
82
|
-
}
|
|
80
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityIndustryClassification] }
|
|
83
81
|
|
|
84
82
|
# @!attribute last_name
|
|
85
83
|
# An individual's last name.
|
|
@@ -112,9 +110,7 @@ module ModernTreasury
|
|
|
112
110
|
#
|
|
113
111
|
# @return [Array<ModernTreasury::Models::LegalEntityUpdateParams::PhoneNumber>, nil]
|
|
114
112
|
optional :phone_numbers,
|
|
115
|
-
-> {
|
|
116
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityUpdateParams::PhoneNumber]
|
|
117
|
-
}
|
|
113
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityUpdateParams::PhoneNumber] }
|
|
118
114
|
|
|
119
115
|
# @!attribute politically_exposed_person
|
|
120
116
|
# Whether the individual is a politically exposed person.
|
|
@@ -10,11 +10,14 @@ module ModernTreasury
|
|
|
10
10
|
required :id, String
|
|
11
11
|
|
|
12
12
|
# @!attribute accounting
|
|
13
|
+
# @deprecated
|
|
13
14
|
#
|
|
14
|
-
# @return [ModernTreasury::Models::Accounting]
|
|
15
|
-
required :accounting, -> { ModernTreasury::Accounting }
|
|
15
|
+
# @return [ModernTreasury::Models::LineItem::Accounting]
|
|
16
|
+
required :accounting, -> { ModernTreasury::LineItem::Accounting }
|
|
16
17
|
|
|
17
18
|
# @!attribute accounting_category_id
|
|
19
|
+
# @deprecated
|
|
20
|
+
#
|
|
18
21
|
# The ID of one of your accounting categories. Note that these will only be
|
|
19
22
|
# accessible if your accounting system has been connected.
|
|
20
23
|
#
|
|
@@ -22,6 +25,8 @@ module ModernTreasury
|
|
|
22
25
|
required :accounting_category_id, String, nil?: true
|
|
23
26
|
|
|
24
27
|
# @!attribute accounting_ledger_class_id
|
|
28
|
+
# @deprecated
|
|
29
|
+
#
|
|
25
30
|
# The ID of one of the class objects in your accounting system. Class objects
|
|
26
31
|
# track segments of your business independent of client or project. Note that
|
|
27
32
|
# these will only be accessible if your accounting system has been connected.
|
|
@@ -89,7 +94,7 @@ module ModernTreasury
|
|
|
89
94
|
#
|
|
90
95
|
# @param id [String]
|
|
91
96
|
#
|
|
92
|
-
# @param accounting [ModernTreasury::Models::Accounting]
|
|
97
|
+
# @param accounting [ModernTreasury::Models::LineItem::Accounting]
|
|
93
98
|
#
|
|
94
99
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
95
100
|
#
|
|
@@ -113,6 +118,38 @@ module ModernTreasury
|
|
|
113
118
|
#
|
|
114
119
|
# @param updated_at [Time]
|
|
115
120
|
|
|
121
|
+
# @deprecated
|
|
122
|
+
#
|
|
123
|
+
# @see ModernTreasury::Models::LineItem#accounting
|
|
124
|
+
class Accounting < ModernTreasury::Internal::Type::BaseModel
|
|
125
|
+
# @!attribute account_id
|
|
126
|
+
# @deprecated
|
|
127
|
+
#
|
|
128
|
+
# The ID of one of your accounting categories. Note that these will only be
|
|
129
|
+
# accessible if your accounting system has been connected.
|
|
130
|
+
#
|
|
131
|
+
# @return [String, nil]
|
|
132
|
+
optional :account_id, String, nil?: true
|
|
133
|
+
|
|
134
|
+
# @!attribute class_id
|
|
135
|
+
# @deprecated
|
|
136
|
+
#
|
|
137
|
+
# The ID of one of the class objects in your accounting system. Class objects
|
|
138
|
+
# track segments of your business independent of client or project. Note that
|
|
139
|
+
# these will only be accessible if your accounting system has been connected.
|
|
140
|
+
#
|
|
141
|
+
# @return [String, nil]
|
|
142
|
+
optional :class_id, String, nil?: true
|
|
143
|
+
|
|
144
|
+
# @!method initialize(account_id: nil, class_id: nil)
|
|
145
|
+
# Some parameter documentations has been truncated, see
|
|
146
|
+
# {ModernTreasury::Models::LineItem::Accounting} for more details.
|
|
147
|
+
#
|
|
148
|
+
# @param account_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
149
|
+
#
|
|
150
|
+
# @param class_id [String, nil] The ID of one of the class objects in your accounting system. Class objects trac
|
|
151
|
+
end
|
|
152
|
+
|
|
116
153
|
# One of `payment_orders` or `expected_payments`.
|
|
117
154
|
#
|
|
118
155
|
# @see ModernTreasury::Models::LineItem#itemizable_type
|
|
@@ -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
|
|
@@ -10,9 +10,10 @@ module ModernTreasury
|
|
|
10
10
|
required :id, String
|
|
11
11
|
|
|
12
12
|
# @!attribute accounting
|
|
13
|
+
# @deprecated
|
|
13
14
|
#
|
|
14
|
-
# @return [ModernTreasury::Models::Accounting]
|
|
15
|
-
required :accounting, -> { ModernTreasury::Accounting }
|
|
15
|
+
# @return [ModernTreasury::Models::PaymentOrder::Accounting]
|
|
16
|
+
required :accounting, -> { ModernTreasury::PaymentOrder::Accounting }
|
|
16
17
|
|
|
17
18
|
# @!attribute accounting_category_id
|
|
18
19
|
# @deprecated
|
|
@@ -348,7 +349,7 @@ module ModernTreasury
|
|
|
348
349
|
#
|
|
349
350
|
# @param id [String]
|
|
350
351
|
#
|
|
351
|
-
# @param accounting [ModernTreasury::Models::Accounting]
|
|
352
|
+
# @param accounting [ModernTreasury::Models::PaymentOrder::Accounting]
|
|
352
353
|
#
|
|
353
354
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
354
355
|
#
|
|
@@ -442,6 +443,38 @@ module ModernTreasury
|
|
|
442
443
|
#
|
|
443
444
|
# @param vendor_failure_reason [String, nil] This field will be populated if a vendor failure occurs. Logic shouldn't be buil
|
|
444
445
|
|
|
446
|
+
# @deprecated
|
|
447
|
+
#
|
|
448
|
+
# @see ModernTreasury::Models::PaymentOrder#accounting
|
|
449
|
+
class Accounting < ModernTreasury::Internal::Type::BaseModel
|
|
450
|
+
# @!attribute account_id
|
|
451
|
+
# @deprecated
|
|
452
|
+
#
|
|
453
|
+
# The ID of one of your accounting categories. Note that these will only be
|
|
454
|
+
# accessible if your accounting system has been connected.
|
|
455
|
+
#
|
|
456
|
+
# @return [String, nil]
|
|
457
|
+
optional :account_id, String, nil?: true
|
|
458
|
+
|
|
459
|
+
# @!attribute class_id
|
|
460
|
+
# @deprecated
|
|
461
|
+
#
|
|
462
|
+
# The ID of one of the class objects in your accounting system. Class objects
|
|
463
|
+
# track segments of your business independent of client or project. Note that
|
|
464
|
+
# these will only be accessible if your accounting system has been connected.
|
|
465
|
+
#
|
|
466
|
+
# @return [String, nil]
|
|
467
|
+
optional :class_id, String, nil?: true
|
|
468
|
+
|
|
469
|
+
# @!method initialize(account_id: nil, class_id: nil)
|
|
470
|
+
# Some parameter documentations has been truncated, see
|
|
471
|
+
# {ModernTreasury::Models::PaymentOrder::Accounting} for more details.
|
|
472
|
+
#
|
|
473
|
+
# @param account_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
474
|
+
#
|
|
475
|
+
# @param class_id [String, nil] The ID of one of the class objects in your accounting system. Class objects trac
|
|
476
|
+
end
|
|
477
|
+
|
|
445
478
|
# The party that will pay the fees for the payment order. See
|
|
446
479
|
# https://docs.moderntreasury.com/payments/docs/charge-bearer to understand the
|
|
447
480
|
# differences between the options.
|
|
@@ -586,6 +619,7 @@ module ModernTreasury
|
|
|
586
619
|
BANKPROV_PAYMENT_ID = :bankprov_payment_id
|
|
587
620
|
BNK_DEV_PRENOTIFICATION_ID = :bnk_dev_prenotification_id
|
|
588
621
|
BNK_DEV_TRANSFER_ID = :bnk_dev_transfer_id
|
|
622
|
+
BNY_MELLON_TRANSACTION_REFERENCE_NUMBER = :bny_mellon_transaction_reference_number
|
|
589
623
|
BOFA_END_TO_END_ID = :bofa_end_to_end_id
|
|
590
624
|
BOFA_TRANSACTION_ID = :bofa_transaction_id
|
|
591
625
|
BRALE_TRANSFER_ID = :brale_transfer_id
|
|
@@ -38,9 +38,10 @@ module ModernTreasury
|
|
|
38
38
|
required :type, enum: -> { ModernTreasury::PaymentOrderType }
|
|
39
39
|
|
|
40
40
|
# @!attribute accounting
|
|
41
|
+
# @deprecated
|
|
41
42
|
#
|
|
42
|
-
# @return [ModernTreasury::Models::Accounting, nil]
|
|
43
|
-
optional :accounting, -> { ModernTreasury::Accounting }
|
|
43
|
+
# @return [ModernTreasury::Models::PaymentOrderCreateAsyncParams::Accounting, nil]
|
|
44
|
+
optional :accounting, -> { ModernTreasury::PaymentOrderCreateAsyncParams::Accounting }
|
|
44
45
|
|
|
45
46
|
# @!attribute accounting_category_id
|
|
46
47
|
# @deprecated
|
|
@@ -144,9 +145,7 @@ module ModernTreasury
|
|
|
144
145
|
#
|
|
145
146
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateAsyncParams::LineItem>, nil]
|
|
146
147
|
optional :line_items,
|
|
147
|
-
-> {
|
|
148
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::LineItem]
|
|
149
|
-
}
|
|
148
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::LineItem] }
|
|
150
149
|
|
|
151
150
|
# @!attribute metadata
|
|
152
151
|
# Additional data represented as key-value pairs. Both the key and value must be
|
|
@@ -291,7 +290,7 @@ module ModernTreasury
|
|
|
291
290
|
#
|
|
292
291
|
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
|
|
293
292
|
#
|
|
294
|
-
# @param accounting [ModernTreasury::Models::Accounting]
|
|
293
|
+
# @param accounting [ModernTreasury::Models::PaymentOrderCreateAsyncParams::Accounting]
|
|
295
294
|
#
|
|
296
295
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
297
296
|
#
|
|
@@ -369,6 +368,37 @@ module ModernTreasury
|
|
|
369
368
|
# @return [Array<Symbol>]
|
|
370
369
|
end
|
|
371
370
|
|
|
371
|
+
# @deprecated
|
|
372
|
+
class Accounting < ModernTreasury::Internal::Type::BaseModel
|
|
373
|
+
# @!attribute account_id
|
|
374
|
+
# @deprecated
|
|
375
|
+
#
|
|
376
|
+
# The ID of one of your accounting categories. Note that these will only be
|
|
377
|
+
# accessible if your accounting system has been connected.
|
|
378
|
+
#
|
|
379
|
+
# @return [String, nil]
|
|
380
|
+
optional :account_id, String, nil?: true
|
|
381
|
+
|
|
382
|
+
# @!attribute class_id
|
|
383
|
+
# @deprecated
|
|
384
|
+
#
|
|
385
|
+
# The ID of one of the class objects in your accounting system. Class objects
|
|
386
|
+
# track segments of your business independent of client or project. Note that
|
|
387
|
+
# these will only be accessible if your accounting system has been connected.
|
|
388
|
+
#
|
|
389
|
+
# @return [String, nil]
|
|
390
|
+
optional :class_id, String, nil?: true
|
|
391
|
+
|
|
392
|
+
# @!method initialize(account_id: nil, class_id: nil)
|
|
393
|
+
# Some parameter documentations has been truncated, see
|
|
394
|
+
# {ModernTreasury::Models::PaymentOrderCreateAsyncParams::Accounting} for more
|
|
395
|
+
# details.
|
|
396
|
+
#
|
|
397
|
+
# @param account_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
398
|
+
#
|
|
399
|
+
# @param class_id [String, nil] The ID of one of the class objects in your accounting system. Class objects trac
|
|
400
|
+
end
|
|
401
|
+
|
|
372
402
|
# The party that will pay the fees for the payment order. See
|
|
373
403
|
# https://docs.moderntreasury.com/payments/docs/charge-bearer to understand the
|
|
374
404
|
# differences between the options.
|
|
@@ -468,9 +498,7 @@ module ModernTreasury
|
|
|
468
498
|
#
|
|
469
499
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail>, nil]
|
|
470
500
|
optional :account_details,
|
|
471
|
-
-> {
|
|
472
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail]
|
|
473
|
-
}
|
|
501
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail] }
|
|
474
502
|
|
|
475
503
|
# @!attribute account_type
|
|
476
504
|
# Can be `checking`, `savings` or `other`.
|
|
@@ -550,9 +578,7 @@ module ModernTreasury
|
|
|
550
578
|
#
|
|
551
579
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail>, nil]
|
|
552
580
|
optional :routing_details,
|
|
553
|
-
-> {
|
|
554
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail]
|
|
555
|
-
}
|
|
581
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail] }
|
|
556
582
|
|
|
557
583
|
# @!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
584
|
# Some parameter documentations has been truncated, see
|
|
@@ -599,9 +625,7 @@ module ModernTreasury
|
|
|
599
625
|
#
|
|
600
626
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail::AccountNumberType, nil]
|
|
601
627
|
optional :account_number_type,
|
|
602
|
-
enum: -> {
|
|
603
|
-
ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail::AccountNumberType
|
|
604
|
-
}
|
|
628
|
+
enum: -> { ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::AccountDetail::AccountNumberType }
|
|
605
629
|
|
|
606
630
|
# @!method initialize(account_number:, account_number_type: nil)
|
|
607
631
|
# @param account_number [String]
|
|
@@ -654,17 +678,13 @@ module ModernTreasury
|
|
|
654
678
|
#
|
|
655
679
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::RoutingNumberType]
|
|
656
680
|
required :routing_number_type,
|
|
657
|
-
enum: -> {
|
|
658
|
-
ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::RoutingNumberType
|
|
659
|
-
}
|
|
681
|
+
enum: -> { ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::RoutingNumberType }
|
|
660
682
|
|
|
661
683
|
# @!attribute payment_type
|
|
662
684
|
#
|
|
663
685
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::PaymentType, nil]
|
|
664
686
|
optional :payment_type,
|
|
665
|
-
enum: -> {
|
|
666
|
-
ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::PaymentType
|
|
667
|
-
}
|
|
687
|
+
enum: -> { ModernTreasury::PaymentOrderCreateAsyncParams::ReceivingAccount::RoutingDetail::PaymentType }
|
|
668
688
|
|
|
669
689
|
# @!method initialize(routing_number:, routing_number_type:, payment_type: nil)
|
|
670
690
|
# @param routing_number [String]
|
|
@@ -718,6 +738,7 @@ module ModernTreasury
|
|
|
718
738
|
DK_NETS = :dk_nets
|
|
719
739
|
EFT = :eft
|
|
720
740
|
ETHEREUM = :ethereum
|
|
741
|
+
GB_FPS = :gb_fps
|
|
721
742
|
HU_ICS = :hu_ics
|
|
722
743
|
INTERAC = :interac
|
|
723
744
|
MASAV = :masav
|
|
@@ -38,9 +38,10 @@ module ModernTreasury
|
|
|
38
38
|
required :type, enum: -> { ModernTreasury::PaymentOrderType }
|
|
39
39
|
|
|
40
40
|
# @!attribute accounting
|
|
41
|
+
# @deprecated
|
|
41
42
|
#
|
|
42
|
-
# @return [ModernTreasury::Models::Accounting, nil]
|
|
43
|
-
optional :accounting, -> { ModernTreasury::Accounting }
|
|
43
|
+
# @return [ModernTreasury::Models::PaymentOrderCreateParams::Accounting, nil]
|
|
44
|
+
optional :accounting, -> { ModernTreasury::PaymentOrderCreateParams::Accounting }
|
|
44
45
|
|
|
45
46
|
# @!attribute accounting_category_id
|
|
46
47
|
# @deprecated
|
|
@@ -86,9 +87,7 @@ module ModernTreasury
|
|
|
86
87
|
#
|
|
87
88
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateParams::Document>, nil]
|
|
88
89
|
optional :documents,
|
|
89
|
-
-> {
|
|
90
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::Document]
|
|
91
|
-
}
|
|
90
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::Document] }
|
|
92
91
|
|
|
93
92
|
# @!attribute effective_date
|
|
94
93
|
# Date transactions are to be posted to the participants' account. Defaults to the
|
|
@@ -152,9 +151,7 @@ module ModernTreasury
|
|
|
152
151
|
#
|
|
153
152
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateParams::LineItem>, nil]
|
|
154
153
|
optional :line_items,
|
|
155
|
-
-> {
|
|
156
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::LineItem]
|
|
157
|
-
}
|
|
154
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::LineItem] }
|
|
158
155
|
|
|
159
156
|
# @!attribute metadata
|
|
160
157
|
# Additional data represented as key-value pairs. Both the key and value must be
|
|
@@ -299,7 +296,7 @@ module ModernTreasury
|
|
|
299
296
|
#
|
|
300
297
|
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
|
|
301
298
|
#
|
|
302
|
-
# @param accounting [ModernTreasury::Models::Accounting]
|
|
299
|
+
# @param accounting [ModernTreasury::Models::PaymentOrderCreateParams::Accounting]
|
|
303
300
|
#
|
|
304
301
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
305
302
|
#
|
|
@@ -379,6 +376,36 @@ module ModernTreasury
|
|
|
379
376
|
# @return [Array<Symbol>]
|
|
380
377
|
end
|
|
381
378
|
|
|
379
|
+
# @deprecated
|
|
380
|
+
class Accounting < ModernTreasury::Internal::Type::BaseModel
|
|
381
|
+
# @!attribute account_id
|
|
382
|
+
# @deprecated
|
|
383
|
+
#
|
|
384
|
+
# The ID of one of your accounting categories. Note that these will only be
|
|
385
|
+
# accessible if your accounting system has been connected.
|
|
386
|
+
#
|
|
387
|
+
# @return [String, nil]
|
|
388
|
+
optional :account_id, String, nil?: true
|
|
389
|
+
|
|
390
|
+
# @!attribute class_id
|
|
391
|
+
# @deprecated
|
|
392
|
+
#
|
|
393
|
+
# The ID of one of the class objects in your accounting system. Class objects
|
|
394
|
+
# track segments of your business independent of client or project. Note that
|
|
395
|
+
# these will only be accessible if your accounting system has been connected.
|
|
396
|
+
#
|
|
397
|
+
# @return [String, nil]
|
|
398
|
+
optional :class_id, String, nil?: true
|
|
399
|
+
|
|
400
|
+
# @!method initialize(account_id: nil, class_id: nil)
|
|
401
|
+
# Some parameter documentations has been truncated, see
|
|
402
|
+
# {ModernTreasury::Models::PaymentOrderCreateParams::Accounting} for more details.
|
|
403
|
+
#
|
|
404
|
+
# @param account_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
405
|
+
#
|
|
406
|
+
# @param class_id [String, nil] The ID of one of the class objects in your accounting system. Class objects trac
|
|
407
|
+
end
|
|
408
|
+
|
|
382
409
|
# The party that will pay the fees for the payment order. See
|
|
383
410
|
# https://docs.moderntreasury.com/payments/docs/charge-bearer to understand the
|
|
384
411
|
# differences between the options.
|
|
@@ -530,9 +557,7 @@ module ModernTreasury
|
|
|
530
557
|
#
|
|
531
558
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateParams::ReceivingAccount::AccountDetail>, nil]
|
|
532
559
|
optional :account_details,
|
|
533
|
-
-> {
|
|
534
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::AccountDetail]
|
|
535
|
-
}
|
|
560
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::AccountDetail] }
|
|
536
561
|
|
|
537
562
|
# @!attribute account_type
|
|
538
563
|
# Can be `checking`, `savings` or `other`.
|
|
@@ -612,9 +637,7 @@ module ModernTreasury
|
|
|
612
637
|
#
|
|
613
638
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail>, nil]
|
|
614
639
|
optional :routing_details,
|
|
615
|
-
-> {
|
|
616
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail]
|
|
617
|
-
}
|
|
640
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail] }
|
|
618
641
|
|
|
619
642
|
# @!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)
|
|
620
643
|
# Some parameter documentations has been truncated, see
|
|
@@ -661,9 +684,7 @@ module ModernTreasury
|
|
|
661
684
|
#
|
|
662
685
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateParams::ReceivingAccount::AccountDetail::AccountNumberType, nil]
|
|
663
686
|
optional :account_number_type,
|
|
664
|
-
enum: -> {
|
|
665
|
-
ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::AccountDetail::AccountNumberType
|
|
666
|
-
}
|
|
687
|
+
enum: -> { ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::AccountDetail::AccountNumberType }
|
|
667
688
|
|
|
668
689
|
# @!method initialize(account_number:, account_number_type: nil)
|
|
669
690
|
# @param account_number [String]
|
|
@@ -716,17 +737,13 @@ module ModernTreasury
|
|
|
716
737
|
#
|
|
717
738
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::RoutingNumberType]
|
|
718
739
|
required :routing_number_type,
|
|
719
|
-
enum: -> {
|
|
720
|
-
ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::RoutingNumberType
|
|
721
|
-
}
|
|
740
|
+
enum: -> { ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::RoutingNumberType }
|
|
722
741
|
|
|
723
742
|
# @!attribute payment_type
|
|
724
743
|
#
|
|
725
744
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::PaymentType, nil]
|
|
726
745
|
optional :payment_type,
|
|
727
|
-
enum: -> {
|
|
728
|
-
ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::PaymentType
|
|
729
|
-
}
|
|
746
|
+
enum: -> { ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::PaymentType }
|
|
730
747
|
|
|
731
748
|
# @!method initialize(routing_number:, routing_number_type:, payment_type: nil)
|
|
732
749
|
# @param routing_number [String]
|
|
@@ -780,6 +797,7 @@ module ModernTreasury
|
|
|
780
797
|
DK_NETS = :dk_nets
|
|
781
798
|
EFT = :eft
|
|
782
799
|
ETHEREUM = :ethereum
|
|
800
|
+
GB_FPS = :gb_fps
|
|
783
801
|
HU_ICS = :hu_ics
|
|
784
802
|
INTERAC = :interac
|
|
785
803
|
MASAV = :masav
|