moov_ruby 24.1.2 → 25.1.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 (127) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/metadata_fields.rb +3 -3
  3. data/lib/crystalline/module.rb +0 -2
  4. data/lib/crystalline/types.rb +0 -27
  5. data/lib/moov/fee_plans.rb +124 -0
  6. data/lib/moov/models/components/accounttype.rb +2 -0
  7. data/lib/moov/models/components/accountverificationstatus.rb +2 -0
  8. data/lib/moov/models/components/achcreditsamedaypaymentmethod_paymentmethodtype.rb +2 -0
  9. data/lib/moov/models/components/achcreditstandardpaymentmethod_paymentmethodtype.rb +2 -0
  10. data/lib/moov/models/components/achdebitcollectpaymentmethod_paymentmethodtype.rb +2 -0
  11. data/lib/moov/models/components/achdebitfundpaymentmethod_paymentmethodtype.rb +2 -0
  12. data/lib/moov/models/components/achreturncode.rb +2 -0
  13. data/lib/moov/models/components/achtransactionstatus.rb +2 -0
  14. data/lib/moov/models/components/applepaypaymentmethod_paymentmethodtype.rb +2 -0
  15. data/lib/moov/models/components/applicationscope.rb +2 -0
  16. data/lib/moov/models/components/bankaccountholdertype.rb +2 -0
  17. data/lib/moov/models/components/bankaccountstatus.rb +2 -0
  18. data/lib/moov/models/components/bankaccountstatusreason.rb +2 -0
  19. data/lib/moov/models/components/bankaccounttype.rb +2 -0
  20. data/lib/moov/models/components/bankaccountverificationmethod.rb +2 -0
  21. data/lib/moov/models/components/bankaccountverificationstatus.rb +2 -0
  22. data/lib/moov/models/components/bankaccountwaitfor.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/cardtransactionfailurecode.rb +2 -0
  33. data/lib/moov/models/components/cardtransactionstatus.rb +2 -0
  34. data/lib/moov/models/components/cardtype.rb +2 -0
  35. data/lib/moov/models/components/cardupdatereason.rb +2 -0
  36. data/lib/moov/models/components/cardverificationresult.rb +2 -0
  37. data/lib/moov/models/components/collectionpaymentmethodtype.rb +2 -0
  38. data/lib/moov/models/components/createpaymentlinklineitem.rb +2 -6
  39. data/lib/moov/models/components/createpaymentlinklineitemoption.rb +1 -4
  40. data/lib/moov/models/components/createscheduledtransferlineitem.rb +1 -2
  41. data/lib/moov/models/components/createtransferlineitem.rb +1 -2
  42. data/lib/moov/models/components/debitholdperiod.rb +2 -0
  43. data/lib/moov/models/components/disbursementpaymentmethodtype.rb +2 -0
  44. data/lib/moov/models/components/disputephase.rb +2 -0
  45. data/lib/moov/models/components/disputestatus.rb +2 -0
  46. data/lib/moov/models/components/documenttype.rb +2 -0
  47. data/lib/moov/models/components/domesticpullfromcard.rb +2 -0
  48. data/lib/moov/models/components/domesticpushtocard.rb +2 -0
  49. data/lib/moov/models/components/evidencetype.rb +2 -0
  50. data/lib/moov/models/components/feecategory.rb +2 -0
  51. data/lib/moov/models/components/feemodel.rb +2 -0
  52. data/lib/moov/models/components/feeplanagreementstatus.rb +2 -0
  53. data/lib/moov/models/components/filepurpose.rb +2 -0
  54. data/lib/moov/models/components/filestatus.rb +2 -0
  55. data/lib/moov/models/components/granttype.rb +2 -0
  56. data/lib/moov/models/components/invoicestatus.rb +2 -0
  57. data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +2 -0
  58. data/lib/moov/models/components/issuedcardeventtype.rb +2 -0
  59. data/lib/moov/models/components/issuedcardformfactor.rb +2 -0
  60. data/lib/moov/models/components/issuedcardstate.rb +2 -0
  61. data/lib/moov/models/components/issuingauthorizationstatus.rb +2 -0
  62. data/lib/moov/models/components/issuingintervallimit.rb +2 -0
  63. data/lib/moov/models/components/kind.rb +2 -0
  64. data/lib/moov/models/components/linkcardwaitfor.rb +2 -0
  65. data/lib/moov/models/components/microdepositstatus.rb +2 -0
  66. data/lib/moov/models/components/mode.rb +2 -0
  67. data/lib/moov/models/components/moovwalletpaymentmethod_paymentmethodtype.rb +2 -0
  68. data/lib/moov/models/components/occurrencestatus.rb +2 -0
  69. data/lib/moov/models/components/partnerpricing.rb +66 -0
  70. data/lib/moov/models/components/partnerpricing.rbi +29 -0
  71. data/lib/moov/models/components/paymentlinkstatus.rb +2 -0
  72. data/lib/moov/models/components/paymentlinktype.rb +2 -0
  73. data/lib/moov/models/components/paymentmethodtype.rb +2 -0
  74. data/lib/moov/models/components/primaryregulator.rb +2 -0
  75. data/lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rb +2 -0
  76. data/lib/moov/models/components/pushtocardpaymentmethod_paymentmethodtype.rb +2 -0
  77. data/lib/moov/models/components/receiptkind.rb +2 -0
  78. data/lib/moov/models/components/refundcardstatus.rb +2 -0
  79. data/lib/moov/models/components/refundstatus.rb +2 -0
  80. data/lib/moov/models/components/requirementerrorcode.rb +2 -0
  81. data/lib/moov/models/components/requirementid.rb +2 -0
  82. data/lib/moov/models/components/returnpolicytype.rb +2 -0
  83. data/lib/moov/models/components/rtpcreditpaymentmethod_paymentmethodtype.rb +2 -0
  84. data/lib/moov/models/components/rtpfailurecode.rb +2 -0
  85. data/lib/moov/models/components/rtprejectioncode.rb +2 -0
  86. data/lib/moov/models/components/rtptransactionstatus.rb +2 -0
  87. data/lib/moov/models/components/seccode.rb +2 -0
  88. data/lib/moov/models/components/status.rb +2 -0
  89. data/lib/moov/models/components/sweepconfigstatus.rb +2 -0
  90. data/lib/moov/models/components/sweepstatus.rb +2 -0
  91. data/lib/moov/models/components/terminalapplicationplatform.rb +2 -0
  92. data/lib/moov/models/components/terminalapplicationstatus.rb +2 -0
  93. data/lib/moov/models/components/ticketstatus.rb +2 -0
  94. data/lib/moov/models/components/token_type_hint.rb +2 -0
  95. data/lib/moov/models/components/tokentype.rb +2 -0
  96. data/lib/moov/models/components/transactionsource.rb +2 -0
  97. data/lib/moov/models/components/transferfailurereason.rb +2 -0
  98. data/lib/moov/models/components/transferparty.rb +2 -0
  99. data/lib/moov/models/components/transferstatus.rb +2 -0
  100. data/lib/moov/models/components/transferwaitfor.rb +2 -0
  101. data/lib/moov/models/components/underwritingstatus.rb +2 -0
  102. data/lib/moov/models/components/updateissuedcardstate.rb +2 -0
  103. data/lib/moov/models/components/use.rb +2 -0
  104. data/lib/moov/models/components/verificationstatus.rb +2 -0
  105. data/lib/moov/models/components/verificationstatusdetail.rb +2 -0
  106. data/lib/moov/models/components/walletstatus.rb +2 -0
  107. data/lib/moov/models/components/wallettransactionsourcetype.rb +2 -0
  108. data/lib/moov/models/components/wallettransactionstatus.rb +2 -0
  109. data/lib/moov/models/components/wallettransactiontype.rb +2 -0
  110. data/lib/moov/models/components/wallettype.rb +2 -0
  111. data/lib/moov/models/components/webhookdatatransferstatus.rb +2 -0
  112. data/lib/moov/models/components/webhookeventtype.rb +2 -0
  113. data/lib/moov/models/components/webhookstatus.rb +2 -0
  114. data/lib/moov/models/components.rb +1 -0
  115. data/lib/moov/models/operations/createtransfer_request.rb +2 -2
  116. data/lib/moov/models/operations/getscheduledoccurrence_request.rb +4 -4
  117. data/lib/moov/models/operations/hydrate.rb +2 -0
  118. data/lib/moov/models/operations/listpartnerpricing_request.rb +49 -0
  119. data/lib/moov/models/operations/listpartnerpricing_request.rbi +17 -0
  120. data/lib/moov/models/operations/listpartnerpricing_response.rb +48 -0
  121. data/lib/moov/models/operations/listpartnerpricing_response.rbi +21 -0
  122. data/lib/moov/models/operations.rb +2 -0
  123. data/lib/moov/sdkconfiguration.rb +4 -4
  124. data/lib/moov/utils/url.rb +1 -1
  125. data/lib/moov/utils/utils.rb +0 -12
  126. metadata +10 -5
  127. data/lib/crystalline/enum.rbi +0 -17
