moov_ruby 0.3.31 → 24.1.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.
Files changed (270) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/client.rb +1 -3
  3. data/lib/moov/fee_plans.rb +0 -124
  4. data/lib/moov/models/components/accounttype.rb +0 -1
  5. data/lib/moov/models/components/bankaccountholdertype.rb +0 -1
  6. data/lib/moov/models/components/capabilityid.rb +0 -11
  7. data/lib/moov/models/components/createaccount.rb +3 -3
  8. data/lib/moov/models/components/enrichedindustries.rb +2 -2
  9. data/lib/moov/models/components/enrichedindustry.rb +44 -0
  10. data/lib/moov/models/components/enrichedindustry.rbi +19 -0
  11. data/lib/moov/models/components/incurredfee.rb +8 -8
  12. data/lib/moov/models/components/paymentmethodtype.rb +0 -2
  13. data/lib/moov/models/components/profile.rb +2 -6
  14. data/lib/moov/models/components/profile.rbi +0 -2
  15. data/lib/moov/models/components/requirementid.rb +0 -54
  16. data/lib/moov/models/components/residual.rb +13 -19
  17. data/lib/moov/models/components/residual.rbi +0 -2
  18. data/lib/moov/models/components/transfer.rb +2 -6
  19. data/lib/moov/models/components/transfer.rbi +0 -2
  20. data/lib/moov/models/components/transferoptions.rb +3 -3
  21. data/lib/moov/models/components/transfersource.rb +2 -6
  22. data/lib/moov/models/components/transfersource.rbi +0 -2
  23. data/lib/moov/models/components/underwriting.rb +9 -37
  24. data/lib/moov/models/components/underwriting.rbi +0 -14
  25. data/lib/moov/models/components.rb +1 -80
  26. data/lib/moov/models/errors/transfer_error.rb +2 -6
  27. data/lib/moov/models/errors/transfer_error.rbi +0 -2
  28. data/lib/moov/models/errors.rb +0 -7
  29. data/lib/moov/models/operations/getpaymentmethod_response.rb +2 -2
  30. data/lib/moov/models/operations/getresidual_request.rb +1 -1
  31. data/lib/moov/models/operations/listaccounts_request.rb +2 -2
  32. data/lib/moov/models/operations/listconnectedaccountsforaccount_request.rb +2 -2
  33. data/lib/moov/models/operations/listpaymentmethods_response.rb +2 -2
  34. data/lib/moov/models/operations/listresidualfees_request.rb +1 -1
  35. data/lib/moov/models/operations.rb +0 -27
  36. data/lib/moov/payment_methods.rb +2 -2
  37. data/lib/moov/sdkconfiguration.rb +4 -4
  38. data/lib/moov/underwriting.rb +0 -166
  39. data/lib/moov_ruby.rb +0 -2
  40. metadata +4 -232
  41. data/lib/moov/invoices.rb +0 -914
  42. data/lib/moov/models/components/amountdecimalupdate.rb +0 -38
  43. data/lib/moov/models/components/amountdecimalupdate.rbi +0 -15
  44. data/lib/moov/models/components/businesspresence.rb +0 -25
  45. data/lib/moov/models/components/businesspresence.rbi +0 -11
  46. data/lib/moov/models/components/cardacceptancemethods.rb +0 -40
  47. data/lib/moov/models/components/cardacceptancemethods.rbi +0 -17
  48. data/lib/moov/models/components/cardacceptancemethodserror.rb +0 -40
  49. data/lib/moov/models/components/cardacceptancemethodserror.rbi +0 -17
  50. data/lib/moov/models/components/cardpresentpaymentpaymentmethod.rb +0 -40
  51. data/lib/moov/models/components/cardpresentpaymentpaymentmethod.rbi +0 -17
  52. data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rb +0 -20
  53. data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rbi +0 -11
  54. data/lib/moov/models/components/collectfunds.rb +0 -36
  55. data/lib/moov/models/components/collectfunds.rbi +0 -15
  56. data/lib/moov/models/components/collectfundsach.rb +0 -32
  57. data/lib/moov/models/components/collectfundsach.rbi +0 -13
  58. data/lib/moov/models/components/collectfundsacherror.rb +0 -32
  59. data/lib/moov/models/components/collectfundsacherror.rbi +0 -13
  60. data/lib/moov/models/components/collectfundscardpayments.rb +0 -48
  61. data/lib/moov/models/components/collectfundscardpayments.rbi +0 -21
  62. data/lib/moov/models/components/collectfundscardpaymentserror.rb +0 -48
  63. data/lib/moov/models/components/collectfundscardpaymentserror.rbi +0 -21
  64. data/lib/moov/models/components/collectfundserror.rb +0 -36
  65. data/lib/moov/models/components/collectfundserror.rbi +0 -15
  66. data/lib/moov/models/components/createaccounttype.rb +0 -21
  67. data/lib/moov/models/components/createaccounttype.rbi +0 -11
  68. data/lib/moov/models/components/createinvoice.rb +0 -52
  69. data/lib/moov/models/components/createinvoice.rbi +0 -23
  70. data/lib/moov/models/components/createinvoicelineitem.rb +0 -52
  71. data/lib/moov/models/components/createinvoicelineitem.rbi +0 -23
  72. data/lib/moov/models/components/createinvoicelineitemoption.rb +0 -48
  73. data/lib/moov/models/components/createinvoicelineitemoption.rbi +0 -21
  74. data/lib/moov/models/components/createinvoicelineitemoptionvalidationerror.rb +0 -44
  75. data/lib/moov/models/components/createinvoicelineitemoptionvalidationerror.rbi +0 -19
  76. data/lib/moov/models/components/createinvoicelineitems.rb +0 -32
  77. data/lib/moov/models/components/createinvoicelineitems.rbi +0 -13
  78. data/lib/moov/models/components/createinvoicelineitemsupdate.rb +0 -32
  79. data/lib/moov/models/components/createinvoicelineitemsupdate.rbi +0 -13
  80. data/lib/moov/models/components/createinvoicelineitemsvalidationerror.rb +0 -32
  81. data/lib/moov/models/components/createinvoicelineitemsvalidationerror.rbi +0 -13
  82. data/lib/moov/models/components/createinvoicelineitemvalidationerror.rb +0 -48
  83. data/lib/moov/models/components/createinvoicelineitemvalidationerror.rbi +0 -21
  84. data/lib/moov/models/components/createinvoicepayment.rb +0 -44
  85. data/lib/moov/models/components/createinvoicepayment.rbi +0 -19
  86. data/lib/moov/models/components/createticket.rb +0 -48
  87. data/lib/moov/models/components/createticket.rbi +0 -21
  88. data/lib/moov/models/components/createticketcontacterror.rb +0 -36
  89. data/lib/moov/models/components/createticketcontacterror.rbi +0 -15
  90. data/lib/moov/models/components/entrymode.rb +0 -20
  91. data/lib/moov/models/components/entrymode.rbi +0 -11
  92. data/lib/moov/models/components/estimatedactivity.rb +0 -40
  93. data/lib/moov/models/components/estimatedactivity.rbi +0 -17
  94. data/lib/moov/models/components/estimatedactivityerror.rb +0 -40
  95. data/lib/moov/models/components/estimatedactivityerror.rbi +0 -17
  96. data/lib/moov/models/components/fulfillment.rb +0 -36
  97. data/lib/moov/models/components/fulfillment.rbi +0 -15
  98. data/lib/moov/models/components/fulfillmenterror.rb +0 -36
  99. data/lib/moov/models/components/fulfillmenterror.rbi +0 -15
  100. data/lib/moov/models/components/fulfillmentmethod.rb +0 -28
  101. data/lib/moov/models/components/fulfillmentmethod.rbi +0 -11
  102. data/lib/moov/models/components/fulfillmenttimeframe.rb +0 -27
  103. data/lib/moov/models/components/fulfillmenttimeframe.rbi +0 -11
  104. data/lib/moov/models/components/geographicreach.rb +0 -22
  105. data/lib/moov/models/components/geographicreach.rbi +0 -11
  106. data/lib/moov/models/components/guestprofile.rb +0 -41
  107. data/lib/moov/models/components/guestprofile.rbi +0 -17
  108. data/lib/moov/models/components/industrytaxonomy.rb +0 -48
  109. data/lib/moov/models/components/industrytaxonomy.rbi +0 -21
  110. data/lib/moov/models/components/instantbankcreditpaymentmethod.rb +0 -40
  111. data/lib/moov/models/components/instantbankcreditpaymentmethod.rbi +0 -17
  112. data/lib/moov/models/components/instantbankcreditpaymentmethod_paymentmethodtype.rb +0 -20
  113. data/lib/moov/models/components/instantbankcreditpaymentmethod_paymentmethodtype.rbi +0 -11
  114. data/lib/moov/models/components/invoice.rb +0 -116
  115. data/lib/moov/models/components/invoice.rbi +0 -55
  116. data/lib/moov/models/components/invoiceexternalpayment.rb +0 -40
  117. data/lib/moov/models/components/invoiceexternalpayment.rbi +0 -17
  118. data/lib/moov/models/components/invoicelineitem.rb +0 -52
  119. data/lib/moov/models/components/invoicelineitem.rbi +0 -23
  120. data/lib/moov/models/components/invoicelineitemimagemetadata.rb +0 -44
  121. data/lib/moov/models/components/invoicelineitemimagemetadata.rbi +0 -19
  122. data/lib/moov/models/components/invoicelineitemoption.rb +0 -48
  123. data/lib/moov/models/components/invoicelineitemoption.rbi +0 -21
  124. data/lib/moov/models/components/invoicelineitemoptionvalidationerror.rb +0 -44
  125. data/lib/moov/models/components/invoicelineitemoptionvalidationerror.rbi +0 -19
  126. data/lib/moov/models/components/invoicelineitems.rb +0 -32
  127. data/lib/moov/models/components/invoicelineitems.rbi +0 -13
  128. data/lib/moov/models/components/invoicelineitemsvalidationerror.rb +0 -32
  129. data/lib/moov/models/components/invoicelineitemsvalidationerror.rbi +0 -13
  130. data/lib/moov/models/components/invoicelineitemvalidationerror.rb +0 -48
  131. data/lib/moov/models/components/invoicelineitemvalidationerror.rbi +0 -21
  132. data/lib/moov/models/components/invoicepayment.rb +0 -48
  133. data/lib/moov/models/components/invoicepayment.rbi +0 -21
  134. data/lib/moov/models/components/invoicepaymenttype.rb +0 -21
  135. data/lib/moov/models/components/invoicepaymenttype.rbi +0 -11
  136. data/lib/moov/models/components/invoicetransferpayment.rb +0 -32
  137. data/lib/moov/models/components/invoicetransferpayment.rbi +0 -13
  138. data/lib/moov/models/components/itemlistnextpage.rb +0 -32
  139. data/lib/moov/models/components/itemlistnextpage.rbi +0 -13
  140. data/lib/moov/models/components/moneytransfer.rb +0 -36
  141. data/lib/moov/models/components/moneytransfer.rbi +0 -15
  142. data/lib/moov/models/components/moneytransfererror.rb +0 -36
  143. data/lib/moov/models/components/moneytransfererror.rbi +0 -15
  144. data/lib/moov/models/components/moneytransferpullfromcard.rb +0 -32
  145. data/lib/moov/models/components/moneytransferpullfromcard.rbi +0 -13
  146. data/lib/moov/models/components/moneytransferpullfromcarderror.rb +0 -32
  147. data/lib/moov/models/components/moneytransferpullfromcarderror.rbi +0 -13
  148. data/lib/moov/models/components/moneytransferpushtocard.rb +0 -32
  149. data/lib/moov/models/components/moneytransferpushtocard.rbi +0 -13
  150. data/lib/moov/models/components/moneytransferpushtocarderror.rb +0 -32
  151. data/lib/moov/models/components/moneytransferpushtocarderror.rbi +0 -13
  152. data/lib/moov/models/components/monthlyvolumerange.rb +0 -27
  153. data/lib/moov/models/components/monthlyvolumerange.rbi +0 -11
  154. data/lib/moov/models/components/partnerpricing.rb +0 -66
  155. data/lib/moov/models/components/partnerpricing.rbi +0 -29
  156. data/lib/moov/models/components/pendinglitigation.rb +0 -29
  157. data/lib/moov/models/components/pendinglitigation.rbi +0 -11
  158. data/lib/moov/models/components/refundpolicy.rb +0 -28
  159. data/lib/moov/models/components/refundpolicy.rbi +0 -11
  160. data/lib/moov/models/components/sendfunds.rb +0 -44
  161. data/lib/moov/models/components/sendfunds.rbi +0 -19
  162. data/lib/moov/models/components/sendfundsach.rb +0 -32
  163. data/lib/moov/models/components/sendfundsach.rbi +0 -13
  164. data/lib/moov/models/components/sendfundsacherror.rb +0 -32
  165. data/lib/moov/models/components/sendfundsacherror.rbi +0 -13
  166. data/lib/moov/models/components/sendfundserror.rb +0 -44
  167. data/lib/moov/models/components/sendfundserror.rbi +0 -19
  168. data/lib/moov/models/components/sendfundsinstantbank.rb +0 -32
  169. data/lib/moov/models/components/sendfundsinstantbank.rbi +0 -13
  170. data/lib/moov/models/components/sendfundsinstantbankerror.rb +0 -32
  171. data/lib/moov/models/components/sendfundsinstantbankerror.rbi +0 -13
  172. data/lib/moov/models/components/sendfundspushtocard.rb +0 -32
  173. data/lib/moov/models/components/sendfundspushtocard.rbi +0 -13
  174. data/lib/moov/models/components/sendfundspushtocarderror.rb +0 -32
  175. data/lib/moov/models/components/sendfundspushtocarderror.rbi +0 -13
  176. data/lib/moov/models/components/sendfundsrtp.rb +0 -32
  177. data/lib/moov/models/components/sendfundsrtp.rbi +0 -13
  178. data/lib/moov/models/components/sendfundsrtperror.rb +0 -32
  179. data/lib/moov/models/components/sendfundsrtperror.rbi +0 -13
  180. data/lib/moov/models/components/submissionintent.rb +0 -21
  181. data/lib/moov/models/components/submissionintent.rbi +0 -11
  182. data/lib/moov/models/components/terminalcard.rb +0 -78
  183. data/lib/moov/models/components/terminalcard.rbi +0 -35
  184. data/lib/moov/models/components/ticket.rb +0 -68
  185. data/lib/moov/models/components/ticket.rbi +0 -31
  186. data/lib/moov/models/components/ticketcontact.rb +0 -36
  187. data/lib/moov/models/components/ticketcontact.rbi +0 -15
  188. data/lib/moov/models/components/ticketmessage.rb +0 -40
  189. data/lib/moov/models/components/ticketmessage.rbi +0 -17
  190. data/lib/moov/models/components/updateinvoice.rb +0 -54
  191. data/lib/moov/models/components/updateinvoice.rbi +0 -23
  192. data/lib/moov/models/components/updateticket.rb +0 -32
  193. data/lib/moov/models/components/updateticket.rbi +0 -13
  194. data/lib/moov/models/components/updateticketstatus.rb +0 -20
  195. data/lib/moov/models/components/updateticketstatus.rbi +0 -11
  196. data/lib/moov/models/components/upsertunderwriting.rb +0 -60
  197. data/lib/moov/models/components/upsertunderwriting.rbi +0 -27
  198. data/lib/moov/models/components/volumesharebycustomertype.rb +0 -40
  199. data/lib/moov/models/components/volumesharebycustomertype.rbi +0 -17
  200. data/lib/moov/models/components/volumesharebycustomertypeerror.rb +0 -40
  201. data/lib/moov/models/components/volumesharebycustomertypeerror.rbi +0 -17
  202. data/lib/moov/models/errors/createinvoiceerror.rb +0 -56
  203. data/lib/moov/models/errors/createinvoiceerror.rbi +0 -25
  204. data/lib/moov/models/errors/createinvoicepaymenterror.rb +0 -48
  205. data/lib/moov/models/errors/createinvoicepaymenterror.rbi +0 -21
  206. data/lib/moov/models/errors/createticketerror.rb +0 -52
  207. data/lib/moov/models/errors/createticketerror.rbi +0 -23
  208. data/lib/moov/models/errors/listinvoicesvalidationerror.rb +0 -64
  209. data/lib/moov/models/errors/listinvoicesvalidationerror.rbi +0 -29
  210. data/lib/moov/models/errors/updateinvoiceerror.rb +0 -56
  211. data/lib/moov/models/errors/updateinvoiceerror.rbi +0 -25
  212. data/lib/moov/models/errors/updateticketerror.rb +0 -36
  213. data/lib/moov/models/errors/updateticketerror.rbi +0 -15
  214. data/lib/moov/models/errors/upsertunderwritingerror.rb +0 -88
  215. data/lib/moov/models/errors/upsertunderwritingerror.rbi +0 -41
  216. data/lib/moov/models/operations/createinvoice_request.rb +0 -49
  217. data/lib/moov/models/operations/createinvoice_request.rbi +0 -17
  218. data/lib/moov/models/operations/createinvoice_response.rb +0 -48
  219. data/lib/moov/models/operations/createinvoice_response.rbi +0 -21
  220. data/lib/moov/models/operations/createinvoicepayment_request.rb +0 -53
  221. data/lib/moov/models/operations/createinvoicepayment_request.rbi +0 -19
  222. data/lib/moov/models/operations/createinvoicepayment_response.rb +0 -48
  223. data/lib/moov/models/operations/createinvoicepayment_response.rbi +0 -21
  224. data/lib/moov/models/operations/createticket_request.rb +0 -49
  225. data/lib/moov/models/operations/createticket_request.rbi +0 -17
  226. data/lib/moov/models/operations/createticket_response.rb +0 -48
  227. data/lib/moov/models/operations/createticket_response.rbi +0 -21
  228. data/lib/moov/models/operations/getinvoice_request.rb +0 -49
  229. data/lib/moov/models/operations/getinvoice_request.rbi +0 -17
  230. data/lib/moov/models/operations/getinvoice_response.rb +0 -48
  231. data/lib/moov/models/operations/getinvoice_response.rbi +0 -21
  232. data/lib/moov/models/operations/getticket_request.rb +0 -49
  233. data/lib/moov/models/operations/getticket_request.rbi +0 -17
  234. data/lib/moov/models/operations/getticket_response.rb +0 -48
  235. data/lib/moov/models/operations/getticket_response.rbi +0 -21
  236. data/lib/moov/models/operations/listinvoicepayments_request.rb +0 -49
  237. data/lib/moov/models/operations/listinvoicepayments_request.rbi +0 -17
  238. data/lib/moov/models/operations/listinvoicepayments_response.rb +0 -48
  239. data/lib/moov/models/operations/listinvoicepayments_response.rbi +0 -21
  240. data/lib/moov/models/operations/listinvoices_request.rb +0 -77
  241. data/lib/moov/models/operations/listinvoices_request.rbi +0 -31
  242. data/lib/moov/models/operations/listinvoices_response.rb +0 -48
  243. data/lib/moov/models/operations/listinvoices_response.rbi +0 -21
  244. data/lib/moov/models/operations/listpartnerpricing_request.rb +0 -49
  245. data/lib/moov/models/operations/listpartnerpricing_request.rbi +0 -17
  246. data/lib/moov/models/operations/listpartnerpricing_response.rb +0 -48
  247. data/lib/moov/models/operations/listpartnerpricing_response.rbi +0 -21
  248. data/lib/moov/models/operations/listticketmessages_request.rb +0 -49
  249. data/lib/moov/models/operations/listticketmessages_request.rbi +0 -17
  250. data/lib/moov/models/operations/listticketmessages_response.rb +0 -48
  251. data/lib/moov/models/operations/listticketmessages_response.rbi +0 -21
  252. data/lib/moov/models/operations/listtickets_request.rb +0 -61
  253. data/lib/moov/models/operations/listtickets_request.rbi +0 -23
  254. data/lib/moov/models/operations/listtickets_response.rb +0 -48
  255. data/lib/moov/models/operations/listtickets_response.rbi +0 -21
  256. data/lib/moov/models/operations/listtickets_responsebody.rb +0 -36
  257. data/lib/moov/models/operations/listtickets_responsebody.rbi +0 -15
  258. data/lib/moov/models/operations/saveunderwriting_request.rb +0 -49
  259. data/lib/moov/models/operations/saveunderwriting_request.rbi +0 -17
  260. data/lib/moov/models/operations/saveunderwriting_response.rb +0 -48
  261. data/lib/moov/models/operations/saveunderwriting_response.rbi +0 -21
  262. data/lib/moov/models/operations/updateinvoice_request.rb +0 -53
  263. data/lib/moov/models/operations/updateinvoice_request.rbi +0 -19
  264. data/lib/moov/models/operations/updateinvoice_response.rb +0 -48
  265. data/lib/moov/models/operations/updateinvoice_response.rbi +0 -21
  266. data/lib/moov/models/operations/updateticket_request.rb +0 -53
  267. data/lib/moov/models/operations/updateticket_request.rbi +0 -19
  268. data/lib/moov/models/operations/updateticket_response.rb +0 -48
  269. data/lib/moov/models/operations/updateticket_response.rbi +0 -21
  270. data/lib/moov/support.rb +0 -748
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ce07d2fbd348a41d7e971211903a8e989afabe184663818b66ac9829f29c931
4
- data.tar.gz: 2b33cffcef9b46c54a4dc50fd5806c129cd2d40f597bdc90ee3edc4c7dbcb5eb
3
+ metadata.gz: 9cb7d6e33089cc848d6193f1e0165865b6a566ab6ff8d4b8fe1c9026c8692c74
4
+ data.tar.gz: c1214e894f0bde10a3dacebaab476cb9e6c40e77e33a5d1293f1eed6ef1758fe
5
5
  SHA512:
6
- metadata.gz: e75a6028a02c3888b2afe7cdbb77e1849a07be70fbc93f64e5b97928b65cf93d732b98f9505ec508c9c67e3f2fb0f90042632a66436d1815a98ac014c6a7ab82
7
- data.tar.gz: df0055bf80e0b1d6e0aa6a2752e3bb46da8f8f1a3ddcf9faa501e0df0935a3ac12eb1fe5cd01c1f2fc74c29a8c74abe71c9a7af732f94c601af9fdfacfc664d9
6
+ metadata.gz: f089d3683c11a4d51a6fb3bc880223059442f3b046e4c37d28ce24388b8aa79b69dd847e050e72e87b7e9a1ab921e2b1b0af9b3351ffde0c018c03811f7ccdd0
7
+ data.tar.gz: b5578709d34b8a2b2e18cbf6c4370c7e97138f562dd735e41bd28744340b1219d02406d181a423ff641e916ca7f119b7f55cd23ceca4e3112f668063f80df1cb
data/lib/moov/client.rb CHANGED
@@ -16,7 +16,7 @@ module Moov
16
16
  class Client
17
17
  extend T::Sig
18
18
 
19
- attr_accessor :accounts, :adjustments, :apple_pay, :bank_accounts, :branding, :capabilities, :cards, :disputes, :fee_plans, :files, :images, :invoices, :payment_links, :payment_methods, :products, :representatives, :scheduling, :statements, :sweeps, :account_terminal_applications, :support, :transfers, :underwriting, :wallets, :wallet_transactions, :avatars, :end_to_end_encryption, :enriched_address, :enriched_profile, :webhooks, :industries, :institutions, :issuing_transactions, :card_issuing, :authentication, :onboarding, :ping, :receipts, :terminal_applications
19
+ attr_accessor :accounts, :adjustments, :apple_pay, :bank_accounts, :branding, :capabilities, :cards, :disputes, :fee_plans, :files, :images, :payment_links, :payment_methods, :products, :representatives, :scheduling, :statements, :sweeps, :account_terminal_applications, :transfers, :underwriting, :wallets, :wallet_transactions, :avatars, :end_to_end_encryption, :enriched_address, :enriched_profile, :webhooks, :industries, :institutions, :issuing_transactions, :card_issuing, :authentication, :onboarding, :ping, :receipts, :terminal_applications
20
20
 
