moov_ruby 26.1.5 → 26.4.0.pre.dev.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 (200) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/metadata_fields.rb +14 -20
  3. data/lib/crystalline/module.rb +10 -96
  4. data/lib/crystalline/types.rb +0 -79
  5. data/lib/moov/models/components/accounttype.rb +2 -0
  6. data/lib/moov/models/components/accountverificationstatus.rb +2 -0
  7. data/lib/moov/models/components/achcreditsamedaypaymentmethod_paymentmethodtype.rb +2 -0
  8. data/lib/moov/models/components/achcreditstandardpaymentmethod_paymentmethodtype.rb +2 -0
  9. data/lib/moov/models/components/achdebitcollectpaymentmethod_paymentmethodtype.rb +2 -0
  10. data/lib/moov/models/components/achdebitfundpaymentmethod_paymentmethodtype.rb +2 -0
  11. data/lib/moov/models/components/achreturncode.rb +2 -0
  12. data/lib/moov/models/components/achtransactionstatus.rb +2 -0
  13. data/lib/moov/models/components/applepaypaymentmethod_paymentmethodtype.rb +2 -0
  14. data/lib/moov/models/components/applicationscope.rb +2 -0
  15. data/lib/moov/models/components/bankaccountholdertype.rb +2 -0
  16. data/lib/moov/models/components/bankaccountstatus.rb +2 -0
  17. data/lib/moov/models/components/bankaccountstatusreason.rb +2 -0
  18. data/lib/moov/models/components/bankaccounttype.rb +2 -0
  19. data/lib/moov/models/components/bankaccountverificationmethod.rb +2 -0
  20. data/lib/moov/models/components/bankaccountverificationstatus.rb +2 -0
  21. data/lib/moov/models/components/bankaccountwaitfor.rb +2 -0
  22. data/lib/moov/models/components/businesspresence.rb +2 -0
  23. data/lib/moov/models/components/businesstype.rb +2 -0
  24. data/lib/moov/models/components/calltoaction.rb +2 -0
  25. data/lib/moov/models/components/cancellationstatus.rb +2 -0
  26. data/lib/moov/models/components/capabilityid.rb +2 -0
  27. data/lib/moov/models/components/capabilitystatus.rb +2 -0
  28. data/lib/moov/models/components/cardacquiringmodel.rb +2 -0
  29. data/lib/moov/models/components/cardbrand.rb +2 -0
  30. data/lib/moov/models/components/cardissuingnetwork.rb +2 -0
  31. data/lib/moov/models/components/cardpaymentpaymentmethod_paymentmethodtype.rb +2 -0
  32. data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rb +2 -0
  33. data/lib/moov/models/components/cardtransactionfailurecode.rb +2 -0
  34. data/lib/moov/models/components/cardtransactionstatus.rb +2 -0
  35. data/lib/moov/models/components/cardtype.rb +2 -0
  36. data/lib/moov/models/components/cardupdatereason.rb +2 -0
  37. data/lib/moov/models/components/cardverificationresult.rb +2 -0
  38. data/lib/moov/models/components/collectionpaymentmethodtype.rb +2 -0
  39. data/lib/moov/models/components/createaccounttype.rb +2 -0
  40. data/lib/moov/models/components/createpaymentlinklineitem.rb +2 -6
  41. data/lib/moov/models/components/createpaymentlinklineitemoption.rb +1 -4
  42. data/lib/moov/models/components/createscheduledtransferlineitem.rb +1 -2
  43. data/lib/moov/models/components/createtransferlineitem.rb +1 -2
  44. data/lib/moov/models/components/debitholdperiod.rb +2 -0
  45. data/lib/moov/models/components/disbursementpaymentmethodtype.rb +2 -0
  46. data/lib/moov/models/components/disputephase.rb +2 -0
  47. data/lib/moov/models/components/disputestatus.rb +2 -0
  48. data/lib/moov/models/components/documenttype.rb +2 -0
  49. data/lib/moov/models/components/domesticpullfromcard.rb +2 -0
  50. data/lib/moov/models/components/domesticpushtocard.rb +2 -0
  51. data/lib/moov/models/components/entrymode.rb +2 -0
  52. data/lib/moov/models/components/evidencetype.rb +2 -0
  53. data/lib/moov/models/components/feecategory.rb +2 -0
  54. data/lib/moov/models/components/feemodel.rb +2 -0
  55. data/lib/moov/models/components/feeplanagreementstatus.rb +2 -0
  56. data/lib/moov/models/components/filepurpose.rb +2 -0
  57. data/lib/moov/models/components/filestatus.rb +2 -0
  58. data/lib/moov/models/components/fulfillmentmethod.rb +2 -0
  59. data/lib/moov/models/components/fulfillmenttimeframe.rb +2 -0
  60. data/lib/moov/models/components/generatedby.rb +2 -6
  61. data/lib/moov/models/components/generatedby.rbi +0 -2
  62. data/lib/moov/models/components/geographicreach.rb +2 -0
  63. data/lib/moov/models/components/granttype.rb +2 -0
  64. data/lib/moov/models/components/imagemetadata.rb +1 -1
  65. data/lib/moov/models/components/instantbankcreditpaymentmethod_paymentmethodtype.rb +2 -0
  66. data/lib/moov/models/components/invoicestatus.rb +2 -0
  67. data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +2 -0
  68. data/lib/moov/models/components/issuedcardeventtype.rb +2 -0
  69. data/lib/moov/models/components/issuedcardformfactor.rb +2 -0
  70. data/lib/moov/models/components/issuedcardstate.rb +2 -0
  71. data/lib/moov/models/components/issuingauthorizationstatus.rb +2 -0
  72. data/lib/moov/models/components/issuingintervallimit.rb +2 -0
  73. data/lib/moov/models/components/kind.rb +2 -0
  74. data/lib/moov/models/components/linkcardwaitfor.rb +2 -0
  75. data/lib/moov/models/components/microdepositstatus.rb +2 -0
  76. data/lib/moov/models/components/mode.rb +2 -0
  77. data/lib/moov/models/components/monthlyvolumerange.rb +2 -0
  78. data/lib/moov/models/components/moovwalletpaymentmethod_paymentmethodtype.rb +2 -0
  79. data/lib/moov/models/components/occurrencestatus.rb +2 -0
  80. data/lib/moov/models/components/paymentlinkstatus.rb +2 -0
  81. data/lib/moov/models/components/paymentlinktype.rb +2 -0
  82. data/lib/moov/models/components/paymentmethodtype.rb +2 -0
  83. data/lib/moov/models/components/pendinglitigation.rb +2 -0
  84. data/lib/moov/models/components/primaryregulator.rb +2 -0
  85. data/lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rb +2 -0
  86. data/lib/moov/models/components/pushtocardpaymentmethod_paymentmethodtype.rb +2 -0
  87. data/lib/moov/models/components/receiptkind.rb +2 -0
  88. data/lib/moov/models/components/refundcardstatus.rb +2 -0
  89. data/lib/moov/models/components/refundpolicy.rb +2 -0
  90. data/lib/moov/models/components/refundstatus.rb +2 -0
  91. data/lib/moov/models/components/requirementerrorcode.rb +2 -0
  92. data/lib/moov/models/components/requirementid.rb +2 -0
  93. data/lib/moov/models/components/returnpolicytype.rb +2 -0
  94. data/lib/moov/models/components/rtpcreditpaymentmethod_paymentmethodtype.rb +2 -0
  95. data/lib/moov/models/components/rtpfailurecode.rb +2 -0
  96. data/lib/moov/models/components/rtprejectioncode.rb +2 -0
  97. data/lib/moov/models/components/rtptransactionstatus.rb +2 -0
  98. data/lib/moov/models/components/seccode.rb +2 -0
  99. data/lib/moov/models/components/status.rb +2 -0
  100. data/lib/moov/models/components/submissionintent.rb +2 -0
  101. data/lib/moov/models/components/sweepconfigstatus.rb +2 -0
  102. data/lib/moov/models/components/sweepstatus.rb +2 -0
  103. data/lib/moov/models/components/terminalapplicationplatform.rb +2 -0
  104. data/lib/moov/models/components/terminalapplicationstatus.rb +2 -0
  105. data/lib/moov/models/components/ticketstatus.rb +2 -0
  106. data/lib/moov/models/components/token_type_hint.rb +2 -0
  107. data/lib/moov/models/components/tokentype.rb +2 -0
  108. data/lib/moov/models/components/transactionsource.rb +2 -0
  109. data/lib/moov/models/components/transferdestination.rb +5 -5
  110. data/lib/moov/models/components/transferfailurereason.rb +2 -0
  111. data/lib/moov/models/components/transferoptions.rb +3 -3
  112. data/lib/moov/models/components/transferparty.rb +2 -0
  113. data/lib/moov/models/components/transfersource.rb +7 -7
  114. data/lib/moov/models/components/transferstatus.rb +2 -0
  115. data/lib/moov/models/components/transferwaitfor.rb +2 -0
  116. data/lib/moov/models/components/underwritingstatus.rb +2 -0
  117. data/lib/moov/models/components/updateissuedcardstate.rb +2 -0
  118. data/lib/moov/models/components/updateticketstatus.rb +2 -0
  119. data/lib/moov/models/components/use.rb +2 -0
  120. data/lib/moov/models/components/verificationstatus.rb +2 -0
  121. data/lib/moov/models/components/verificationstatusdetail.rb +2 -0
  122. data/lib/moov/models/components/walletstatus.rb +2 -0
  123. data/lib/moov/models/components/wallettransactionsourcetype.rb +2 -0
  124. data/lib/moov/models/components/wallettransactionstatus.rb +2 -0
  125. data/lib/moov/models/components/wallettransactiontype.rb +2 -0
  126. data/lib/moov/models/components/wallettype.rb +2 -0
  127. data/lib/moov/models/components/webhookdatatransferstatus.rb +2 -0
  128. data/lib/moov/models/components/webhookeventtype.rb +2 -0
  129. data/lib/moov/models/components/webhookstatus.rb +2 -0
  130. data/lib/moov/models/components.rb +0 -31
  131. data/lib/moov/models/operations/createtransfer_request.rb +2 -2
  132. data/lib/moov/models/operations/getscheduledoccurrence_request.rb +4 -4
  133. data/lib/moov/models/operations/hydrate.rb +2 -0
  134. data/lib/moov/sdkconfiguration.rb +4 -4
  135. data/lib/moov/utils/url.rb +1 -1
  136. data/lib/moov/utils/utils.rb +0 -12
  137. metadata +6 -69
  138. data/lib/crystalline/enum.rbi +0 -17
  139. data/lib/moov/models/components/achcreditsamedaytransferpaymentmethod.rb +0 -40
  140. data/lib/moov/models/components/achcreditsamedaytransferpaymentmethod.rbi +0 -17
  141. data/lib/moov/models/components/achcreditsamedaytransferpaymentmethod_paymentmethodtype.rb +0 -18
  142. data/lib/moov/models/components/achcreditsamedaytransferpaymentmethod_paymentmethodtype.rbi +0 -11
  143. data/lib/moov/models/components/achcreditstandardtransferpaymentmethod.rb +0 -40
  144. data/lib/moov/models/components/achcreditstandardtransferpaymentmethod.rbi +0 -17
  145. data/lib/moov/models/components/achcreditstandardtransferpaymentmethod_paymentmethodtype.rb +0 -18
  146. data/lib/moov/models/components/achcreditstandardtransferpaymentmethod_paymentmethodtype.rbi +0 -11
  147. data/lib/moov/models/components/achdebitcollecttransferpaymentmethod.rb +0 -40
  148. data/lib/moov/models/components/achdebitcollecttransferpaymentmethod.rbi +0 -17
  149. data/lib/moov/models/components/achdebitcollecttransferpaymentmethod_paymentmethodtype.rb +0 -18
  150. data/lib/moov/models/components/achdebitcollecttransferpaymentmethod_paymentmethodtype.rbi +0 -11
  151. data/lib/moov/models/components/achdebitfundtransferpaymentmethod.rb +0 -40
  152. data/lib/moov/models/components/achdebitfundtransferpaymentmethod.rbi +0 -17
  153. data/lib/moov/models/components/achdebitfundtransferpaymentmethod_paymentmethodtype.rb +0 -18
  154. data/lib/moov/models/components/achdebitfundtransferpaymentmethod_paymentmethodtype.rbi +0 -11
  155. data/lib/moov/models/components/applepaytransferpaymentmethod.rb +0 -40
  156. data/lib/moov/models/components/applepaytransferpaymentmethod.rbi +0 -17
  157. data/lib/moov/models/components/applepaytransferpaymentmethod_paymentmethodtype.rb +0 -18
  158. data/lib/moov/models/components/applepaytransferpaymentmethod_paymentmethodtype.rbi +0 -11
  159. data/lib/moov/models/components/cardpaymenttransferpaymentmethod.rb +0 -40
  160. data/lib/moov/models/components/cardpaymenttransferpaymentmethod.rbi +0 -17
  161. data/lib/moov/models/components/cardpaymenttransferpaymentmethod_paymentmethodtype.rb +0 -18
  162. data/lib/moov/models/components/cardpaymenttransferpaymentmethod_paymentmethodtype.rbi +0 -11
  163. data/lib/moov/models/components/cardpresentpaymenttransferpaymentmethod.rb +0 -40
  164. data/lib/moov/models/components/cardpresentpaymenttransferpaymentmethod.rbi +0 -17
  165. data/lib/moov/models/components/cardpresentpaymenttransferpaymentmethod_paymentmethodtype.rb +0 -18
  166. data/lib/moov/models/components/cardpresentpaymenttransferpaymentmethod_paymentmethodtype.rbi +0 -11
  167. data/lib/moov/models/components/instantbankcredittransferpaymentmethod.rb +0 -40
  168. data/lib/moov/models/components/instantbankcredittransferpaymentmethod.rbi +0 -17
  169. data/lib/moov/models/components/instantbankcredittransferpaymentmethod_paymentmethodtype.rb +0 -18
  170. data/lib/moov/models/components/instantbankcredittransferpaymentmethod_paymentmethodtype.rbi +0 -11
  171. data/lib/moov/models/components/moovwallettransferpaymentmethod.rb +0 -40
  172. data/lib/moov/models/components/moovwallettransferpaymentmethod.rbi +0 -17
  173. data/lib/moov/models/components/moovwallettransferpaymentmethod_paymentmethodtype.rb +0 -18
  174. data/lib/moov/models/components/moovwallettransferpaymentmethod_paymentmethodtype.rbi +0 -11
  175. data/lib/moov/models/components/pullfromcardtransferpaymentmethod.rb +0 -40
  176. data/lib/moov/models/components/pullfromcardtransferpaymentmethod.rbi +0 -17
  177. data/lib/moov/models/components/pullfromcardtransferpaymentmethod_paymentmethodtype.rb +0 -18
  178. data/lib/moov/models/components/pullfromcardtransferpaymentmethod_paymentmethodtype.rbi +0 -11
  179. data/lib/moov/models/components/pushtocardtransferpaymentmethod.rb +0 -40
  180. data/lib/moov/models/components/pushtocardtransferpaymentmethod.rbi +0 -17
  181. data/lib/moov/models/components/pushtocardtransferpaymentmethod_paymentmethodtype.rb +0 -18
  182. data/lib/moov/models/components/pushtocardtransferpaymentmethod_paymentmethodtype.rbi +0 -11
  183. data/lib/moov/models/components/rtpcredittransferpaymentmethod.rb +0 -40
  184. data/lib/moov/models/components/rtpcredittransferpaymentmethod.rbi +0 -17
  185. data/lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rb +0 -18
  186. data/lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rbi +0 -11
  187. data/lib/moov/models/components/transferentrymode.rb +0 -18
  188. data/lib/moov/models/components/transferentrymode.rbi +0 -11
  189. data/lib/moov/models/components/transferpaymentmethod.rb +0 -27
  190. data/lib/moov/models/components/transferpaymentmethod.rbi +0 -11
  191. data/lib/moov/models/components/transferpaymentmethodsbankaccount.rb +0 -70
  192. data/lib/moov/models/components/transferpaymentmethodsbankaccount.rbi +0 -31
  193. data/lib/moov/models/components/transferpaymentmethodscard.rb +0 -98
  194. data/lib/moov/models/components/transferpaymentmethodscard.rbi +0 -45
  195. data/lib/moov/models/components/transferpaymentmethodswallet.rb +0 -42
  196. data/lib/moov/models/components/transferpaymentmethodswallet.rbi +0 -17
  197. data/lib/moov/models/components/transferpaymentmethodtype.rb +0 -29
  198. data/lib/moov/models/components/transferpaymentmethodtype.rbi +0 -11
  199. data/lib/moov/models/components/transferterminalcard.rb +0 -78
  200. data/lib/moov/models/components/transferterminalcard.rbi +0 -35