@@ -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
 
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')
@@ -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')
@@ -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
 
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')
@@ -0,0 +1,66 @@
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
+
11
+ class PartnerPricing
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :plan_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('planID'), required: true } }
17
+ # The name of the partner pricing plan.
18
+ field :name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('name'), required: true } }
19
+ # The decimal-formatted numerical string of the revenue split for partner.
20
+ #
21
+ # For example, 2.25% is '2.25'.
22
+ field :revenue_share, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('revenueShare'), required: true } }
23
+ # Specifies the card processing pricing model
24
+ field :card_acquiring_model, Models::Components::CardAcquiringModel, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardAcquiringModel'), required: true, 'decoder': Utils.enum_from_string(Models::Components::CardAcquiringModel, false) } }
25
+
26
+ field :billable_fees, Crystalline::Array.new(Models::Components::BillableFee), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billableFees'), required: true } }
27
+ # The minimum spending amount that must be met in the billing period. If actual usage is below the minimum amount, account is charged the difference.
28
+ field :minimum_commitment, Models::Components::MinimumCommitment, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('minimumCommitment'), required: true } }
29
+ # Fixed recurring amount paid in the billing period regardless of usage.
30
+ field :monthly_platform_fee, Models::Components::MonthlyPlatformFee, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('monthlyPlatformFee'), required: true } }
31
+
32
+ field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdAt'), required: true, 'decoder': Utils.datetime_from_iso_format(false) } }
33
+ # A description of the fee plan.
34
+ field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
35
+
36
+ sig { params(plan_id: ::String, name: ::String, revenue_share: ::String, card_acquiring_model: Models::Components::CardAcquiringModel, billable_fees: T::Array[Models::Components::BillableFee], minimum_commitment: Models::Components::MinimumCommitment, monthly_platform_fee: Models::Components::MonthlyPlatformFee, created_at: ::DateTime, description: T.nilable(::String)).void }
37
+ def initialize(plan_id:, name:, revenue_share:, card_acquiring_model:, billable_fees:, minimum_commitment:, monthly_platform_fee:, created_at:, description: nil)
38
+ @plan_id = plan_id
39
+ @name = name
40
+ @revenue_share = revenue_share
41
+ @card_acquiring_model = card_acquiring_model
42
+ @billable_fees = billable_fees
43
+ @minimum_commitment = minimum_commitment
44
+ @monthly_platform_fee = monthly_platform_fee
45
+ @created_at = created_at
46
+ @description = description
47
+ end
48
+
49
+ sig { params(other: T.untyped).returns(T::Boolean) }
50
+ def ==(other)
51
+ return false unless other.is_a? self.class
52
+ return false unless @plan_id == other.plan_id
53
+ return false unless @name == other.name
54
+ return false unless @revenue_share == other.revenue_share
55
+ return false unless @card_acquiring_model == other.card_acquiring_model
56
+ return false unless @billable_fees == other.billable_fees
57
+ return false unless @minimum_commitment == other.minimum_commitment
58
+ return false unless @monthly_platform_fee == other.monthly_platform_fee
59
+ return false unless @created_at == other.created_at
60
+ return false unless @description == other.description
61
+ true
62
+ end
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,29 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::PartnerPricing
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::PartnerPricing
11
+ def plan_id(); end
12
+ def plan_id=(str_); end
13
+ def name(); end
14
+ def name=(str_); end
15
+ def revenue_share(); end
16
+ def revenue_share=(str_); end
17
+ def card_acquiring_model(); end
18
+ def card_acquiring_model=(str_); end
19
+ def billable_fees(); end
20
+ def billable_fees=(str_); end
21
+ def minimum_commitment(); end
22
+ def minimum_commitment=(str_); end
23
+ def monthly_platform_fee(); end
24
+ def monthly_platform_fee=(str_); end
25
+ def created_at(); end
26
+ def created_at=(str_); end
27
+ def description(); end
28
+ def description=(str_); end
29
+ end
@@ -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
  # 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 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')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class SweepConfigStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ENABLED = new('enabled')