21
21
  # Instantiates the SDK, configuring it with the provided parameters.
22
22
  #
@@ -104,7 +104,6 @@ module Moov
104
104
  @fee_plans = FeePlans.new(@sdk_configuration)
105
105
  @files = Files.new(@sdk_configuration)
106
106
  @images = Images.new(@sdk_configuration)
107
- @invoices = Invoices.new(@sdk_configuration)
108
107
  @payment_links = PaymentLinks.new(@sdk_configuration)
109
108
  @payment_methods = PaymentMethods.new(@sdk_configuration)
110
109
  @products = Products.new(@sdk_configuration)
@@ -113,7 +112,6 @@ module Moov
113
112
  @statements = Statements.new(@sdk_configuration)
114
113
  @sweeps = Sweeps.new(@sdk_configuration)
115
114
  @account_terminal_applications = AccountTerminalApplications.new(@sdk_configuration)
116
- @support = Support.new(@sdk_configuration)
117
115
  @transfers = Transfers.new(@sdk_configuration)
118
116
  @underwriting = Underwriting.new(@sdk_configuration)
119
117
  @wallets = Wallets.new(@sdk_configuration)
@@ -818,130 +818,6 @@ module Moov
818
818
  end
819
819
 
820
820
 
821
- sig { params(account_id: ::String, x_moov_version: T.nilable(::String), plan_i_ds: T.nilable(T::Array[::String]), timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListPartnerPricingResponse) }
822
- def list_partner_pricing(account_id:, x_moov_version: nil, plan_i_ds: nil, timeout_ms: nil)
823
- # list_partner_pricing - List all partner pricing plans available for use by an account.
824
- #
825
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
826
- # you'll need to specify the `/accounts/{accountID}/profile.read` scope.
827
- request = Models::Operations::ListPartnerPricingRequest.new(
828
- account_id: account_id,
829
- x_moov_version: x_moov_version,
830
- plan_i_ds: plan_i_ds
831
- )
832
- url, params = @sdk_configuration.get_server_details
833
- base_url = Utils.template_url(url, params)
834
- url = Utils.generate_url(
835
- Models::Operations::ListPartnerPricingRequest,
836
- base_url,
837
- '/accounts/{accountID}/partner-pricing',
838
- request,
839
- @sdk_configuration.globals
840
- )
841
- headers = Utils.get_headers(request, @sdk_configuration.globals)
842
- headers = T.cast(headers, T::Hash[String, String])
843
- query_params = Utils.get_query_params(Models::Operations::ListPartnerPricingRequest, request, nil, @sdk_configuration.globals)
844
- headers['Accept'] = 'application/json'
845
- headers['user-agent'] = @sdk_configuration.user_agent
846
-
847
- security = @sdk_configuration.security_source&.call
848
-
849
- timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
850
- timeout ||= @sdk_configuration.timeout
851
-
852
-
853
- connection = @sdk_configuration.client
854
-
855
- hook_ctx = SDKHooks::HookContext.new(
856
- config: @sdk_configuration,
857
- base_url: base_url,
858
- oauth2_scopes: nil,
859
- operation_id: 'listPartnerPricing',
860
- security_source: @sdk_configuration.security_source
861
- )
862
-
863
- error = T.let(nil, T.nilable(StandardError))
864
- http_response = T.let(nil, T.nilable(Faraday::Response))
865
-
866
-
867
- begin
868
- http_response = T.must(connection).get(url) do |req|
869
- req.headers.merge!(headers)
870
- req.options.timeout = timeout unless timeout.nil?
871
- req.params = query_params
872
- Utils.configure_request_security(req, security)
873
-
874
- @sdk_configuration.hooks.before_request(
875
- hook_ctx: SDKHooks::BeforeRequestHookContext.new(
876
- hook_ctx: hook_ctx
877
- ),
878
- request: req
879
- )
880
- end
881
- rescue StandardError => e
882
- error = e
883
- ensure
884
- if http_response.nil? || Utils.error_status?(http_response.status)
885
- http_response = @sdk_configuration.hooks.after_error(
886
- error: error,
887
- hook_ctx: SDKHooks::AfterErrorHookContext.new(
888
- hook_ctx: hook_ctx
889
- ),
890
- response: http_response
891
- )
892
- else
893
- http_response = @sdk_configuration.hooks.after_success(
894
- hook_ctx: SDKHooks::AfterSuccessHookContext.new(
895
- hook_ctx: hook_ctx
896
- ),
897
- response: http_response
898
- )
899
- end
900
-
901
- if http_response.nil?
902
- raise error if !error.nil?
903
- raise 'no response'
904
- end
905
- end
906
-
907
- content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
908
- if Utils.match_status_code(http_response.status, ['200'])
909
- if Utils.match_content_type(content_type, 'application/json')
910
- http_response = @sdk_configuration.hooks.after_success(
911
- hook_ctx: SDKHooks::AfterSuccessHookContext.new(
912
- hook_ctx: hook_ctx
913
- ),
914
- response: http_response
915
- )
916
- response_data = http_response.env.response_body
917
- obj = Crystalline.unmarshal_json(JSON.parse(response_data), Crystalline::Array.new(Models::Components::PartnerPricing))
918
- response = Models::Operations::ListPartnerPricingResponse.new(
919
- status_code: http_response.status,
920
- content_type: content_type,
921
- raw_response: http_response,
922
- headers: http_response.headers,
923
- partner_pricings: T.unsafe(obj)
924
- )
925
-
926
- return response
927
- else
928
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown content type received'
929
- end
930
- elsif Utils.match_status_code(http_response.status, ['401', '403', '429'])
931
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
932
- elsif Utils.match_status_code(http_response.status, ['500', '504'])
933
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
934
- elsif Utils.match_status_code(http_response.status, ['4XX'])
935
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
936
- elsif Utils.match_status_code(http_response.status, ['5XX'])
937
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'API error occurred'
938
- else
939
- raise ::Moov::Models::Errors::APIError.new(status_code: http_response.status, body: http_response.env.response_body, raw_response: http_response), 'Unknown status code received'
940
-
941
- end
942
- end
943
-
944
-
945
821
  sig { params(request: Models::Operations::ListPartnerPricingAgreementsRequest, timeout_ms: T.nilable(Integer)).returns(Models::Operations::ListPartnerPricingAgreementsResponse) }