@@ -20,13 +20,9 @@ module Moov
20
20
  field :quantity, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity'), required: true } }
21
21
  # Optional list of modifiers applied to this item (e.g., toppings, upgrades, customizations).
22
22
  field :options, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CreatePaymentLinkLineItemOption)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('options') } }
23
- # Optional list of images associated with this line item.
24
- # This field is deprecated and will be ignored. A future release will populate images associated with the given productID.
25
- #
26
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
23
+ # Optional list of images associated with this line item.
27
24
  field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
28
- # Optional unique identifier associating the line item with a product.
29
- # This is for reporting or tracking purposes, and does not populate other details of the line item.
25
+ # Optional unique identifier associating the line item with a product.
30
26
  field :product_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('productID') } }
31
27
 
32
28
  sig { params(name: ::String, base_price: Models::Components::AmountDecimal, quantity: ::Integer, options: T.nilable(T::Array[Models::Components::CreatePaymentLinkLineItemOption]), image_i_ds: T.nilable(T::Array[::String]), product_id: T.nilable(::String)).void }
@@ -18,10 +18,7 @@ module Moov
18
18
  field :quantity, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity'), required: true } }
19
19
  # Optional price modification applied by this option. Can be positive, negative, or zero.
20
20
  field :price_modifier, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('priceModifier') } }