14
16
  DISABLED = new('disabled')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class SweepStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ACCRUING = new('accruing')
14
16
  ACTION_REQUIRED = new('action-required')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # TerminalApplicationPlatform - Platform of the terminal application.
11
11
  class TerminalApplicationPlatform < T::Enum
12
+
13
+
12
14
  enums do
13
15
  UNDEFINED = new('undefined')
14
16
  IOS = new('ios')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # TerminalApplicationStatus - Status of the terminal application.
11
11
  class TerminalApplicationStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  UNDEFINED = new('undefined')
14
16
  PENDING = new('pending')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class TicketStatus < T::Enum
12
+
13
+
12
14
  enums do
13
15
  NEW = new('new')
14
16
  IN_PROGRESS = new('in-progress')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # TokenTypeHint - The type of token being revoked.
11
11
  class TokenTypeHint < T::Enum
12
+
13
+
12
14
  enums do
13
15
  ACCESS_TOKEN = new('access_token')
14
16
  REFRESH_TOKEN = new('refresh_token')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # TokenType - An [RFC 6750](https://www.rfc-editor.org/rfc/rfc6750#section-6.1) token type.
11
11
  class TokenType < T::Enum
12
+
13
+
12
14
  enums do
13
15
  BEARER = new('Bearer')