946
822
  def list_partner_pricing_agreements(request:, timeout_ms: nil)
947
823
  # list_partner_pricing_agreements - List all partner pricing agreements associated with an account.
@@ -14,7 +14,6 @@ module Moov
14
14
  enums do
15
15
  INDIVIDUAL = new('individual')
16
16
  BUSINESS = new('business')
17
- GUEST = new('guest')
18
17
  end
19
18
  end
20
19
  end
@@ -14,7 +14,6 @@ module Moov
14
14
  enums do
15
15
  INDIVIDUAL = new('individual')
16
16
  BUSINESS = new('business')
17
- GUEST = new('guest')
18
17
  end
19
18
  end
20
19
  end
@@ -16,21 +16,10 @@ module Moov
16
16
  enums do
17
17
  TRANSFERS = new('transfers')
18
18
  SEND_FUNDS = new('send-funds')
19
- SEND_FUNDS_PUSH_TO_CARD = new('send-funds.push-to-card')
20
- MONEY_TRANSFER_PUSH_TO_CARD = new('money-transfer.push-to-card')
21
- SEND_FUNDS_ACH = new('send-funds.ach')
22
- SEND_FUNDS_RTP = new('send-funds.rtp')
23
- SEND_FUNDS_INSTANT_BANK = new('send-funds.instant-bank')
24
19
  COLLECT_FUNDS = new('collect-funds')