21
- # Optional list of images associated with this line item option.
22
- # This field is deprecated and will be ignored. A future release will populate images associated with the given productID.
23
- #
24
- # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
21
+ # Optional list of images associated with this line item option.
25
22
  field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
26
23
  # Optional group identifier to categorize related options (e.g., 'toppings').
27
24
  field :group, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('group') } }
@@ -20,8 +20,7 @@ module Moov
20
20
  field :quantity, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity'), required: true } }
21
21
  # Optional list of modifiers applied to this item (e.g., toppings, upgrades, customizations).
22
22
  field :options, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CreateScheduledTransferLineItemOption)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('options') } }
23
- # Optional unique identifier associating the line item with a product.
24
- # This is for reporting or tracking purposes, and does not populate other details of the line item.
23
+ # Optional unique identifier associating the line item with a product.
25
24
  field :product_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('productID') } }
26
25
  # Optional list of images associated with this line item.
27
26
  field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
@@ -22,8 +22,7 @@ module Moov
22
22
  field :options, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CreateTransferLineItemOption)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('options') } }
23
23
  # Optional list of images associated with this line item.
24
24
  field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
25
- # Optional unique identifier associating the line item with a product.
26
- # This is for reporting or tracking purposes, and does not populate other details of the line item.
25
+ # Optional unique identifier associating the line item with a product.
27
26
  field :product_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('productID') } }
