modern_treasury 0.31.0 → 0.32.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/models/account_detail.rb +1 -0
- data/lib/modern_treasury/models/account_detail_create_params.rb +1 -0
- data/lib/modern_treasury/models/bulk_request_create_params.rb +28 -8
- data/lib/modern_treasury/models/child_legal_entity.rb +6 -5
- data/lib/modern_treasury/models/counterparty_create_params.rb +24 -1
- data/lib/modern_treasury/models/expected_payment.rb +3 -4
- data/lib/modern_treasury/models/expected_payment_create_params.rb +2 -3
- data/lib/modern_treasury/models/expected_payment_update_params.rb +2 -3
- data/lib/modern_treasury/models/external_account_create_params.rb +1 -0
- data/lib/modern_treasury/models/identification.rb +109 -0
- data/lib/modern_treasury/models/identification_create_params.rb +109 -0
- data/lib/modern_treasury/models/identification_create_request.rb +109 -0
- data/lib/modern_treasury/models/identification_update_params.rb +109 -0
- data/lib/modern_treasury/models/incoming_payment_detail.rb +1 -0
- data/lib/modern_treasury/models/internal_account.rb +10 -1
- data/lib/modern_treasury/models/internal_account_create_params.rb +12 -1
- data/lib/modern_treasury/models/ledger_account.rb +0 -1
- data/lib/modern_treasury/models/ledger_account_create_request.rb +0 -1
- data/lib/modern_treasury/models/legal_entity.rb +6 -5
- data/lib/modern_treasury/models/legal_entity_address_create_request.rb +18 -18
- data/lib/modern_treasury/models/legal_entity_create_params.rb +21 -1
- data/lib/modern_treasury/models/legal_entity_list_params.rb +1 -0
- data/lib/modern_treasury/models/legal_entity_update_params.rb +23 -1
- data/lib/modern_treasury/models/payment_order.rb +12 -2
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +12 -1
- data/lib/modern_treasury/models/payment_order_create_params.rb +12 -1
- data/lib/modern_treasury/models/payment_order_subtype.rb +2 -0
- data/lib/modern_treasury/models/payment_order_update_params.rb +12 -1
- data/lib/modern_treasury/models/payment_reference.rb +1 -1
- data/lib/modern_treasury/models/return_object.rb +1 -1
- data/lib/modern_treasury/models/third_party_verification.rb +1 -0
- data/lib/modern_treasury/models/virtual_account_create_params.rb +1 -0
- data/lib/modern_treasury/resources/expected_payments.rb +2 -2
- data/lib/modern_treasury/resources/internal_accounts.rb +7 -2
- data/lib/modern_treasury/resources/legal_entities.rb +6 -2
- data/lib/modern_treasury/resources/payment_orders.rb +9 -3
- data/lib/modern_treasury/version.rb +1 -1
- data/rbi/modern_treasury/models/account_detail.rbi +5 -0
- data/rbi/modern_treasury/models/account_detail_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +56 -6
- data/rbi/modern_treasury/models/child_legal_entity.rbi +8 -6
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +62 -0
- data/rbi/modern_treasury/models/expected_payment.rbi +3 -3
- data/rbi/modern_treasury/models/expected_payment_create_params.rbi +11 -3
- data/rbi/modern_treasury/models/expected_payment_update_params.rbi +11 -3
- data/rbi/modern_treasury/models/external_account_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/identification.rbi +224 -0
- data/rbi/modern_treasury/models/identification_create_params.rbi +545 -0
- data/rbi/modern_treasury/models/identification_create_request.rbi +545 -0
- data/rbi/modern_treasury/models/identification_update_params.rbi +545 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +5 -0
- data/rbi/modern_treasury/models/internal_account.rbi +10 -0
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +17 -0
- data/rbi/modern_treasury/models/ledger_account.rbi +0 -5
- data/rbi/modern_treasury/models/ledger_account_create_request.rbi +0 -5
- data/rbi/modern_treasury/models/legal_entity.rbi +7 -6
- data/rbi/modern_treasury/models/legal_entity_address_create_request.rbi +21 -21
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +49 -0
- data/rbi/modern_treasury/models/legal_entity_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +52 -0
- data/rbi/modern_treasury/models/payment_order.rbi +17 -5
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +17 -0
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +17 -0
- data/rbi/modern_treasury/models/payment_order_subtype.rbi +7 -0
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +17 -0
- data/rbi/modern_treasury/models/payment_reference.rbi +5 -5
- data/rbi/modern_treasury/models/return_object.rbi +5 -5
- data/rbi/modern_treasury/models/third_party_verification.rbi +5 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +5 -0
- data/rbi/modern_treasury/resources/expected_payments.rbi +2 -2
- data/rbi/modern_treasury/resources/internal_accounts.rbi +7 -1
- data/rbi/modern_treasury/resources/legal_entities.rbi +9 -0
- data/rbi/modern_treasury/resources/payment_orders.rbi +15 -0
- data/sig/modern_treasury/models/account_detail.rbs +2 -0
- data/sig/modern_treasury/models/account_detail_create_params.rbs +2 -0
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +30 -8
- data/sig/modern_treasury/models/child_legal_entity.rbs +2 -1
- data/sig/modern_treasury/models/counterparty_create_params.rbs +21 -0
- data/sig/modern_treasury/models/expected_payment.rbs +4 -4
- data/sig/modern_treasury/models/expected_payment_create_params.rbs +8 -4
- data/sig/modern_treasury/models/expected_payment_update_params.rbs +8 -4
- data/sig/modern_treasury/models/external_account_create_params.rbs +2 -0
- data/sig/modern_treasury/models/identification.rbs +219 -1
- data/sig/modern_treasury/models/identification_create_params.rbs +219 -1
- data/sig/modern_treasury/models/identification_create_request.rbs +219 -1
- data/sig/modern_treasury/models/identification_update_params.rbs +219 -1
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +2 -0
- data/sig/modern_treasury/models/internal_account.rbs +5 -0
- data/sig/modern_treasury/models/internal_account_create_params.rbs +7 -0
- data/sig/modern_treasury/models/ledger_account.rbs +1 -2
- data/sig/modern_treasury/models/ledger_account_create_request.rbs +1 -2
- data/sig/modern_treasury/models/legal_entity.rbs +2 -1
- data/sig/modern_treasury/models/legal_entity_address_create_request.rbs +13 -13
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +19 -0
- data/sig/modern_treasury/models/legal_entity_list_params.rbs +2 -1
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +19 -0
- data/sig/modern_treasury/models/payment_order.rbs +7 -2
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +7 -0
- data/sig/modern_treasury/models/payment_order_create_params.rbs +7 -0
- data/sig/modern_treasury/models/payment_order_subtype.rbs +4 -0
- data/sig/modern_treasury/models/payment_order_update_params.rbs +7 -0
- data/sig/modern_treasury/models/payment_reference.rbs +2 -2
- data/sig/modern_treasury/models/return_object.rbs +2 -2
- data/sig/modern_treasury/models/third_party_verification.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +2 -0
- data/sig/modern_treasury/resources/expected_payments.rbs +2 -2
- data/sig/modern_treasury/resources/internal_accounts.rbs +1 -0
- data/sig/modern_treasury/resources/legal_entities.rbs +2 -0
- data/sig/modern_treasury/resources/payment_orders.rbs +3 -0
- metadata +2 -2
|
@@ -76,24 +76,51 @@ module ModernTreasury
|
|
|
76
76
|
module IDType
|
|
77
77
|
extend ModernTreasury::Internal::Type::Enum
|
|
78
78
|
|
|
79
|
+
AD_NRT = :ad_nrt
|
|
80
|
+
AE_EID = :ae_eid
|
|
81
|
+
AE_TRN = :ae_trn
|
|
82
|
+
AG_TIN = :ag_tin
|
|
83
|
+
AI_TIN = :ai_tin
|
|
84
|
+
AL_NID = :al_nid
|
|
85
|
+
AL_NIPT = :al_nipt
|
|
86
|
+
AM_TIN = :am_tin
|
|
87
|
+
AO_NIF = :ao_nif
|
|
79
88
|
AR_CUIL = :ar_cuil
|
|
80
89
|
AR_CUIT = :ar_cuit
|
|
81
90
|
AT_ATIN = :at_atin
|
|
82
91
|
AT_VAT = :at_vat
|
|
83
92
|
AU_ABN = :au_abn
|
|
84
93
|
AU_TFN = :au_tfn
|
|
94
|
+
AW_TIN = :aw_tin
|
|
95
|
+
AZ_PIN = :az_pin
|
|
96
|
+
BB_TIN = :bb_tin
|
|
97
|
+
BD_TIN = :bd_tin
|
|
85
98
|
BE_ENT = :be_ent
|
|
86
99
|
BE_NRN = :be_nrn
|
|
100
|
+
BF_IFU = :bf_ifu
|
|
101
|
+
BG_EGN = :bg_egn
|
|
102
|
+
BH_CPR = :bh_cpr
|
|
103
|
+
BH_VAT = :bh_vat
|
|
104
|
+
BJ_IFU = :bj_ifu
|
|
105
|
+
BO_NIT = :bo_nit
|
|
87
106
|
BR_CNPJ = :br_cnpj
|
|
88
107
|
BR_CPF = :br_cpf
|
|
108
|
+
BS_TIN = :bs_tin
|
|
109
|
+
BT_BIN = :bt_bin
|
|
110
|
+
BW_TIN = :bw_tin
|
|
111
|
+
BZ_TIN = :bz_tin
|
|
89
112
|
CA_BN = :ca_bn
|
|
90
113
|
CA_SIN = :ca_sin
|
|
91
114
|
CH_AHV = :ch_ahv
|
|
92
115
|
CH_UID = :ch_uid
|
|
116
|
+
CI_NCC = :ci_ncc
|
|
93
117
|
CL_RUN = :cl_run
|
|
94
118
|
CL_RUT = :cl_rut
|
|
119
|
+
CM_NIU = :cm_niu
|
|
95
120
|
CO_CEDULAS = :co_cedulas
|
|
96
121
|
CO_NIT = :co_nit
|
|
122
|
+
CR_CPF = :cr_cpf
|
|
123
|
+
CW_CRIB = :cw_crib
|
|
97
124
|
CY_TIN = :cy_tin
|
|
98
125
|
CZ_ICO = :cz_ico
|
|
99
126
|
CZ_RC = :cz_rc
|
|
@@ -102,21 +129,39 @@ module ModernTreasury
|
|
|
102
129
|
DE_VAT = :de_vat
|
|
103
130
|
DK_CPR = :dk_cpr
|
|
104
131
|
DK_CVR = :dk_cvr
|
|
132
|
+
DM_TIN = :dm_tin
|
|
133
|
+
DO_CEDULA = :do_cedula
|
|
134
|
+
DO_RNC = :do_rnc
|
|
105
135
|
DRIVERS_LICENSE = :drivers_license
|
|
136
|
+
EC_RUC = :ec_ruc
|
|
106
137
|
EE_IK = :ee_ik
|
|
107
138
|
EE_RK = :ee_rk
|
|
108
139
|
ES_NIE = :es_nie
|
|
109
140
|
ES_NIF = :es_nif
|
|
110
141
|
FI_HETU = :fi_hetu
|
|
111
142
|
FI_YTJ = :fi_ytj
|
|
143
|
+
FJ_TIN = :fj_tin
|
|
144
|
+
FO_PTAL = :fo_ptal
|
|
112
145
|
FR_NIF = :fr_nif
|
|
113
146
|
FR_SIREN = :fr_siren
|
|
114
147
|
FR_VAT = :fr_vat
|
|
115
148
|
GB_NINO = :gb_nino
|
|
116
149
|
GB_UTR = :gb_utr
|
|
117
150
|
GB_VAT = :gb_vat
|
|
151
|
+
GD_TIN = :gd_tin
|
|
152
|
+
GE_IC = :ge_ic
|
|
153
|
+
GE_PN = :ge_pn
|
|
154
|
+
GE_TIN = :ge_tin
|
|
118
155
|
GENERIC_INTERNATIONAL = :generic_international
|
|
156
|
+
GG_SIN = :gg_sin
|
|
157
|
+
GH_PIN = :gh_pin
|
|
158
|
+
GH_TIN = :gh_tin
|
|
159
|
+
GI_TRN = :gi_trn
|
|
160
|
+
GL_CPR = :gl_cpr
|
|
161
|
+
GL_GER = :gl_ger
|
|
162
|
+
GM_TIN = :gm_tin
|
|
119
163
|
GR_VAT = :gr_vat
|
|
164
|
+
GT_NIT = :gt_nit
|
|
120
165
|
HK_BRN = :hk_brn
|
|
121
166
|
HK_HKID = :hk_hkid
|
|
122
167
|
HN_ID = :hn_id
|
|
@@ -124,29 +169,64 @@ module ModernTreasury
|
|
|
124
169
|
HR_OIB = :hr_oib
|
|
125
170
|
HU_ADJ = :hu_adj
|
|
126
171
|
HU_ANUM = :hu_anum
|
|
172
|
+
ID_NIK = :id_nik
|
|
173
|
+
ID_NPWP = :id_npwp
|
|
127
174
|
IE_PPS = :ie_pps
|
|
128
175
|
IE_TRN = :ie_trn
|
|
176
|
+
IL_CN = :il_cn
|
|
177
|
+
IL_PIN = :il_pin
|
|
178
|
+
IM_TRN = :im_trn
|
|
129
179
|
IN_LEI = :in_lei
|
|
130
180
|
IS_KNT = :is_knt
|
|
131
181
|
IT_CF = :it_cf
|
|
132
182
|
IT_PIVA = :it_piva
|
|
183
|
+
JE_SSN = :je_ssn
|
|
184
|
+
JE_TIN = :je_tin
|
|
185
|
+
JM_TRN = :jm_trn
|
|
186
|
+
JO_TIN = :jo_tin
|
|
133
187
|
JP_HB = :jp_hb
|
|
134
188
|
JP_MN = :jp_mn
|
|
189
|
+
KE_PIN = :ke_pin
|
|
190
|
+
KG_PIN = :kg_pin
|
|
191
|
+
KN_TIN = :kn_tin
|
|
135
192
|
KR_BRN = :kr_brn
|
|
136
193
|
KR_CRN = :kr_crn
|
|
137
194
|
KR_RRN = :kr_rrn
|
|
195
|
+
KW_CID = :kw_cid
|
|
196
|
+
KZ_BIN = :kz_bin
|
|
197
|
+
KZ_IIN = :kz_iin
|
|
198
|
+
LA_TIN = :la_tin
|
|
199
|
+
LC_TIN = :lc_tin
|
|
138
200
|
LI_PEID = :li_peid
|
|
201
|
+
LK_TIN = :lk_tin
|
|
202
|
+
LS_TIN = :ls_tin
|
|
139
203
|
LT_AK = :lt_ak
|
|
140
204
|
LT_JAK = :lt_jak
|
|
141
205
|
LU_MTC = :lu_mtc
|
|
142
206
|
LU_VAT = :lu_vat
|
|
143
207
|
LV_PK = :lv_pk
|
|
144
208
|
LV_RN = :lv_rn
|
|
209
|
+
MD_IDNP = :md_idnp
|
|
210
|
+
ME_JMBG = :me_jmbg
|
|
211
|
+
ME_PIB = :me_pib
|
|
212
|
+
MG_NIF = :mg_nif
|
|
213
|
+
MH_SSN = :mh_ssn
|
|
214
|
+
MO_BIR = :mo_bir
|
|
215
|
+
MO_TIN_B = :mo_tin_b
|
|
216
|
+
MO_TIN_I = :mo_tin_i
|
|
217
|
+
MR_NIF = :mr_nif
|
|
145
218
|
MT_TIN = :mt_tin
|
|
146
219
|
MT_VAT = :mt_vat
|
|
220
|
+
MU_TAN = :mu_tan
|
|
221
|
+
MW_TPIN = :mw_tpin
|
|
147
222
|
MX_CURP = :mx_curp
|
|
148
223
|
MX_INE = :mx_ine
|
|
149
224
|
MX_RFC = :mx_rfc
|
|
225
|
+
MY_NPC = :my_npc
|
|
226
|
+
MY_NRIC = :my_nric
|
|
227
|
+
MY_TIN_B = :my_tin_b
|
|
228
|
+
MZ_NUIT = :mz_nuit
|
|
229
|
+
NA_TIN = :na_tin
|
|
150
230
|
NATIONAL_ID = :national_id
|
|
151
231
|
NL_BSN = :nl_bsn
|
|
152
232
|
NL_BTW = :nl_btw
|
|
@@ -154,13 +234,24 @@ module ModernTreasury
|
|
|
154
234
|
NO_FDN = :no_fdn
|
|
155
235
|
NO_MVA = :no_mva
|
|
156
236
|
NO_ORGNR = :no_orgnr
|
|
237
|
+
NR_TIN = :nr_tin
|
|
157
238
|
NZ_IRD = :nz_ird
|
|
239
|
+
OM_CID = :om_cid
|
|
240
|
+
PA_CEDULA = :pa_cedula
|
|
241
|
+
PA_RUC = :pa_ruc
|
|
158
242
|
PASSPORT = :passport
|
|
243
|
+
PE_RUC = :pe_ruc
|
|
244
|
+
PG_TIN = :pg_tin
|
|
245
|
+
PH_TIN = :ph_tin
|
|
159
246
|
PL_NIP = :pl_nip
|
|
160
247
|
PL_PESEL = :pl_pesel
|
|
161
248
|
PT_NIF = :pt_nif
|
|
249
|
+
PY_RUC = :py_ruc
|
|
250
|
+
QA_QID = :qa_qid
|
|
251
|
+
QA_TIN = :qa_tin
|
|
162
252
|
RO_CNP = :ro_cnp
|
|
163
253
|
RO_CUI = :ro_cui
|
|
254
|
+
RW_TIN = :rw_tin
|
|
164
255
|
SA_TIN = :sa_tin
|
|
165
256
|
SA_VAT = :sa_vat
|
|
166
257
|
SE_ORGNR = :se_orgnr
|
|
@@ -172,11 +263,29 @@ module ModernTreasury
|
|
|
172
263
|
SI_TIN = :si_tin
|
|
173
264
|
SK_ICO = :sk_ico
|
|
174
265
|
SK_RC = :sk_rc
|
|
266
|
+
SL_TIN = :sl_tin
|
|
267
|
+
SM_SSI = :sm_ssi
|
|
268
|
+
SZ_TIN = :sz_tin
|
|
269
|
+
TG_NIF = :tg_nif
|
|
270
|
+
TH_JID = :th_jid
|
|
271
|
+
TH_PIN = :th_pin
|
|
272
|
+
TJ_INN = :tj_inn
|
|
273
|
+
TO_TIN = :to_tin
|
|
274
|
+
TR_TCKN = :tr_tckn
|
|
275
|
+
TT_BIR = :tt_bir
|
|
276
|
+
TW_NRIC = :tw_nric
|
|
277
|
+
TW_UBN = :tw_ubn
|
|
278
|
+
UG_TIN = :ug_tin
|
|
175
279
|
US_EIN = :us_ein
|
|
176
280
|
US_ITIN = :us_itin
|
|
177
281
|
US_SSN = :us_ssn
|
|
178
282
|
UY_RUT = :uy_rut
|
|
283
|
+
UZ_INN = :uz_inn
|
|
284
|
+
UZ_PIN = :uz_pin
|
|
179
285
|
VN_TIN = :vn_tin
|
|
286
|
+
ZA_TRN = :za_trn
|
|
287
|
+
ZA_VAT = :za_vat
|
|
288
|
+
ZM_TPIN = :zm_tpin
|
|
180
289
|
|
|
181
290
|
# @!method self.values
|
|
182
291
|
# @return [Array<Symbol>]
|
|
@@ -64,24 +64,51 @@ module ModernTreasury
|
|
|
64
64
|
module IDType
|
|
65
65
|
extend ModernTreasury::Internal::Type::Enum
|
|
66
66
|
|
|
67
|
+
AD_NRT = :ad_nrt
|
|
68
|
+
AE_EID = :ae_eid
|
|
69
|
+
AE_TRN = :ae_trn
|
|
70
|
+
AG_TIN = :ag_tin
|
|
71
|
+
AI_TIN = :ai_tin
|
|
72
|
+
AL_NID = :al_nid
|
|
73
|
+
AL_NIPT = :al_nipt
|
|
74
|
+
AM_TIN = :am_tin
|
|
75
|
+
AO_NIF = :ao_nif
|
|
67
76
|
AR_CUIL = :ar_cuil
|
|
68
77
|
AR_CUIT = :ar_cuit
|
|
69
78
|
AT_ATIN = :at_atin
|
|
70
79
|
AT_VAT = :at_vat
|
|
71
80
|
AU_ABN = :au_abn
|
|
72
81
|
AU_TFN = :au_tfn
|
|
82
|
+
AW_TIN = :aw_tin
|
|
83
|
+
AZ_PIN = :az_pin
|
|
84
|
+
BB_TIN = :bb_tin
|
|
85
|
+
BD_TIN = :bd_tin
|
|
73
86
|
BE_ENT = :be_ent
|
|
74
87
|
BE_NRN = :be_nrn
|
|
88
|
+
BF_IFU = :bf_ifu
|
|
89
|
+
BG_EGN = :bg_egn
|
|
90
|
+
BH_CPR = :bh_cpr
|
|
91
|
+
BH_VAT = :bh_vat
|
|
92
|
+
BJ_IFU = :bj_ifu
|
|
93
|
+
BO_NIT = :bo_nit
|
|
75
94
|
BR_CNPJ = :br_cnpj
|
|
76
95
|
BR_CPF = :br_cpf
|
|
96
|
+
BS_TIN = :bs_tin
|
|
97
|
+
BT_BIN = :bt_bin
|
|
98
|
+
BW_TIN = :bw_tin
|
|
99
|
+
BZ_TIN = :bz_tin
|
|
77
100
|
CA_BN = :ca_bn
|
|
78
101
|
CA_SIN = :ca_sin
|
|
79
102
|
CH_AHV = :ch_ahv
|
|
80
103
|
CH_UID = :ch_uid
|
|
104
|
+
CI_NCC = :ci_ncc
|
|
81
105
|
CL_RUN = :cl_run
|
|
82
106
|
CL_RUT = :cl_rut
|
|
107
|
+
CM_NIU = :cm_niu
|
|
83
108
|
CO_CEDULAS = :co_cedulas
|
|
84
109
|
CO_NIT = :co_nit
|
|
110
|
+
CR_CPF = :cr_cpf
|
|
111
|
+
CW_CRIB = :cw_crib
|
|
85
112
|
CY_TIN = :cy_tin
|
|
86
113
|
CZ_ICO = :cz_ico
|
|
87
114
|
CZ_RC = :cz_rc
|
|
@@ -90,21 +117,39 @@ module ModernTreasury
|
|
|
90
117
|
DE_VAT = :de_vat
|
|
91
118
|
DK_CPR = :dk_cpr
|
|
92
119
|
DK_CVR = :dk_cvr
|
|
120
|
+
DM_TIN = :dm_tin
|
|
121
|
+
DO_CEDULA = :do_cedula
|
|
122
|
+
DO_RNC = :do_rnc
|
|
93
123
|
DRIVERS_LICENSE = :drivers_license
|
|
124
|
+
EC_RUC = :ec_ruc
|
|
94
125
|
EE_IK = :ee_ik
|
|
95
126
|
EE_RK = :ee_rk
|
|
96
127
|
ES_NIE = :es_nie
|
|
97
128
|
ES_NIF = :es_nif
|
|
98
129
|
FI_HETU = :fi_hetu
|
|
99
130
|
FI_YTJ = :fi_ytj
|
|
131
|
+
FJ_TIN = :fj_tin
|
|
132
|
+
FO_PTAL = :fo_ptal
|
|
100
133
|
FR_NIF = :fr_nif
|
|
101
134
|
FR_SIREN = :fr_siren
|
|
102
135
|
FR_VAT = :fr_vat
|
|
103
136
|
GB_NINO = :gb_nino
|
|
104
137
|
GB_UTR = :gb_utr
|
|
105
138
|
GB_VAT = :gb_vat
|
|
139
|
+
GD_TIN = :gd_tin
|
|
140
|
+
GE_IC = :ge_ic
|
|
141
|
+
GE_PN = :ge_pn
|
|
142
|
+
GE_TIN = :ge_tin
|
|
106
143
|
GENERIC_INTERNATIONAL = :generic_international
|
|
144
|
+
GG_SIN = :gg_sin
|
|
145
|
+
GH_PIN = :gh_pin
|
|
146
|
+
GH_TIN = :gh_tin
|
|
147
|
+
GI_TRN = :gi_trn
|
|
148
|
+
GL_CPR = :gl_cpr
|
|
149
|
+
GL_GER = :gl_ger
|
|
150
|
+
GM_TIN = :gm_tin
|
|
107
151
|
GR_VAT = :gr_vat
|
|
152
|
+
GT_NIT = :gt_nit
|
|
108
153
|
HK_BRN = :hk_brn
|
|
109
154
|
HK_HKID = :hk_hkid
|
|
110
155
|
HN_ID = :hn_id
|
|
@@ -112,29 +157,64 @@ module ModernTreasury
|
|
|
112
157
|
HR_OIB = :hr_oib
|
|
113
158
|
HU_ADJ = :hu_adj
|
|
114
159
|
HU_ANUM = :hu_anum
|
|
160
|
+
ID_NIK = :id_nik
|
|
161
|
+
ID_NPWP = :id_npwp
|
|
115
162
|
IE_PPS = :ie_pps
|
|
116
163
|
IE_TRN = :ie_trn
|
|
164
|
+
IL_CN = :il_cn
|
|
165
|
+
IL_PIN = :il_pin
|
|
166
|
+
IM_TRN = :im_trn
|
|
117
167
|
IN_LEI = :in_lei
|
|
118
168
|
IS_KNT = :is_knt
|
|
119
169
|
IT_CF = :it_cf
|
|
120
170
|
IT_PIVA = :it_piva
|
|
171
|
+
JE_SSN = :je_ssn
|
|
172
|
+
JE_TIN = :je_tin
|
|
173
|
+
JM_TRN = :jm_trn
|
|
174
|
+
JO_TIN = :jo_tin
|
|
121
175
|
JP_HB = :jp_hb
|
|
122
176
|
JP_MN = :jp_mn
|
|
177
|
+
KE_PIN = :ke_pin
|
|
178
|
+
KG_PIN = :kg_pin
|
|
179
|
+
KN_TIN = :kn_tin
|
|
123
180
|
KR_BRN = :kr_brn
|
|
124
181
|
KR_CRN = :kr_crn
|
|
125
182
|
KR_RRN = :kr_rrn
|
|
183
|
+
KW_CID = :kw_cid
|
|
184
|
+
KZ_BIN = :kz_bin
|
|
185
|
+
KZ_IIN = :kz_iin
|
|
186
|
+
LA_TIN = :la_tin
|
|
187
|
+
LC_TIN = :lc_tin
|
|
126
188
|
LI_PEID = :li_peid
|
|
189
|
+
LK_TIN = :lk_tin
|
|
190
|
+
LS_TIN = :ls_tin
|
|
127
191
|
LT_AK = :lt_ak
|
|
128
192
|
LT_JAK = :lt_jak
|
|
129
193
|
LU_MTC = :lu_mtc
|
|
130
194
|
LU_VAT = :lu_vat
|
|
131
195
|
LV_PK = :lv_pk
|
|
132
196
|
LV_RN = :lv_rn
|
|
197
|
+
MD_IDNP = :md_idnp
|
|
198
|
+
ME_JMBG = :me_jmbg
|
|
199
|
+
ME_PIB = :me_pib
|
|
200
|
+
MG_NIF = :mg_nif
|
|
201
|
+
MH_SSN = :mh_ssn
|
|
202
|
+
MO_BIR = :mo_bir
|
|
203
|
+
MO_TIN_B = :mo_tin_b
|
|
204
|
+
MO_TIN_I = :mo_tin_i
|
|
205
|
+
MR_NIF = :mr_nif
|
|
133
206
|
MT_TIN = :mt_tin
|
|
134
207
|
MT_VAT = :mt_vat
|
|
208
|
+
MU_TAN = :mu_tan
|
|
209
|
+
MW_TPIN = :mw_tpin
|
|
135
210
|
MX_CURP = :mx_curp
|
|
136
211
|
MX_INE = :mx_ine
|
|
137
212
|
MX_RFC = :mx_rfc
|
|
213
|
+
MY_NPC = :my_npc
|
|
214
|
+
MY_NRIC = :my_nric
|
|
215
|
+
MY_TIN_B = :my_tin_b
|
|
216
|
+
MZ_NUIT = :mz_nuit
|
|
217
|
+
NA_TIN = :na_tin
|
|
138
218
|
NATIONAL_ID = :national_id
|
|
139
219
|
NL_BSN = :nl_bsn
|
|
140
220
|
NL_BTW = :nl_btw
|
|
@@ -142,13 +222,24 @@ module ModernTreasury
|
|
|
142
222
|
NO_FDN = :no_fdn
|
|
143
223
|
NO_MVA = :no_mva
|
|
144
224
|
NO_ORGNR = :no_orgnr
|
|
225
|
+
NR_TIN = :nr_tin
|
|
145
226
|
NZ_IRD = :nz_ird
|
|
227
|
+
OM_CID = :om_cid
|
|
228
|
+
PA_CEDULA = :pa_cedula
|
|
229
|
+
PA_RUC = :pa_ruc
|
|
146
230
|
PASSPORT = :passport
|
|
231
|
+
PE_RUC = :pe_ruc
|
|
232
|
+
PG_TIN = :pg_tin
|
|
233
|
+
PH_TIN = :ph_tin
|
|
147
234
|
PL_NIP = :pl_nip
|
|
148
235
|
PL_PESEL = :pl_pesel
|
|
149
236
|
PT_NIF = :pt_nif
|
|
237
|
+
PY_RUC = :py_ruc
|
|
238
|
+
QA_QID = :qa_qid
|
|
239
|
+
QA_TIN = :qa_tin
|
|
150
240
|
RO_CNP = :ro_cnp
|
|
151
241
|
RO_CUI = :ro_cui
|
|
242
|
+
RW_TIN = :rw_tin
|
|
152
243
|
SA_TIN = :sa_tin
|
|
153
244
|
SA_VAT = :sa_vat
|
|
154
245
|
SE_ORGNR = :se_orgnr
|
|
@@ -160,11 +251,29 @@ module ModernTreasury
|
|
|
160
251
|
SI_TIN = :si_tin
|
|
161
252
|
SK_ICO = :sk_ico
|
|
162
253
|
SK_RC = :sk_rc
|
|
254
|
+
SL_TIN = :sl_tin
|
|
255
|
+
SM_SSI = :sm_ssi
|
|
256
|
+
SZ_TIN = :sz_tin
|
|
257
|
+
TG_NIF = :tg_nif
|
|
258
|
+
TH_JID = :th_jid
|
|
259
|
+
TH_PIN = :th_pin
|
|
260
|
+
TJ_INN = :tj_inn
|
|
261
|
+
TO_TIN = :to_tin
|
|
262
|
+
TR_TCKN = :tr_tckn
|
|
263
|
+
TT_BIR = :tt_bir
|
|
264
|
+
TW_NRIC = :tw_nric
|
|
265
|
+
TW_UBN = :tw_ubn
|
|
266
|
+
UG_TIN = :ug_tin
|
|
163
267
|
US_EIN = :us_ein
|
|
164
268
|
US_ITIN = :us_itin
|
|
165
269
|
US_SSN = :us_ssn
|
|
166
270
|
UY_RUT = :uy_rut
|
|
271
|
+
UZ_INN = :uz_inn
|
|
272
|
+
UZ_PIN = :uz_pin
|
|
167
273
|
VN_TIN = :vn_tin
|
|
274
|
+
ZA_TRN = :za_trn
|
|
275
|
+
ZA_VAT = :za_vat
|
|
276
|
+
ZM_TPIN = :zm_tpin
|
|
168
277
|
|
|
169
278
|
# @!method self.values
|
|
170
279
|
# @return [Array<Symbol>]
|
|
@@ -66,24 +66,51 @@ module ModernTreasury
|
|
|
66
66
|
module IDType
|
|
67
67
|
extend ModernTreasury::Internal::Type::Enum
|
|
68
68
|
|
|
69
|
+
AD_NRT = :ad_nrt
|
|
70
|
+
AE_EID = :ae_eid
|
|
71
|
+
AE_TRN = :ae_trn
|
|
72
|
+
AG_TIN = :ag_tin
|
|
73
|
+
AI_TIN = :ai_tin
|
|
74
|
+
AL_NID = :al_nid
|
|
75
|
+
AL_NIPT = :al_nipt
|
|
76
|
+
AM_TIN = :am_tin
|
|
77
|
+
AO_NIF = :ao_nif
|
|
69
78
|
AR_CUIL = :ar_cuil
|
|
70
79
|
AR_CUIT = :ar_cuit
|
|
71
80
|
AT_ATIN = :at_atin
|
|
72
81
|
AT_VAT = :at_vat
|
|
73
82
|
AU_ABN = :au_abn
|
|
74
83
|
AU_TFN = :au_tfn
|
|
84
|
+
AW_TIN = :aw_tin
|
|
85
|
+
AZ_PIN = :az_pin
|
|
86
|
+
BB_TIN = :bb_tin
|
|
87
|
+
BD_TIN = :bd_tin
|
|
75
88
|
BE_ENT = :be_ent
|
|
76
89
|
BE_NRN = :be_nrn
|
|
90
|
+
BF_IFU = :bf_ifu
|
|
91
|
+
BG_EGN = :bg_egn
|
|
92
|
+
BH_CPR = :bh_cpr
|
|
93
|
+
BH_VAT = :bh_vat
|
|
94
|
+
BJ_IFU = :bj_ifu
|
|
95
|
+
BO_NIT = :bo_nit
|
|
77
96
|
BR_CNPJ = :br_cnpj
|
|
78
97
|
BR_CPF = :br_cpf
|
|
98
|
+
BS_TIN = :bs_tin
|
|
99
|
+
BT_BIN = :bt_bin
|
|
100
|
+
BW_TIN = :bw_tin
|
|
101
|
+
BZ_TIN = :bz_tin
|
|
79
102
|
CA_BN = :ca_bn
|
|
80
103
|
CA_SIN = :ca_sin
|
|
81
104
|
CH_AHV = :ch_ahv
|
|
82
105
|
CH_UID = :ch_uid
|
|
106
|
+
CI_NCC = :ci_ncc
|
|
83
107
|
CL_RUN = :cl_run
|
|
84
108
|
CL_RUT = :cl_rut
|
|
109
|
+
CM_NIU = :cm_niu
|
|
85
110
|
CO_CEDULAS = :co_cedulas
|
|
86
111
|
CO_NIT = :co_nit
|
|
112
|
+
CR_CPF = :cr_cpf
|
|
113
|
+
CW_CRIB = :cw_crib
|
|
87
114
|
CY_TIN = :cy_tin
|
|
88
115
|
CZ_ICO = :cz_ico
|
|
89
116
|
CZ_RC = :cz_rc
|
|
@@ -92,21 +119,39 @@ module ModernTreasury
|
|
|
92
119
|
DE_VAT = :de_vat
|
|
93
120
|
DK_CPR = :dk_cpr
|
|
94
121
|
DK_CVR = :dk_cvr
|
|
122
|
+
DM_TIN = :dm_tin
|
|
123
|
+
DO_CEDULA = :do_cedula
|
|
124
|
+
DO_RNC = :do_rnc
|
|
95
125
|
DRIVERS_LICENSE = :drivers_license
|
|
126
|
+
EC_RUC = :ec_ruc
|
|
96
127
|
EE_IK = :ee_ik
|
|
97
128
|
EE_RK = :ee_rk
|
|
98
129
|
ES_NIE = :es_nie
|
|
99
130
|
ES_NIF = :es_nif
|
|
100
131
|
FI_HETU = :fi_hetu
|
|
101
132
|
FI_YTJ = :fi_ytj
|
|
133
|
+
FJ_TIN = :fj_tin
|
|
134
|
+
FO_PTAL = :fo_ptal
|
|
102
135
|
FR_NIF = :fr_nif
|
|
103
136
|
FR_SIREN = :fr_siren
|
|
104
137
|
FR_VAT = :fr_vat
|
|
105
138
|
GB_NINO = :gb_nino
|
|
106
139
|
GB_UTR = :gb_utr
|
|
107
140
|
GB_VAT = :gb_vat
|
|
141
|
+
GD_TIN = :gd_tin
|
|
142
|
+
GE_IC = :ge_ic
|
|
143
|
+
GE_PN = :ge_pn
|
|
144
|
+
GE_TIN = :ge_tin
|
|
108
145
|
GENERIC_INTERNATIONAL = :generic_international
|
|
146
|
+
GG_SIN = :gg_sin
|
|
147
|
+
GH_PIN = :gh_pin
|
|
148
|
+
GH_TIN = :gh_tin
|
|
149
|
+
GI_TRN = :gi_trn
|
|
150
|
+
GL_CPR = :gl_cpr
|
|
151
|
+
GL_GER = :gl_ger
|
|
152
|
+
GM_TIN = :gm_tin
|
|
109
153
|
GR_VAT = :gr_vat
|
|
154
|
+
GT_NIT = :gt_nit
|
|
110
155
|
HK_BRN = :hk_brn
|
|
111
156
|
HK_HKID = :hk_hkid
|
|
112
157
|
HN_ID = :hn_id
|
|
@@ -114,29 +159,64 @@ module ModernTreasury
|
|
|
114
159
|
HR_OIB = :hr_oib
|
|
115
160
|
HU_ADJ = :hu_adj
|
|
116
161
|
HU_ANUM = :hu_anum
|
|
162
|
+
ID_NIK = :id_nik
|
|
163
|
+
ID_NPWP = :id_npwp
|
|
117
164
|
IE_PPS = :ie_pps
|
|
118
165
|
IE_TRN = :ie_trn
|
|
166
|
+
IL_CN = :il_cn
|
|
167
|
+
IL_PIN = :il_pin
|
|
168
|
+
IM_TRN = :im_trn
|
|
119
169
|
IN_LEI = :in_lei
|
|
120
170
|
IS_KNT = :is_knt
|
|
121
171
|
IT_CF = :it_cf
|
|
122
172
|
IT_PIVA = :it_piva
|
|
173
|
+
JE_SSN = :je_ssn
|
|
174
|
+
JE_TIN = :je_tin
|
|
175
|
+
JM_TRN = :jm_trn
|
|
176
|
+
JO_TIN = :jo_tin
|
|
123
177
|
JP_HB = :jp_hb
|
|
124
178
|
JP_MN = :jp_mn
|
|
179
|
+
KE_PIN = :ke_pin
|
|
180
|
+
KG_PIN = :kg_pin
|
|
181
|
+
KN_TIN = :kn_tin
|
|
125
182
|
KR_BRN = :kr_brn
|
|
126
183
|
KR_CRN = :kr_crn
|
|
127
184
|
KR_RRN = :kr_rrn
|
|
185
|
+
KW_CID = :kw_cid
|
|
186
|
+
KZ_BIN = :kz_bin
|
|
187
|
+
KZ_IIN = :kz_iin
|
|
188
|
+
LA_TIN = :la_tin
|
|
189
|
+
LC_TIN = :lc_tin
|
|
128
190
|
LI_PEID = :li_peid
|
|
191
|
+
LK_TIN = :lk_tin
|
|
192
|
+
LS_TIN = :ls_tin
|
|
129
193
|
LT_AK = :lt_ak
|
|
130
194
|
LT_JAK = :lt_jak
|
|
131
195
|
LU_MTC = :lu_mtc
|
|
132
196
|
LU_VAT = :lu_vat
|
|
133
197
|
LV_PK = :lv_pk
|
|
134
198
|
LV_RN = :lv_rn
|
|
199
|
+
MD_IDNP = :md_idnp
|
|
200
|
+
ME_JMBG = :me_jmbg
|
|
201
|
+
ME_PIB = :me_pib
|
|
202
|
+
MG_NIF = :mg_nif
|
|
203
|
+
MH_SSN = :mh_ssn
|
|
204
|
+
MO_BIR = :mo_bir
|
|
205
|
+
MO_TIN_B = :mo_tin_b
|
|
206
|
+
MO_TIN_I = :mo_tin_i
|
|
207
|
+
MR_NIF = :mr_nif
|
|
135
208
|
MT_TIN = :mt_tin
|
|
136
209
|
MT_VAT = :mt_vat
|
|
210
|
+
MU_TAN = :mu_tan
|
|
211
|
+
MW_TPIN = :mw_tpin
|
|
137
212
|
MX_CURP = :mx_curp
|
|
138
213
|
MX_INE = :mx_ine
|
|
139
214
|
MX_RFC = :mx_rfc
|
|
215
|
+
MY_NPC = :my_npc
|
|
216
|
+
MY_NRIC = :my_nric
|
|
217
|
+
MY_TIN_B = :my_tin_b
|
|
218
|
+
MZ_NUIT = :mz_nuit
|
|
219
|
+
NA_TIN = :na_tin
|
|
140
220
|
NATIONAL_ID = :national_id
|
|
141
221
|
NL_BSN = :nl_bsn
|
|
142
222
|
NL_BTW = :nl_btw
|
|
@@ -144,13 +224,24 @@ module ModernTreasury
|
|
|
144
224
|
NO_FDN = :no_fdn
|
|
145
225
|
NO_MVA = :no_mva
|
|
146
226
|
NO_ORGNR = :no_orgnr
|
|
227
|
+
NR_TIN = :nr_tin
|
|
147
228
|
NZ_IRD = :nz_ird
|
|
229
|
+
OM_CID = :om_cid
|
|
230
|
+
PA_CEDULA = :pa_cedula
|
|
231
|
+
PA_RUC = :pa_ruc
|
|
148
232
|
PASSPORT = :passport
|
|
233
|
+
PE_RUC = :pe_ruc
|
|
234
|
+
PG_TIN = :pg_tin
|
|
235
|
+
PH_TIN = :ph_tin
|
|
149
236
|
PL_NIP = :pl_nip
|
|
150
237
|
PL_PESEL = :pl_pesel
|
|
151
238
|
PT_NIF = :pt_nif
|
|
239
|
+
PY_RUC = :py_ruc
|
|
240
|
+
QA_QID = :qa_qid
|
|
241
|
+
QA_TIN = :qa_tin
|
|
152
242
|
RO_CNP = :ro_cnp
|
|
153
243
|
RO_CUI = :ro_cui
|
|
244
|
+
RW_TIN = :rw_tin
|
|
154
245
|
SA_TIN = :sa_tin
|
|
155
246
|
SA_VAT = :sa_vat
|
|
156
247
|
SE_ORGNR = :se_orgnr
|
|
@@ -162,11 +253,29 @@ module ModernTreasury
|
|
|
162
253
|
SI_TIN = :si_tin
|
|
163
254
|
SK_ICO = :sk_ico
|
|
164
255
|
SK_RC = :sk_rc
|
|
256
|
+
SL_TIN = :sl_tin
|
|
257
|
+
SM_SSI = :sm_ssi
|
|
258
|
+
SZ_TIN = :sz_tin
|
|
259
|
+
TG_NIF = :tg_nif
|
|
260
|
+
TH_JID = :th_jid
|
|
261
|
+
TH_PIN = :th_pin
|
|
262
|
+
TJ_INN = :tj_inn
|
|
263
|
+
TO_TIN = :to_tin
|
|
264
|
+
TR_TCKN = :tr_tckn
|
|
265
|
+
TT_BIR = :tt_bir
|
|
266
|
+
TW_NRIC = :tw_nric
|
|
267
|
+
TW_UBN = :tw_ubn
|
|
268
|
+
UG_TIN = :ug_tin
|
|
165
269
|
US_EIN = :us_ein
|
|
166
270
|
US_ITIN = :us_itin
|
|
167
271
|
US_SSN = :us_ssn
|
|
168
272
|
UY_RUT = :uy_rut
|
|
273
|
+
UZ_INN = :uz_inn
|
|
274
|
+
UZ_PIN = :uz_pin
|
|
169
275
|
VN_TIN = :vn_tin
|
|
276
|
+
ZA_TRN = :za_trn
|
|
277
|
+
ZA_VAT = :za_vat
|
|
278
|
+
ZM_TPIN = :zm_tpin
|
|
170
279
|
|
|
171
280
|
# @!method self.values
|
|
172
281
|
# @return [Array<Symbol>]
|
|
@@ -148,6 +148,13 @@ module ModernTreasury
|
|
|
148
148
|
# @return [Symbol, ModernTreasury::Models::InternalAccount::Status, nil]
|
|
149
149
|
required :status, enum: -> { ModernTreasury::InternalAccount::Status }, nil?: true
|
|
150
150
|
|
|
151
|
+
# @!attribute title
|
|
152
|
+
# The account title at the financial institution, used in place of the party name.
|
|
153
|
+
# Only applicable to accounts created under supported connections.
|
|
154
|
+
#
|
|
155
|
+
# @return [String, nil]
|
|
156
|
+
required :title, String, nil?: true
|
|
157
|
+
|
|
151
158
|
# @!attribute updated_at
|
|
152
159
|
#
|
|
153
160
|
# @return [Time]
|
|
@@ -159,7 +166,7 @@ module ModernTreasury
|
|
|
159
166
|
# @return [String, nil]
|
|
160
167
|
required :vendor_id, String, nil?: true
|
|
161
168
|
|
|
162
|
-
# @!method initialize(id:, account_capabilities:, account_details:, account_type:, connection:, contra_ledger_account_id:, counterparty_id:, created_at:, currency:, debitable:, external_id:, ledger_account_id:, legal_entity_id:, live_mode:, metadata:, name:, object:, parent_account_id:, party_address:, party_name:, party_type:, routing_details:, status:, updated_at:, vendor_id:)
|
|
169
|
+
# @!method initialize(id:, account_capabilities:, account_details:, account_type:, connection:, contra_ledger_account_id:, counterparty_id:, created_at:, currency:, debitable:, external_id:, ledger_account_id:, legal_entity_id:, live_mode:, metadata:, name:, object:, parent_account_id:, party_address:, party_name:, party_type:, routing_details:, status:, title:, updated_at:, vendor_id:)
|
|
163
170
|
# Some parameter documentations has been truncated, see
|
|
164
171
|
# {ModernTreasury::Models::InternalAccount} for more details.
|
|
165
172
|
#
|
|
@@ -209,6 +216,8 @@ module ModernTreasury
|
|
|
209
216
|
#
|
|
210
217
|
# @param status [Symbol, ModernTreasury::Models::InternalAccount::Status, nil] The internal account status.
|
|
211
218
|
#
|
|
219
|
+
# @param title [String, nil] The account title at the financial institution, used in place of the party name.
|
|
220
|
+
#
|
|
212
221
|
# @param updated_at [Time]
|
|
213
222
|
#
|
|
214
223
|
# @param vendor_id [String, nil] The vendor ID associated with this account.
|
|
@@ -101,6 +101,14 @@ module ModernTreasury
|
|
|
101
101
|
optional :requested_account_number_types,
|
|
102
102
|
-> { ModernTreasury::Internal::Type::ArrayOf[enum: ModernTreasury::InternalAccountCreateParams::RequestedAccountNumberType] }
|
|
103
103
|
|
|
104
|
+
# @!attribute title
|
|
105
|
+
# The account title at the financial institution, used in place of the party name.
|
|
106
|
+
# Only applicable to accounts created under supported connections. Please reach
|
|
107
|
+
# out to your customer success manager to enable this capability for your program.
|
|
108
|
+
#
|
|
109
|
+
# @return [String, nil]
|
|
110
|
+
optional :title, String, nil?: true
|
|
111
|
+
|
|
104
112
|
# @!attribute vendor_attributes
|
|
105
113
|
# A hash of vendor specific attributes that will be used when creating the account
|
|
106
114
|
# at the vendor specified by the given connection.
|
|
@@ -108,7 +116,7 @@ module ModernTreasury
|
|
|
108
116
|
# @return [Hash{Symbol=>String}, nil]
|
|
109
117
|
optional :vendor_attributes, ModernTreasury::Internal::Type::HashOf[String]
|
|
110
118
|
|
|
111
|
-
# @!method initialize(currency:, name:, account_capabilities: nil, account_type: nil, connection_id: nil, counterparty_id: nil, debitable: nil, external_id: nil, legal_entity_id: nil, metadata: nil, parent_account_id: nil, party_address: nil, party_name: nil, requested_account_number_types: nil, vendor_attributes: nil, request_options: {})
|
|
119
|
+
# @!method initialize(currency:, name:, account_capabilities: nil, account_type: nil, connection_id: nil, counterparty_id: nil, debitable: nil, external_id: nil, legal_entity_id: nil, metadata: nil, parent_account_id: nil, party_address: nil, party_name: nil, requested_account_number_types: nil, title: nil, vendor_attributes: nil, request_options: {})
|
|
112
120
|
# Some parameter documentations has been truncated, see
|
|
113
121
|
# {ModernTreasury::Models::InternalAccountCreateParams} for more details.
|
|
114
122
|
#
|
|
@@ -140,6 +148,8 @@ module ModernTreasury
|
|
|
140
148
|
#
|
|
141
149
|
# @param requested_account_number_types [Array<Symbol, ModernTreasury::Models::InternalAccountCreateParams::RequestedAccountNumberType>] An array of account number types requested for provisioning.
|
|
142
150
|
#
|
|
151
|
+
# @param title [String, nil] The account title at the financial institution, used in place of the party name.
|
|
152
|
+
#
|
|
143
153
|
# @param vendor_attributes [Hash{Symbol=>String}] A hash of vendor specific attributes that will be used when creating the account
|
|
144
154
|
#
|
|
145
155
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -359,6 +369,7 @@ module ModernTreasury
|
|
|
359
369
|
extend ModernTreasury::Internal::Type::Enum
|
|
360
370
|
|
|
361
371
|
ARBITRUM_ADDRESS = :arbitrum_address
|
|
372
|
+
AVALANCHE_ADDRESS = :avalanche_address
|
|
362
373
|
BASE_ADDRESS = :base_address
|
|
363
374
|
ETHEREUM_ADDRESS = :ethereum_address
|
|
364
375
|
POLYGON_ADDRESS = :polygon_address
|