25
- COLLECT_FUNDS_CARD_PAYMENTS = new('collect-funds.card-payments')
26
- MONEY_TRANSFER_PULL_FROM_CARD = new('money-transfer.pull-from-card')
27
- COLLECT_FUNDS_ACH = new('collect-funds.ach')
28
20
  WALLET = new('wallet')
29
- WALLET_BALANCE = new('wallet.balance')
30
21
  CARD_ISSUING = new('card-issuing')
31
22
  PRODUCTION_APP = new('production-app')
32
- PLATFORM_PRODUCTION_APP = new('platform.production-app')
33
- PLATFORM_WALLET_TRANSFERS = new('platform.wallet-transfers')
34
23
  end
35
24
  end
36
25
  end
@@ -12,8 +12,8 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
-
16
- field :account_type, Models::Components::CreateAccountType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountType'), required: true, 'decoder': Utils.enum_from_string(Models::Components::CreateAccountType, false) } }
15
+ # The type of entity represented by this account.
16
+ field :account_type, Models::Components::AccountType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountType'), required: true, 'decoder': Utils.enum_from_string(Models::Components::AccountType, false) } }
17
17
 
18
18
  field :profile, Models::Components::CreateProfile, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('profile'), required: true } }
19
19
  # Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
@@ -32,7 +32,7 @@ module Moov
32
32
  # The operating mode for an account.
33
33
  field :mode, Crystalline::Nilable.new(Models::Components::Mode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('mode'), 'decoder': Utils.enum_from_string(Models::Components::Mode, true) } }
34
34
 
35
- sig { params(account_type: Models::Components::CreateAccountType, profile: Models::Components::CreateProfile, metadata: T.nilable(T::Hash[Symbol, ::String]), terms_of_service: T.nilable(Models::Components::TermsOfServicePayload), foreign_id: T.nilable(::String), customer_support: T.nilable(Models::Components::CustomerSupport), settings: T.nilable(Models::Components::Settings), capabilities: T.nilable(T::Array[Models::Components::CapabilityID]), mode: T.nilable(Models::Components::Mode)).void }
35
+ sig { params(account_type: Models::Components::AccountType, profile: Models::Components::CreateProfile, metadata: T.nilable(T::Hash[Symbol, ::String]), terms_of_service: T.nilable(Models::Components::TermsOfServicePayload), foreign_id: T.nilable(::String), customer_support: T.nilable(Models::Components::CustomerSupport), settings: T.nilable(Models::Components::Settings), capabilities: T.nilable(T::Array[Models::Components::CapabilityID]), mode: T.nilable(Models::Components::Mode)).void }
36
36
  def initialize(account_type:, profile:, metadata: nil, terms_of_service: nil, foreign_id: nil, customer_support: nil, settings: nil, capabilities: nil, mode: nil)
37
37
  @account_type = account_type
38
38
  @profile = profile
@@ -13,9 +13,9 @@ module Moov
13
13
  include Crystalline::MetadataFields
14
14
 
15
15
 
16
- field :industries, Crystalline::Array.new(Models::Components::IndustryTaxonomy), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industries'), required: true } }
16
+ field :industries, Crystalline::Array.new(Models::Components::EnrichedIndustry), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industries'), required: true } }
17
17
 