28
27
 
29
28
  sig { params(name: ::String, base_price: Models::Components::AmountDecimal, quantity: ::Integer, options: T.nilable(T::Array[Models::Components::CreateTransferLineItemOption]), image_i_ds: T.nilable(T::Array[::String]), product_id: T.nilable(::String)).void }
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # DebitHoldPeriod - An optional override of your default ACH hold period in banking days. The hold period must be longer than or equal to your default setting.
11
11
  class DebitHoldPeriod < T::Enum
12
+
13
+
12
14
  enums do
13
15
  NO_HOLD = new('no-hold')
14
16
  ONE_MINUS_DAY = new('1-day')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # DisbursementPaymentMethodType - Payment methods allowed for disbursing funds.
11
11
  class DisbursementPaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PUSH_TO_CARD = new('push-to-card')
14
16
  RTP_CREDIT = new('rtp-credit')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # DisputePhase - The phase of a dispute within the dispute lifecycle.
11
11
  class DisputePhase < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PRE_DISPUTE = new('pre-dispute')
14
16
  INQUIRY = new('inquiry')
@@ -11,6 +11,8 @@ module Moov
11
11
  #
12
12
  # Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/#dispute-statuses) to learn what each status means.
13
13
  class DisputeStatus < T::Enum
14
+
15
+
14
16
  enums do
