modern_treasury 0.4.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 +22 -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 +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 +10 -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 +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 +0 -2
- data/lib/modern_treasury/resources/ledger_transactions.rb +3 -1
- data/lib/modern_treasury/resources/payment_orders.rb +3 -15
- 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 +15 -38
- 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 +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 +0 -2
- data/rbi/modern_treasury/resources/ledger_transactions.rbi +3 -0
- 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/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 +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 +0 -2
- data/sig/modern_treasury/resources/ledger_transactions.rbs +1 -0
- data/sig/modern_treasury/resources/payment_orders.rbs +0 -6
- 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
|
@@ -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.
|
|
@@ -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
|
|
@@ -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
|
|
@@ -86,9 +72,7 @@ module ModernTreasury
|
|
|
86
72
|
#
|
|
87
73
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateParams::Document>, nil]
|
|
88
74
|
optional :documents,
|
|
89
|
-
-> {
|
|
90
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::Document]
|
|
91
|
-
}
|
|
75
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::Document] }
|
|
92
76
|
|
|
93
77
|
# @!attribute effective_date
|
|
94
78
|
# Date transactions are to be posted to the participants' account. Defaults to the
|
|
@@ -152,9 +136,7 @@ module ModernTreasury
|
|
|
152
136
|
#
|
|
153
137
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateParams::LineItem>, nil]
|
|
154
138
|
optional :line_items,
|
|
155
|
-
-> {
|
|
156
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::LineItem]
|
|
157
|
-
}
|
|
139
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::LineItem] }
|
|
158
140
|
|
|
159
141
|
# @!attribute metadata
|
|
160
142
|
# Additional data represented as key-value pairs. Both the key and value must be
|
|
@@ -287,7 +269,7 @@ module ModernTreasury
|
|
|
287
269
|
# @return [String, nil]
|
|
288
270
|
optional :ultimate_receiving_party_name, String, nil?: true
|
|
289
271
|
|
|
290
|
-
# @!method initialize(amount:, direction:, originating_account_id:, type:,
|
|
272
|
+
# @!method initialize(amount:, direction:, originating_account_id:, type:, accounting_category_id: nil, charge_bearer: nil, currency: nil, description: nil, documents: 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: {})
|
|
291
273
|
# Some parameter documentations has been truncated, see
|
|
292
274
|
# {ModernTreasury::Models::PaymentOrderCreateParams} for more details.
|
|
293
275
|
#
|
|
@@ -299,12 +281,8 @@ module ModernTreasury
|
|
|
299
281
|
#
|
|
300
282
|
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
|
|
301
283
|
#
|
|
302
|
-
# @param accounting [ModernTreasury::Models::Accounting]
|
|
303
|
-
#
|
|
304
284
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
305
285
|
#
|
|
306
|
-
# @param accounting_ledger_class_id [String, nil] The ID of one of your accounting ledger classes. Note that these will only be ac
|
|
307
|
-
#
|
|
308
286
|
# @param charge_bearer [Symbol, ModernTreasury::Models::PaymentOrderCreateParams::ChargeBearer, nil] The party that will pay the fees for the payment order. See https://docs.modernt
|
|
309
287
|
#
|
|
310
288
|
# @param currency [Symbol, ModernTreasury::Models::Currency] Defaults to the currency of the originating account.
|
|
@@ -530,9 +508,7 @@ module ModernTreasury
|
|
|
530
508
|
#
|
|
531
509
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateParams::ReceivingAccount::AccountDetail>, nil]
|
|
532
510
|
optional :account_details,
|
|
533
|
-
-> {
|
|
534
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::AccountDetail]
|
|
535
|
-
}
|
|
511
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::AccountDetail] }
|
|
536
512
|
|
|
537
513
|
# @!attribute account_type
|
|
538
514
|
# Can be `checking`, `savings` or `other`.
|
|
@@ -612,9 +588,7 @@ module ModernTreasury
|
|
|
612
588
|
#
|
|
613
589
|
# @return [Array<ModernTreasury::Models::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail>, nil]
|
|
614
590
|
optional :routing_details,
|
|
615
|
-
-> {
|
|
616
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail]
|
|
617
|
-
}
|
|
591
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail] }
|
|
618
592
|
|
|
619
593
|
# @!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
594
|
# Some parameter documentations has been truncated, see
|
|
@@ -661,9 +635,7 @@ module ModernTreasury
|
|
|
661
635
|
#
|
|
662
636
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateParams::ReceivingAccount::AccountDetail::AccountNumberType, nil]
|
|
663
637
|
optional :account_number_type,
|
|
664
|
-
enum: -> {
|
|
665
|
-
ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::AccountDetail::AccountNumberType
|
|
666
|
-
}
|
|
638
|
+
enum: -> { ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::AccountDetail::AccountNumberType }
|
|
667
639
|
|
|
668
640
|
# @!method initialize(account_number:, account_number_type: nil)
|
|
669
641
|
# @param account_number [String]
|
|
@@ -716,17 +688,13 @@ module ModernTreasury
|
|
|
716
688
|
#
|
|
717
689
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::RoutingNumberType]
|
|
718
690
|
required :routing_number_type,
|
|
719
|
-
enum: -> {
|
|
720
|
-
ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::RoutingNumberType
|
|
721
|
-
}
|
|
691
|
+
enum: -> { ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::RoutingNumberType }
|
|
722
692
|
|
|
723
693
|
# @!attribute payment_type
|
|
724
694
|
#
|
|
725
695
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::PaymentType, nil]
|
|
726
696
|
optional :payment_type,
|
|
727
|
-
enum: -> {
|
|
728
|
-
ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::PaymentType
|
|
729
|
-
}
|
|
697
|
+
enum: -> { ModernTreasury::PaymentOrderCreateParams::ReceivingAccount::RoutingDetail::PaymentType }
|
|
730
698
|
|
|
731
699
|
# @!method initialize(routing_number:, routing_number_type:, payment_type: nil)
|
|
732
700
|
# @param routing_number [String]
|
|
@@ -780,6 +748,7 @@ module ModernTreasury
|
|
|
780
748
|
DK_NETS = :dk_nets
|
|
781
749
|
EFT = :eft
|
|
782
750
|
ETHEREUM = :ethereum
|
|
751
|
+
GB_FPS = :gb_fps
|
|
783
752
|
HU_ICS = :hu_ics
|
|
784
753
|
INTERAC = :interac
|
|
785
754
|
MASAV = :masav
|
|
@@ -7,11 +7,6 @@ module ModernTreasury
|
|
|
7
7
|
extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include ModernTreasury::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!attribute accounting
|
|
11
|
-
#
|
|
12
|
-
# @return [ModernTreasury::Models::Accounting, nil]
|
|
13
|
-
optional :accounting, -> { ModernTreasury::Accounting }
|
|
14
|
-
|
|
15
10
|
# @!attribute accounting_category_id
|
|
16
11
|
# @deprecated
|
|
17
12
|
#
|
|
@@ -21,15 +16,6 @@ module ModernTreasury
|
|
|
21
16
|
# @return [String, nil]
|
|
22
17
|
optional :accounting_category_id, String, nil?: true
|
|
23
18
|
|
|
24
|
-
# @!attribute accounting_ledger_class_id
|
|
25
|
-
# @deprecated
|
|
26
|
-
#
|
|
27
|
-
# The ID of one of your accounting ledger classes. Note that these will only be
|
|
28
|
-
# accessible if your accounting system has been connected.
|
|
29
|
-
#
|
|
30
|
-
# @return [String, nil]
|
|
31
|
-
optional :accounting_ledger_class_id, String, nil?: true
|
|
32
|
-
|
|
33
19
|
# @!attribute amount
|
|
34
20
|
# Value in specified currency's smallest unit. e.g. $10 would be represented as
|
|
35
21
|
# 1000 (cents). For RTP, the maximum amount allowed by the network is $100,000.
|
|
@@ -116,9 +102,7 @@ module ModernTreasury
|
|
|
116
102
|
#
|
|
117
103
|
# @return [Array<ModernTreasury::Models::PaymentOrderUpdateParams::LineItem>, nil]
|
|
118
104
|
optional :line_items,
|
|
119
|
-
-> {
|
|
120
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderUpdateParams::LineItem]
|
|
121
|
-
}
|
|
105
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderUpdateParams::LineItem] }
|
|
122
106
|
|
|
123
107
|
# @!attribute metadata
|
|
124
108
|
# Additional data represented as key-value pairs. Both the key and value must be
|
|
@@ -274,16 +258,12 @@ module ModernTreasury
|
|
|
274
258
|
# @return [String, nil]
|
|
275
259
|
optional :ultimate_receiving_party_name, String, nil?: true
|
|
276
260
|
|
|
277
|
-
# @!method initialize(
|
|
261
|
+
# @!method initialize(accounting_category_id: nil, amount: nil, charge_bearer: nil, counterparty_id: nil, currency: nil, description: nil, direction: nil, effective_date: nil, expires_at: nil, fallback_type: nil, foreign_exchange_contract: nil, foreign_exchange_indicator: nil, line_items: nil, metadata: nil, nsf_protected: nil, originating_account_id: 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, status: nil, subtype: nil, type: nil, ultimate_originating_party_identifier: nil, ultimate_originating_party_name: nil, ultimate_receiving_party_identifier: nil, ultimate_receiving_party_name: nil, request_options: {})
|
|
278
262
|
# Some parameter documentations has been truncated, see
|
|
279
263
|
# {ModernTreasury::Models::PaymentOrderUpdateParams} for more details.
|
|
280
264
|
#
|
|
281
|
-
# @param accounting [ModernTreasury::Models::Accounting]
|
|
282
|
-
#
|
|
283
265
|
# @param accounting_category_id [String, nil] The ID of one of your accounting categories. Note that these will only be access
|
|
284
266
|
#
|
|
285
|
-
# @param accounting_ledger_class_id [String, nil] The ID of one of your accounting ledger classes. Note that these will only be ac
|
|
286
|
-
#
|
|
287
267
|
# @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
|
|
288
268
|
#
|
|
289
269
|
# @param charge_bearer [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ChargeBearer, nil] The party that will pay the fees for the payment order. See https://docs.modernt
|
|
@@ -460,9 +440,7 @@ module ModernTreasury
|
|
|
460
440
|
#
|
|
461
441
|
# @return [Array<ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail>, nil]
|
|
462
442
|
optional :account_details,
|
|
463
|
-
-> {
|
|
464
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail]
|
|
465
|
-
}
|
|
443
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail] }
|
|
466
444
|
|
|
467
445
|
# @!attribute account_type
|
|
468
446
|
# Can be `checking`, `savings` or `other`.
|
|
@@ -542,9 +520,7 @@ module ModernTreasury
|
|
|
542
520
|
#
|
|
543
521
|
# @return [Array<ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail>, nil]
|
|
544
522
|
optional :routing_details,
|
|
545
|
-
-> {
|
|
546
|
-
ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail]
|
|
547
|
-
}
|
|
523
|
+
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail] }
|
|
548
524
|
|
|
549
525
|
# @!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)
|
|
550
526
|
# Some parameter documentations has been truncated, see
|
|
@@ -591,9 +567,7 @@ module ModernTreasury
|
|
|
591
567
|
#
|
|
592
568
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail::AccountNumberType, nil]
|
|
593
569
|
optional :account_number_type,
|
|
594
|
-
enum: -> {
|
|
595
|
-
ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail::AccountNumberType
|
|
596
|
-
}
|
|
570
|
+
enum: -> { ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::AccountDetail::AccountNumberType }
|
|
597
571
|
|
|
598
572
|
# @!method initialize(account_number:, account_number_type: nil)
|
|
599
573
|
# @param account_number [String]
|
|
@@ -646,17 +620,13 @@ module ModernTreasury
|
|
|
646
620
|
#
|
|
647
621
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::RoutingNumberType]
|
|
648
622
|
required :routing_number_type,
|
|
649
|
-
enum: -> {
|
|
650
|
-
ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::RoutingNumberType
|
|
651
|
-
}
|
|
623
|
+
enum: -> { ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::RoutingNumberType }
|
|
652
624
|
|
|
653
625
|
# @!attribute payment_type
|
|
654
626
|
#
|
|
655
627
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::PaymentType, nil]
|
|
656
628
|
optional :payment_type,
|
|
657
|
-
enum: -> {
|
|
658
|
-
ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::PaymentType
|
|
659
|
-
}
|
|
629
|
+
enum: -> { ModernTreasury::PaymentOrderUpdateParams::ReceivingAccount::RoutingDetail::PaymentType }
|
|
660
630
|
|
|
661
631
|
# @!method initialize(routing_number:, routing_number_type:, payment_type: nil)
|
|
662
632
|
# @param routing_number [String]
|
|
@@ -710,6 +680,7 @@ module ModernTreasury
|
|
|
710
680
|
DK_NETS = :dk_nets
|
|
711
681
|
EFT = :eft
|
|
712
682
|
ETHEREUM = :ethereum
|
|
683
|
+
GB_FPS = :gb_fps
|
|
713
684
|
HU_ICS = :hu_ics
|
|
714
685
|
INTERAC = :interac
|
|
715
686
|
MASAV = :masav
|
|
@@ -91,6 +91,7 @@ module ModernTreasury
|
|
|
91
91
|
BANKPROV_PAYMENT_ID = :bankprov_payment_id
|
|
92
92
|
BNK_DEV_PRENOTIFICATION_ID = :bnk_dev_prenotification_id
|
|
93
93
|
BNK_DEV_TRANSFER_ID = :bnk_dev_transfer_id
|
|
94
|
+
BNY_MELLON_TRANSACTION_REFERENCE_NUMBER = :bny_mellon_transaction_reference_number
|
|
94
95
|
BOFA_END_TO_END_ID = :bofa_end_to_end_id
|
|
95
96
|
BOFA_TRANSACTION_ID = :bofa_transaction_id
|
|
96
97
|
BRALE_TRANSFER_ID = :brale_transfer_id
|