18
- sig { params(industries: T::Array[Models::Components::IndustryTaxonomy]).void }
18
+ sig { params(industries: T::Array[Models::Components::EnrichedIndustry]).void }
19
19
  def initialize(industries:)
20
20
  @industries = industries
21
21
  end
@@ -0,0 +1,44 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+ # An industry's MCC/SIC/NAICS codes, along with descriptive title.
11
+ class EnrichedIndustry
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :title, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('title'), required: true } }
17
+ # North American Industry Classification System
18
+ field :naics, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('naics'), required: true } }
19
+ # Standard Industrial Classification
20
+ field :sic, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('sic'), required: true } }
21
+ # Merchant Category Code
22
+ field :mcc, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('mcc'), required: true } }
23
+
24
+ sig { params(title: ::String, naics: ::String, sic: ::String, mcc: ::String).void }
25
+ def initialize(title:, naics:, sic:, mcc:)
26
+ @title = title
27
+ @naics = naics
28
+ @sic = sic
29
+ @mcc = mcc
30
+ end
31
+
32
+ sig { params(other: T.untyped).returns(T::Boolean) }
33
+ def ==(other)
34
+ return false unless other.is_a? self.class
35
+ return false unless @title == other.title
36
+ return false unless @naics == other.naics
37
+ return false unless @sic == other.sic
38
+ return false unless @mcc == other.mcc
39
+ true
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,19 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::EnrichedIndustry
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::EnrichedIndustry
11
+ def title(); end
12
+ def title=(str_); end
13
+ def naics(); end
14
+ def naics=(str_); end
15
+ def sic(); end
16
+ def sic=(str_); end
17
+ def mcc(); end
18
+ def mcc=(str_); end
19
+ end
@@ -14,21 +14,21 @@ module Moov
14
14
 
15
15
 
16
16
  field :fee_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feeID') } }
17
-
17
+ # Account ID the fee belongs to.
18
18
  field :account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID') } }
19
-
19
+ # Wallet ID associated with the fee.
20
20
  field :wallet_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletID') } }
21
-
21
+ # Timestamp when the fee was created.
22
22
  field :created_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), 'decoder': Utils.datetime_from_iso_format(true) } }
23
-
23
+ # Name of the fee.
24
24
  field :fee_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feeName') } }
25
-
25
+ # The fee amount.
26
26
  field :amount, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
27
- # The entity that generated the fee.
27
+ # Object indicating what generated the fee (TransferID, CardID, DisputeID, AccountID, or BankAccountID).
28
28
  field :generated_by, Crystalline::Nilable.new(Models::Components::GeneratedBy), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('generatedBy') } }
29
-
29
+ # Describes the source of the fee, such as a Moov-set processing fee, a network pass-through fee, or an interchange or discount fee.
30
30
  field :fee_group, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feeGroup') } }
31
-
31
+ # Unique identifier for this residual payment calculation.
32
32
  field :residual_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('residualID') } }
33
33
 
34
34
  sig { params(fee_id: T.nilable(::String), account_id: T.nilable(::String), wallet_id: T.nilable(::String), created_on: T.nilable(::DateTime), fee_name: T.nilable(::String), amount: T.nilable(Models::Components::AmountDecimal), generated_by: T.nilable(Models::Components::GeneratedBy), fee_group: T.nilable(::String), residual_id: T.nilable(::String)).void }
@@ -22,8 +22,6 @@ module Moov
22
22
  PUSH_TO_CARD = new('push-to-card')
23
23
  PULL_FROM_CARD = new('pull-from-card')
24
24
  APPLE_PAY = new('apple-pay')
25
- CARD_PRESENT_PAYMENT = new('card-present-payment')
26
- INSTANT_BANK_CREDIT = new('instant-bank-credit')
27
25
  end
28
26
  end
29
27
  end
@@ -16,14 +16,11 @@ module Moov
16
16
  field :individual, Crystalline::Nilable.new(Models::Components::IndividualProfile), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('individual') } }
17
17
  # Describes a business.
18
18
  field :business, Crystalline::Nilable.new(Models::Components::BusinessProfile), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('business') } }
19
- # Describes a guest account profile.
20
- field :guest, Crystalline::Nilable.new(Models::Components::GuestProfile), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('guest') } }
21
19
 
22
- sig { params(individual: T.nilable(Models::Components::IndividualProfile), business: T.nilable(Models::Components::BusinessProfile), guest: T.nilable(Models::Components::GuestProfile)).void }
23
- def initialize(individual: nil, business: nil, guest: nil)
20
+ sig { params(individual: T.nilable(Models::Components::IndividualProfile), business: T.nilable(Models::Components::BusinessProfile)).void }
21
+ def initialize(individual: nil, business: nil)
24
22
  @individual = individual
25
23
  @business = business
26
- @guest = guest
27
24
  end
28
25
 
29
26
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -31,7 +28,6 @@ module Moov
31
28
  return false unless other.is_a? self.class
32
29
  return false unless @individual == other.individual
33
30
  return false unless @business == other.business
34
- return false unless @guest == other.guest
35
31
  true
36
32
  end
37
33
  end
@@ -12,6 +12,4 @@ class Moov::Models::Components::Profile
12
12
  def individual=(str_); end
13
13
  def business(); end
14
14
  def business=(str_); end
15
- def guest(); end
16
- def guest=(str_); end
17
15
  end
@@ -67,60 +67,6 @@ module Moov
67
67
  REPRESENTATIVE_REP_UUID_IS_OWNER = new('representative.{rep-uuid}.is-owner')
68
68
  REPRESENTATIVE_REP_UUID_OWNERSHIP = new('representative.{rep-uuid}.ownership')
69
69
  DOCUMENT_DOC_UUID_ = new('document.{doc-uuid}')