14
16
  end
@@ -12,6 +12,8 @@ module Moov
12
12
  # Crucial for recurring and merchant-initiated transactions as per card scheme rules.
13
13
  # Omit for customer-initiated e-commerce transactions.
14
14
  class TransactionSource < T::Enum
15
+
16
+
15
17
  enums do
16
18
  FIRST_RECURRING = new('first-recurring')
17
19
  RECURRING = new('recurring')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # TransferFailureReason - Reason for a transfer's failure.
11
11
  class TransferFailureReason < T::Enum
12
+
13
+
12
14
  enums do
13
15
  SOURCE_PAYMENT_ERROR = new('source-payment-error')
14
16
  DESTINATION_PAYMENT_ERROR = new('destination-payment-error')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class TransferParty < T::Enum
12
+
13
+
12
14
  enums do
13
15
  SOURCE = new('source')
14
16
  DESTINATION = new('destination')
@@ -9,6 +9,8 @@ module Moov
9
9
  module Components
10
10
  # TransferStatus - Status of a transfer.
11
11
  class TransferStatus < 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 TransferWaitFor < T::Enum
12
+
13
+
12
14
  enums do
13
15
  RAIL_RESPONSE = new('rail-response')
14
16
  end
@@ -11,6 +11,8 @@ module Moov
11
11
  #
12
12
  # @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
13
13
  class UnderwritingStatus < T::Enum
14
+
15
+
14
16
  enums do
15
17
  APPROVED = new('approved')
16
18
  REJECTED = new('rejected')
@@ -10,6 +10,8 @@ module Moov
10
10
  # UpdateIssuedCardState - Updates the state of a Moov issued card.
11
11
  # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
12
12
  class UpdateIssuedCardState < T::Enum
13
+
14
+
13
15
  enums do
14
16
  CLOSED = new('closed')
15
17
  end