15
17
  RESPONSE_NEEDED = new('response-needed')
16
18
  RESOLVED = new('resolved')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # DocumentType - Types of documents that can be uploaded.
11
11
  class DocumentType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  DRIVERS_LICENSE = new('driversLicense')
14
16
  PASSPORT = new('passport')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # DomesticPullFromCard - Indicates if the card supports domestic pull-from-card transfer.
11
11
  class DomesticPullFromCard < T::Enum
12
+
13
+
12
14
  enums do
13
15
  NOT_SUPPORTED = new('not-supported')
14
16
  SUPPORTED = new('supported')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # DomesticPushToCard - Indicates which level of domestic push-to-card transfer is supported by the card, if any.
11
11
  class DomesticPushToCard < T::Enum
12
+
13
+
12
14
  enums do
13
15
  NOT_SUPPORTED = new('not-supported')
14
16
  STANDARD = new('standard')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # EntryMode - How the card information was entered into the point of sale terminal.
11
11
  class EntryMode < T::Enum
12
+
13
+
12
14
  enums do
13
15
  CONTACTLESS = new('contactless')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class EvidenceType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  RECEIPT = new('receipt')
14
16
  PROOF_OF_DELIVERY = new('proof-of-delivery')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class FeeCategory < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ACH = new('ach')