70
- UNDERWRITING_BUSINESS_PRESENCE = new('underwriting.businessPresence')
71
- UNDERWRITING_GEOGRAPHIC_REACH = new('underwriting.geographicReach')
72
- UNDERWRITING_VOLUME_SHARE_BY_CUSTOMER_TYPE = new('underwriting.volumeShareByCustomerType')
73
- UNDERWRITING_PENDING_LITIGATION = new('underwriting.pendingLitigation')
74
- UNDERWRITING_DOCUMENTS_PROCESSING_STATEMENTS_PAST3_MONTHS = new('underwriting.documents.processingStatementsPast3Months')
75
- UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_CARD_ACCEPTANCE_METHODS = new('underwriting.collectFunds.cardPayments.cardAcceptanceMethods')
76
- UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_CURRENTLY_ACCEPTS_CARDS = new('underwriting.collectFunds.cardPayments.currentlyAcceptsCards')
77
- UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = new('underwriting.collectFunds.cardPayments.estimatedActivity.averageTransactionAmount')
78
- UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = new('underwriting.collectFunds.cardPayments.estimatedActivity.maximumTransactionAmount')
79
- UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = new('underwriting.collectFunds.cardPayments.estimatedActivity.monthlyVolumeRange')
80
- UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_FULFILLMENT = new('underwriting.collectFunds.cardPayments.fulfillment')
81
- UNDERWRITING_COLLECT_FUNDS_CARD_PAYMENTS_REFUND_POLICY = new('underwriting.collectFunds.cardPayments.refundPolicy')
82
- UNDERWRITING_COLLECT_FUNDS_ACH_CARD_ACCEPTANCE_METHODS = new('underwriting.collectFunds.ach.cardAcceptanceMethods')
83
- UNDERWRITING_COLLECT_FUNDS_ACH_CURRENTLY_ACCEPTS_CARDS = new('underwriting.collectFunds.ach.currentlyAcceptsCards')
84
- UNDERWRITING_COLLECT_FUNDS_ACH_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = new('underwriting.collectFunds.ach.estimatedActivity.averageTransactionAmount')
85
- UNDERWRITING_COLLECT_FUNDS_ACH_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = new('underwriting.collectFunds.ach.estimatedActivity.maximumTransactionAmount')
86
- UNDERWRITING_COLLECT_FUNDS_ACH_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = new('underwriting.collectFunds.ach.estimatedActivity.monthlyVolumeRange')
87
- UNDERWRITING_COLLECT_FUNDS_ACH_FULFILLMENT = new('underwriting.collectFunds.ach.fulfillment')
88
- UNDERWRITING_COLLECT_FUNDS_ACH_REFUND_POLICY = new('underwriting.collectFunds.ach.refundPolicy')
89
- UNDERWRITING_SEND_FUNDS_ACH_CARD_ACCEPTANCE_METHODS = new('underwriting.sendFunds.ach.cardAcceptanceMethods')
90
- UNDERWRITING_SEND_FUNDS_ACH_CURRENTLY_ACCEPTS_CARDS = new('underwriting.sendFunds.ach.currentlyAcceptsCards')
91
- UNDERWRITING_SEND_FUNDS_ACH_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = new('underwriting.sendFunds.ach.estimatedActivity.averageTransactionAmount')
92
- UNDERWRITING_SEND_FUNDS_ACH_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = new('underwriting.sendFunds.ach.estimatedActivity.maximumTransactionAmount')
93
- UNDERWRITING_SEND_FUNDS_ACH_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = new('underwriting.sendFunds.ach.estimatedActivity.monthlyVolumeRange')
94
- UNDERWRITING_SEND_FUNDS_ACH_FULFILLMENT = new('underwriting.sendFunds.ach.fulfillment')
95
- UNDERWRITING_SEND_FUNDS_ACH_REFUND_POLICY = new('underwriting.sendFunds.ach.refundPolicy')
96
- UNDERWRITING_SEND_FUNDS_RTP_CARD_ACCEPTANCE_METHODS = new('underwriting.sendFunds.rtp.cardAcceptanceMethods')
97
- UNDERWRITING_SEND_FUNDS_RTP_CURRENTLY_ACCEPTS_CARDS = new('underwriting.sendFunds.rtp.currentlyAcceptsCards')
98
- UNDERWRITING_SEND_FUNDS_RTP_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = new('underwriting.sendFunds.rtp.estimatedActivity.averageTransactionAmount')
99
- UNDERWRITING_SEND_FUNDS_RTP_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = new('underwriting.sendFunds.rtp.estimatedActivity.maximumTransactionAmount')
100
- UNDERWRITING_SEND_FUNDS_RTP_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = new('underwriting.sendFunds.rtp.estimatedActivity.monthlyVolumeRange')
101
- UNDERWRITING_SEND_FUNDS_RTP_FULFILLMENT = new('underwriting.sendFunds.rtp.fulfillment')
102
- UNDERWRITING_SEND_FUNDS_RTP_REFUND_POLICY = new('underwriting.sendFunds.rtp.refundPolicy')
103
- UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_CARD_ACCEPTANCE_METHODS = new('underwriting.sendFunds.pushToCard.cardAcceptanceMethods')
104
- UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_CURRENTLY_ACCEPTS_CARDS = new('underwriting.sendFunds.pushToCard.currentlyAcceptsCards')
105
- UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = new('underwriting.sendFunds.pushToCard.estimatedActivity.averageTransactionAmount')
106
- UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = new('underwriting.sendFunds.pushToCard.estimatedActivity.maximumTransactionAmount')
107
- UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = new('underwriting.sendFunds.pushToCard.estimatedActivity.monthlyVolumeRange')
108
- UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_FULFILLMENT = new('underwriting.sendFunds.pushToCard.fulfillment')
109
- UNDERWRITING_SEND_FUNDS_PUSH_TO_CARD_REFUND_POLICY = new('underwriting.sendFunds.pushToCard.refundPolicy')
110
- UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_CARD_ACCEPTANCE_METHODS = new('underwriting.moneyTransfer.pullFromCard.cardAcceptanceMethods')
111
- UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_CURRENTLY_ACCEPTS_CARDS = new('underwriting.moneyTransfer.pullFromCard.currentlyAcceptsCards')
112
- UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = new('underwriting.moneyTransfer.pullFromCard.estimatedActivity.averageTransactionAmount')
113
- UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = new('underwriting.moneyTransfer.pullFromCard.estimatedActivity.maximumTransactionAmount')
114
- UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = new('underwriting.moneyTransfer.pullFromCard.estimatedActivity.monthlyVolumeRange')
115
- UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_FULFILLMENT = new('underwriting.moneyTransfer.pullFromCard.fulfillment')
116
- UNDERWRITING_MONEY_TRANSFER_PULL_FROM_CARD_REFUND_POLICY = new('underwriting.moneyTransfer.pullFromCard.refundPolicy')
117
- UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_CARD_ACCEPTANCE_METHODS = new('underwriting.moneyTransfer.pushToCard.cardAcceptanceMethods')
118
- UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_CURRENTLY_ACCEPTS_CARDS = new('underwriting.moneyTransfer.pushToCard.currentlyAcceptsCards')
119
- UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_ESTIMATED_ACTIVITY_AVERAGE_TRANSACTION_AMOUNT = new('underwriting.moneyTransfer.pushToCard.estimatedActivity.averageTransactionAmount')
120
- UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_ESTIMATED_ACTIVITY_MAXIMUM_TRANSACTION_AMOUNT = new('underwriting.moneyTransfer.pushToCard.estimatedActivity.maximumTransactionAmount')
121
- UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_ESTIMATED_ACTIVITY_MONTHLY_VOLUME_RANGE = new('underwriting.moneyTransfer.pushToCard.estimatedActivity.monthlyVolumeRange')
122
- UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_FULFILLMENT = new('underwriting.moneyTransfer.pushToCard.fulfillment')
123
- UNDERWRITING_MONEY_TRANSFER_PUSH_TO_CARD_REFUND_POLICY = new('underwriting.moneyTransfer.pushToCard.refundPolicy')
124
70
  end
125
71
  end
126
72
  end
@@ -12,35 +12,31 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
-
15
+ # Unique identifier for this residual payment calculation.
16
16
  field :residual_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('residualID'), required: true } }
17
-
17
+ # The partner account ID this residual belongs to.
18
18
  field :partner_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('partnerAccountID'), required: true } }
19
-
19
+ # Start date and time of the residual calculation period.
20
20
  field :period_start, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('periodStart'), required: true, 'decoder': Utils.datetime_from_iso_format(false) } }
21
-
21
+ # End date and time of the residual calculation period.
22
22
  field :period_end, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('periodEnd'), required: true, 'decoder': Utils.datetime_from_iso_format(false) } }
23
-
23
+ # Total amount of merchant fees collected during the period. This represents the partner's revenue from merchant fees.
24
24
  field :merchant_fees, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantFees'), required: true } }
25
-
25
+ # Partner's total cost (buy rate) during the period.
26
26
  field :partner_cost, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('partnerCost'), required: true } }
27
-
27
+ # Net income calculated as merchant fee revenue minus partner costs.
28
28
  field :net_income, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('netIncome'), required: true } }
29
- # The decimal-formatted numerical string of the revenue split for partner.
30
- #
31
- # For example, 2.25% is '2.25'.
29
+ # The revenue share percentage the partner receives, expressed as a decimal string (e.g., "25.00" for 25%).
32
30
  field :revenue_share, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('revenueShare'), required: true } }
33
-
31
+ # The amount the partner receives as their share of the net income (netIncome × revenueShare).
34
32
  field :residual_amount, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('residualAmount'), required: true } }
35
-
36
- field :moov_share, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('moovShare'), required: true } }
37
-
33
+ # Timestamp when the residual was created.
38
34
  field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': Utils.datetime_from_iso_format(false) } }
39
-
35
+ # Timestamp when the residual was last updated.
40
36
  field :updated_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('updatedOn'), required: true, 'decoder': Utils.datetime_from_iso_format(false) } }
41
37
 
42
- sig { params(residual_id: ::String, partner_account_id: ::String, period_start: ::DateTime, period_end: ::DateTime, merchant_fees: Models::Components::AmountDecimal, partner_cost: Models::Components::AmountDecimal, net_income: Models::Components::AmountDecimal, revenue_share: ::String, residual_amount: Models::Components::AmountDecimal, moov_share: Models::Components::AmountDecimal, created_on: ::DateTime, updated_on: ::DateTime).void }
43
- def initialize(residual_id:, partner_account_id:, period_start:, period_end:, merchant_fees:, partner_cost:, net_income:, revenue_share:, residual_amount:, moov_share:, created_on:, updated_on:)
38
+ sig { params(residual_id: ::String, partner_account_id: ::String, period_start: ::DateTime, period_end: ::DateTime, merchant_fees: Models::Components::AmountDecimal, partner_cost: Models::Components::AmountDecimal, net_income: Models::Components::AmountDecimal, revenue_share: ::String, residual_amount: Models::Components::AmountDecimal, created_on: ::DateTime, updated_on: ::DateTime).void }
39
+ def initialize(residual_id:, partner_account_id:, period_start:, period_end:, merchant_fees:, partner_cost:, net_income:, revenue_share:, residual_amount:, created_on:, updated_on:)
44
40
  @residual_id = residual_id
45
41
  @partner_account_id = partner_account_id
46
42
  @period_start = period_start
@@ -50,7 +46,6 @@ module Moov
50
46
  @net_income = net_income
51
47
  @revenue_share = revenue_share
52
48
  @residual_amount = residual_amount
53
- @moov_share = moov_share
54
49
  @created_on = created_on
55
50
  @updated_on = updated_on
56
51
  end
@@ -67,7 +62,6 @@ module Moov
67
62
  return false unless @net_income == other.net_income
68
63
  return false unless @revenue_share == other.revenue_share
69
64
  return false unless @residual_amount == other.residual_amount
70
- return false unless @moov_share == other.moov_share
71
65
  return false unless @created_on == other.created_on
72
66
  return false unless @updated_on == other.updated_on
73
67
  true
@@ -26,8 +26,6 @@ class Moov::Models::Components::Residual
26
26
  def revenue_share=(str_); end
27
27
  def residual_amount(); end
28
28
  def residual_amount=(str_); end
29
- def moov_share(); end
30
- def moov_share=(str_); end
31
29
  def created_on(); end
32
30
  def created_on=(str_); end
33
31
  def updated_on(); end
@@ -69,11 +69,9 @@ module Moov
69
69
  # An optional collection of line items for a transfer.
70
70
  # When line items are provided, their total plus sales tax must equal the transfer amount.
71
71
  field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
72
- # ID of the invoice that the transfer is associated with.
73
- field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
74
72
 
75
- sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String)).void }
76
- def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, invoice_id: nil)
73
+ sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems)).void }
74
+ def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil)
77
75
  @transfer_id = transfer_id
78
76
  @created_on = created_on
79
77
  @source = source
@@ -102,7 +100,6 @@ module Moov
102
100
  @sales_tax_amount = sales_tax_amount
103
101
  @foreign_id = foreign_id
104
102
  @line_items = line_items
105
- @invoice_id = invoice_id
106
103
  end
107
104
 
108
105
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -136,7 +133,6 @@ module Moov
136
133
  return false unless @sales_tax_amount == other.sales_tax_amount
137
134
  return false unless @foreign_id == other.foreign_id
138
135
  return false unless @line_items == other.line_items
139
- return false unless @invoice_id == other.invoice_id
140
136
  true
141
137
  end
142
138
  end
@@ -64,6 +64,4 @@ class Moov::Models::Components::Transfer
64
64
  def foreign_id=(str_); end
65
65
  def line_items(); end
66
66
  def line_items=(str_); end
67
- def invoice_id(); end
68
- def invoice_id=(str_); end
69
67
  end
@@ -13,11 +13,11 @@ module Moov
13
13
  include Crystalline::MetadataFields
14
14
 
15
15
 
16
- field :source_options, Crystalline::Nilable.new(Crystalline::Array.new(Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod))), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('sourceOptions') } }
16
+ field :source_options, Crystalline::Nilable.new(Crystalline::Array.new(Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod))), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('sourceOptions') } }
17
17
 
18
- field :destination_options, Crystalline::Nilable.new(Crystalline::Array.new(Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod))), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('destinationOptions') } }
18
+ field :destination_options, Crystalline::Nilable.new(Crystalline::Array.new(Crystalline::Union.new(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod))), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('destinationOptions') } }
19
19
 
20
- sig { params(source_options: T.nilable(T::Array[T.any(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod)]), destination_options: T.nilable(T::Array[T.any(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod, Models::Components::CardPresentPaymentPaymentMethod, Models::Components::InstantBankCreditPaymentMethod)])).void }
20
+ sig { params(source_options: T.nilable(T::Array[T.any(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod)]), destination_options: T.nilable(T::Array[T.any(Models::Components::MoovWalletPaymentMethod, Models::Components::AchDebitFundPaymentMethod, Models::Components::AchDebitCollectPaymentMethod, Models::Components::AchCreditStandardPaymentMethod, Models::Components::AchCreditSameDayPaymentMethod, Models::Components::RtpCreditPaymentMethod, Models::Components::CardPaymentPaymentMethod, Models::Components::PushToCardPaymentMethod, Models::Components::PullFromCardPaymentMethod, Models::Components::ApplePayPaymentMethod)])).void }
21
21
  def initialize(source_options: nil, destination_options: nil)
22
22
  @source_options = source_options
23
23
  @destination_options = destination_options