14
16
  CARD_ACQUIRING = new('card-acquiring')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # FeeModel - Specifies the pricing model used for the calculation of the final fee.
11
11
  class FeeModel < T::Enum
12
+
13
+
12
14
  enums do
13
15
  FIXED = new('fixed')
14
16
  BLENDED = new('blended')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class FeePlanAgreementStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ACTIVE = new('active')
14
16
  TERMINATED = new('terminated')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # FilePurpose - The file's purpose.
11
11
  class FilePurpose < T::Enum
12
+
13
+
12
14
  enums do
13
15
  BUSINESS_VERIFICATION = new('business_verification')
14
16
  REPRESENTATIVE_VERIFICATION = new('representative_verification')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # FileStatus - The file's status.
11
11
  class FileStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PENDING = new('pending')
14
16
  APPROVED = new('approved')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class FulfillmentMethod < T::Enum
12
+
13
+
12
14
  enums do
13
15
  BILL_OR_DEBT_PAYMENT = new('bill-or-debt-payment')
14
16
  DIGITAL_CONTENT = new('digital-content')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class FulfillmentTimeframe < T::Enum
12
+
13
+
12
14
  enums do
13
15
  IMMEDIATE = new('immediate')
14
16
  OTHER = new('other')
@@ -23,16 +23,13 @@ module Moov
23
23
 
24
24
  field :bank_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('bankAccountID') } }
25
25
 
26
- field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
27
-
28
- sig { params(transfer_id: T.nilable(::String), card_id: T.nilable(::String), dispute_id: T.nilable(::String), account_id: T.nilable(::String), bank_account_id: T.nilable(::String), invoice_id: T.nilable(::String)).void }
29
- def initialize(transfer_id: nil, card_id: nil, dispute_id: nil, account_id: nil, bank_account_id: nil, invoice_id: nil)
26
+ sig { params(transfer_id: T.nilable(::String), card_id: T.nilable(::String), dispute_id: T.nilable(::String), account_id: T.nilable(::String), bank_account_id: T.nilable(::String)).void }
27
+ def initialize(transfer_id: nil, card_id: nil, dispute_id: nil, account_id: nil, bank_account_id: nil)
30
28
  @transfer_id = transfer_id
31
29
  @card_id = card_id
32
30
  @dispute_id = dispute_id
33
31
  @account_id = account_id
34
32
  @bank_account_id = bank_account_id
35
- @invoice_id = invoice_id
36
33
  end
37
34
 
38
35
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -43,7 +40,6 @@ module Moov
43
40
  return false unless @dispute_id == other.dispute_id
44
41
  return false unless @account_id == other.account_id
45
42
  return false unless @bank_account_id == other.bank_account_id
46
- return false unless @invoice_id == other.invoice_id
47
43
  true
48
44
  end
49
45
  end
@@ -18,6 +18,4 @@ class Moov::Models::Components::GeneratedBy
18
18
  def account_id=(str_); end
19
19
  def bank_account_id(); end
20
20
  def bank_account_id=(str_); end
21
- def invoice_id(); end
22
- def invoice_id=(str_); end
23
21
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class GeographicReach < T::Enum
12
+
13
+
12
14
  enums do
13
15
  INTERNATIONAL_ONLY = new('international-only')
14
16
  US_AND_INTERNATIONAL = new('us-and-international')
@@ -12,6 +12,8 @@ module Moov
12
12
  # - `client_credentials`: A grant type used by clients to obtain an access token
13
13
  # - `refresh_token`: A grant type used by clients to obtain a new access token using a refresh token
14
14
  class GrantType < T::Enum
15
+
16
+
15
17
  enums do
16
18
  CLIENT_CREDENTIALS = new('client_credentials')
17
19
  REFRESH_TOKEN = new('refresh_token')
@@ -12,7 +12,7 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
- # Unique identifier for a image resource.
15
+
16
16
  field :image_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageID'), required: true } }
17
17
  # The ID used to get an image with the public endpoint.
18
18
  field :public_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('publicID'), required: true } }
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class InstantBankCreditPaymentMethodPaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  INSTANT_BANK_CREDIT = new('instant-bank-credit')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class InvoiceStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  DRAFT = new('draft')
14
16
  UNPAID = new('unpaid')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # IssuedCardAuthorizationEventResult - The result of an event.
11
11
  class IssuedCardAuthorizationEventResult < T::Enum
12
+
13
+
12
14
  enums do
13
15
  APPROVED = new('approved')
14
16
  DECLINED = new('declined')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # IssuedCardEventType - The type of event that occurred on the card.
11
11
  class IssuedCardEventType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  AUTHORIZATION = new('authorization')
14
16
  REVERSAL = new('reversal')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # IssuedCardFormFactor - Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
11
11
  class IssuedCardFormFactor < T::Enum
12
+
13
+
12
14
  enums do
13
15
  VIRTUAL = new('virtual')
14
16
  end
@@ -14,6 +14,8 @@ module Moov
14
14
  # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
15
15
  # - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
16
16
  class IssuedCardState < T::Enum
17
+
18
+
17
19
  enums do
18
20
  ACTIVE = new('active')
19
21
  INACTIVE = new('inactive')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # IssuingAuthorizationStatus - Status of a card issuing authorization.
11
11
  class IssuingAuthorizationStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PENDING = new('pending')
14
16
  DECLINED = new('declined')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # IssuingIntervalLimit - Specifies the time frame for the velocity limit. Currently supports only per-transaction limits.
11
11
  class IssuingIntervalLimit < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PER_TRANSACTION = new('per-transaction')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # Kind - The type of receipt being requested.
11
11
  class Kind < T::Enum
12
+
13
+
12
14
  enums do
13
15
  SALE_CUSTOMER_V1 = new('sale.customer.v1')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class LinkCardWaitFor < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PAYMENT_METHOD = new('payment-method')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class MicroDepositStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  VERIFIED = new('verified')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # Mode - The operating mode for an account.
11
11
  class Mode < T::Enum
12
+
13
+
12
14
  enums do
13
15
  SANDBOX = new('sandbox')
14
16
  PRODUCTION = new('production')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # MonthlyVolumeRange - The low value in each range is included. The high value in each range is excluded.
11
11
  class MonthlyVolumeRange < T::Enum
12
+
13
+
12
14
  enums do
13
15
  UNDER_10K = new('under-10k')
14
16
  TENK_50K = new('10k-50k')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class MoovWalletPaymentMethodPaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  MOOV_WALLET = new('moov-wallet')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # OccurrenceStatus - Status of the completed occurrence.
11
11
  class OccurrenceStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PENDING = new('pending')
14
16
  FAILED = new('failed')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PaymentLinkStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ACTIVE = new('active')
14
16
  USED = new('used')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PaymentLinkType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PAYMENT = new('payment')
14
16
  PAYOUT = new('payout')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # PaymentMethodType - The payment method type that represents a payment rail and directionality
11
11
  class PaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  MOOV_WALLET = new('moov-wallet')
14
16
  ACH_DEBIT_FUND = new('ach-debit-fund')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PendingLitigation < T::Enum
12
+
13
+
12
14
  enums do
13
15
  BANKRUPTCY_OR_INSOLVENCY = new('bankruptcy-or-insolvency')
14
16
  CONSUMER_PROTECTION_OR_CLASS_ACTION = new('consumer-protection-or-class-action')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # PrimaryRegulator - If the business is a financial institution, this field describes its primary regulator.
11
11
  class PrimaryRegulator < T::Enum
12
+
13
+
12
14
  enums do
13
15
  OCC = new('OCC')
14
16
  FDIC = new('FDIC')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PullFromCardPaymentMethodPaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PULL_FROM_CARD = new('pull-from-card')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PushToCardPaymentMethodPaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PUSH_TO_CARD = new('push-to-card')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # ReceiptKind - The type of receipt being requested.
11
11
  class ReceiptKind < T::Enum
12
+
13
+
12
14
  enums do
13
15
  SALE_CUSTOMER_V1 = new('sale.customer.v1')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RefundCardStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  INITIATED = new('initiated')
14
16
  CONFIRMED = new('confirmed')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RefundPolicy < T::Enum
12
+
13
+
12
14
  enums do
13
15
  CONDITIONAL_REFUND = new('conditional-refund')
14
16
  CUSTOM_POLICY = new('custom-policy')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RefundStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  CREATED = new('created')
14
16
  PENDING = new('pending')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RequirementErrorCode < T::Enum
12
+
13
+
12
14
  enums do
13
15
  INVALID_VALUE = new('invalid-value')
14
16
  FAILED_AUTOMATIC_VERIFICATION = new('failed-automatic-verification')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # RequirementID - The unique ID of what the requirement is asking to be filled out.
11
11
  class RequirementID < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ACCOUNT_TOS_ACCEPTANCE = new('account.tos-acceptance')
14
16
  INDIVIDUAL_MOBILE = new('individual.mobile')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class ReturnPolicyType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  NONE = new('none')
14
16
  EXCHANGE_ONLY = new('exchangeOnly')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RtpCreditPaymentMethodPaymentMethodType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  RTP_CREDIT = new('rtp-credit')
14
16
  end
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # RTPFailureCode - Status codes for RTP failures.
11
11
  class RTPFailureCode < T::Enum
12
+
13
+
12
14
  enums do
13
15
  PROCESSING_ERROR = new('processing-error')
14
16
  INVALID_ACCOUNT = new('invalid-account')
@@ -17,6 +17,8 @@ module Moov
17
17
  # - AG03: Transaction Type Not Supported
18
18
  # - MD07: Customer Deceased
19
19
  class RTPRejectionCode < T::Enum
20
+
21
+
20
22
  enums do
21
23
  AC03 = new('AC03')
22
24
  AC04 = new('AC04')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # RTPTransactionStatus - Status of a transaction within the RTP lifecycle.
11
11
  class RTPTransactionStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  INITIATED = new('initiated')
14
16
  COMPLETED = new('completed')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # SECCode - Code used to identify the ACH authorization method.
11
11
  class SECCode < T::Enum
12
+
13
+
12
14
  enums do
13
15
  WEB = new('WEB')
14
16
  PPD = new('PPD')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class Status < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ENABLED = new('enabled')
14
16
  DISABLED = new('disabled')