moov_ruby 25.5.7 → 25.5.10

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 (98) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/account_terminal_applications.rb +16 -16
  3. data/lib/moov/accounts.rb +52 -54
  4. data/lib/moov/adjustments.rb +8 -8
  5. data/lib/moov/apple_pay.rb +20 -20
  6. data/lib/moov/authentication.rb +8 -8
  7. data/lib/moov/avatars.rb +4 -4
  8. data/lib/moov/bank_accounts.rb +37 -37
  9. data/lib/moov/branding.rb +12 -12
  10. data/lib/moov/capabilities.rb +20 -20
  11. data/lib/moov/card_issuing.rb +25 -25
  12. data/lib/moov/cards.rb +20 -20
  13. data/lib/moov/disputes.rb +44 -44
  14. data/lib/moov/end_to_end_encryption.rb +8 -8
  15. data/lib/moov/enriched_address.rb +4 -4
  16. data/lib/moov/enriched_profile.rb +4 -4
  17. data/lib/moov/fee_plans.rb +40 -40
  18. data/lib/moov/files.rb +12 -12
  19. data/lib/moov/images.rb +28 -28
  20. data/lib/moov/industries.rb +4 -4
  21. data/lib/moov/institutions.rb +8 -8
  22. data/lib/moov/issuing_transactions.rb +20 -20
  23. data/lib/moov/models/components/addcapabilities.rb +5 -1
  24. data/lib/moov/models/components/billingaddress.rb +52 -0
  25. data/lib/moov/models/components/billingaddress.rbi +23 -0
  26. data/lib/moov/models/components/capability.rb +7 -1
  27. data/lib/moov/models/components/capabilityid.rb +8 -1
  28. data/lib/moov/models/components/cardbrandfees.rb +6 -2
  29. data/lib/moov/models/components/cardbrandfees.rbi +2 -0
  30. data/lib/moov/models/components/createaccount.rb +5 -1
  31. data/lib/moov/models/components/createpaymentlink.rb +4 -4
  32. data/lib/moov/models/components/fullissuedcard.rb +23 -13
  33. data/lib/moov/models/components/fullissuedcard.rbi +10 -4
  34. data/lib/moov/models/components/issuedcard.rb +23 -13
  35. data/lib/moov/models/components/issuedcard.rbi +10 -4
  36. data/lib/moov/models/components/issuedcardstate.rb +1 -5
  37. data/lib/moov/models/components/manualtermsofservice.rb +1 -1
  38. data/lib/moov/models/components/manualtermsofserviceupdate.rb +1 -1
  39. data/lib/moov/models/components/onboardinginvite.rb +1 -1
  40. data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
  41. data/lib/moov/models/components/patchtransfer.rb +1 -1
  42. data/lib/moov/models/components/paymentlink.rb +3 -3
  43. data/lib/moov/models/components/requestcard.rb +17 -17
  44. data/lib/moov/models/components/requestcard.rbi +8 -8
  45. data/lib/moov/models/components/termsofservice.rb +1 -1
  46. data/lib/moov/models/components/updateissuedcard.rb +13 -9
  47. data/lib/moov/models/components/updateissuedcard.rbi +6 -4
  48. data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +44 -0
  49. data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +19 -0
  50. data/lib/moov/models/components/webhookdatacapabilityrequested.rb +7 -1
  51. data/lib/moov/models/components/webhookdatacapabilityupdated.rb +7 -1
  52. data/lib/moov/models/components/webhookdatasweepcreated.rb +6 -2
  53. data/lib/moov/models/components/webhookdatasweepcreated.rbi +2 -0
  54. data/lib/moov/models/components/webhookdatasweepupdated.rb +6 -2
  55. data/lib/moov/models/components/webhookdatasweepupdated.rbi +2 -0
  56. data/lib/moov/models/components/webhookevent.rb +2 -2
  57. data/lib/moov/models/components/webhookeventtype.rb +1 -0
  58. data/lib/moov/models/components.rb +2 -4
  59. data/lib/moov/models/errors/requestcarderror.rb +14 -14
  60. data/lib/moov/models/errors/requestcarderror.rbi +8 -8
  61. data/lib/moov/models/errors/updateissuedcarderror.rb +12 -8
  62. data/lib/moov/models/errors/updateissuedcarderror.rbi +6 -4
  63. data/lib/moov/models/operations/disablecapability_request.rb +7 -1
  64. data/lib/moov/models/operations/getcapability_request.rb +7 -1
  65. data/lib/moov/models/operations/linkbankaccount_request.rb +1 -1
  66. data/lib/moov/models/operations/listcancellations_request.rb +36 -0
  67. data/lib/moov/models/operations/listcancellations_request.rbi +15 -0
  68. data/lib/moov/models/operations/listcancellations_response.rb +48 -0
  69. data/lib/moov/models/operations/listcancellations_response.rbi +21 -0
  70. data/lib/moov/models/operations/listissuedcards_request.rb +1 -1
  71. data/lib/moov/models/operations.rb +2 -0
  72. data/lib/moov/onboarding.rb +16 -16
  73. data/lib/moov/payment_links.rb +24 -24
  74. data/lib/moov/payment_methods.rb +8 -8
  75. data/lib/moov/ping.rb +4 -4
  76. data/lib/moov/products.rb +20 -20
  77. data/lib/moov/receipts.rb +8 -8
  78. data/lib/moov/representatives.rb +20 -20
  79. data/lib/moov/scheduling.rb +24 -24
  80. data/lib/moov/sdkconfiguration.rb +3 -3
  81. data/lib/moov/statements.rb +8 -8
  82. data/lib/moov/sweeps.rb +24 -24
  83. data/lib/moov/terminal_applications.rb +20 -20
  84. data/lib/moov/transfers.rb +171 -48
  85. data/lib/moov/underwriting.rb +8 -8
  86. data/lib/moov/utils/retries.rb +4 -1
  87. data/lib/moov/wallet_transactions.rb +8 -8
  88. data/lib/moov/wallets.rb +16 -16
  89. data/lib/moov/webhooks.rb +32 -32
  90. metadata +12 -12
  91. data/lib/moov/models/components/authorizeduser.rb +0 -36
  92. data/lib/moov/models/components/authorizeduser.rbi +0 -15
  93. data/lib/moov/models/components/createauthorizeduser.rb +0 -40
  94. data/lib/moov/models/components/createauthorizeduser.rbi +0 -17
  95. data/lib/moov/models/components/createauthorizedusererror.rb +0 -40
  96. data/lib/moov/models/components/createauthorizedusererror.rbi +0 -17
  97. data/lib/moov/models/components/createauthorizeduserupdate.rb +0 -40
  98. data/lib/moov/models/components/createauthorizeduserupdate.rbi +0 -17
@@ -16,8 +16,6 @@ class Moov::Models::Components::IssuedCard
16
16
  def last_four_card_number=(str_); end
17
17
  def expiration(); end
18
18
  def expiration=(str_); end
19
- def authorized_user(); end
20
- def authorized_user=(str_); end
21
19
  def funding_wallet_id(); end
22
20
  def funding_wallet_id=(str_); end
23
21
  def state(); end
@@ -26,8 +24,16 @@ class Moov::Models::Components::IssuedCard
26
24
  def form_factor=(str_); end
27
25
  def created_on(); end
28
26
  def created_on=(str_); end
29
- def memo(); end
30
- def memo=(str_); end
27
+ def updated_on(); end
28
+ def updated_on=(str_); end
29
+ def authorized_user_account_id(); end
30
+ def authorized_user_account_id=(str_); end
31
+ def nickname(); end
32
+ def nickname=(str_); end
33
+ def metadata(); end
34
+ def metadata=(str_); end
35
+ def billing_address(); end
36
+ def billing_address=(str_); end
31
37
  def controls(); end
32
38
  def controls=(str_); end
33
39
  end
@@ -9,15 +9,11 @@ module Moov
9
9
  module Components
10
10
  # IssuedCardState - The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.
11
11
  #
12
- # - `active`: The card is operational and approves authorizations. Generally becomes active shortly after card creation.
13
- # - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
12
+ # - `active`: The card is operational and can approve authorizations.
14
13
  # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
15
- # - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
16
14
  class IssuedCardState < T::Enum
17
15
  enums do
18
16
  ACTIVE = new('active')
19
- INACTIVE = new('inactive')
20
- PENDING_VERIFICATION = new('pending-verification')
21
17
  CLOSED = new('closed')
22
18
  end
23
19
  end
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # The date and time the terms of service were accepted.
16
16
  field :accepted_date, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedDate'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
17
- # The IP address from which the terms of service were accepted.
17
+ # The IP address (IPv4 or IPv6) from which the terms of service were accepted.
18
18
  field :accepted_ip, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedIP'), required: true } }
19
19
  # The user-agent of the user making the request.
20
20
  field :accepted_user_agent, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedUserAgent'), required: true } }
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # The date and time the terms of service were accepted.
16
16
  field :accepted_date, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedDate'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
17
- # The IP address from which the terms of service were accepted.
17
+ # The IP address (IPv4 or IPv6) from which the terms of service were accepted.
18
18
  field :accepted_ip, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedIP') } }
19
19
  # The user-agent of the user making the request.
20
20
  field :accepted_user_agent, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedUserAgent') } }
@@ -19,7 +19,7 @@ module Moov
19
19
  # List of [scopes](https://docs.moov.io/api/authentication/scopes/) you request to use on this
20
20
  # account. These values are used to determine what can be done with the account onboarded.
21
21
  field :scopes, Crystalline::Array.new(Models::Components::ApplicationScope), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('scopes'), required: true } }
22
- # List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
22
+ # List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/reference/) you intend to request for this
23
23
  # account. These values are used to determine what information to collect from the user during onboarding.
24
24
  field :capabilities, Crystalline::Array.new(Models::Components::CapabilityID), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capabilities'), required: true } }
25
25
  # List of fee plan codes to assign the account created by the invitee.
@@ -15,7 +15,7 @@ module Moov
15
15
  # List of [scopes](https://docs.moov.io/api/authentication/scopes/) you request to use on this
16
16
  # account. These values are used to determine what can be done with the account onboarded.
17
17
  field :scopes, Crystalline::Array.new(Models::Components::ApplicationScope), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('scopes'), required: true } }
18
- # List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
18
+ # List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/reference/) you intend to request for this
19
19
  # account. These values are used to determine what information to collect from the user during onboarding.
20
20
  field :capabilities, Crystalline::Array.new(Models::Components::CapabilityID), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capabilities'), required: true } }
21
21
  # List of fee plan codes to assign the account created by the invitee.
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # Optional alias from a foreign/external system which can be used to reference this resource.
16
16
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
17
-
17
+ # Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
18
18
  field :metadata, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
19
19
 
20
20
  sig { params(foreign_id: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String])).void }
@@ -30,12 +30,12 @@ module Moov
30
30
  field :merchant_payment_method_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantPaymentMethodID'), required: true } }
31
31
  # Link to the payment landing page for this payment link.
32
32
  field :link, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('link'), required: true } }
33
- # The fixed amount of the payment link.
33
+ # The fixed amount of the payment link.
34
34
  #
35
35
  # In API versions before `2026.07.00`, this was a required field.
36
36
  #
37
- # In API version `2026.07.00` and beyond, this field is required for `fixed` payment amount types and omitted
38
- # for `open` payment amount types.
37
+ # In API version `2026.07.00` and beyond, this field is present for `payment` and `payout` links and omitted
38
+ # for `customAmountPayment` links, where the payor chooses the amount.
39
39
  field :amount, Models::Components::Amount, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount'), required: true } }
40
40
  # The number of times this payment link has been used.
41
41
  field :uses, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('uses'), required: true } }
@@ -13,24 +13,24 @@ module Moov
13
13
  include Crystalline::MetadataFields
14
14
 
15
15
 
16
- field :funding_wallet_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fundingWalletID'), required: true } }
17
- # Fields for identifying an authorized individual.
18
- field :authorized_user, Models::Components::CreateAuthorizedUser, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUser'), required: true } }
19
- # Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
20
- field :form_factor, Models::Components::IssuedCardFormFactor, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('formFactor'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::IssuedCardFormFactor, false) } }
21
- # An optional descriptive name for the card.
22
- field :memo, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('memo') } }
16
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUserAccountID') } }
17
+
18
+ field :nickname, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('nickname') } }
19
+ # Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
20
+ field :metadata, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
21
+
22
+ field :billing_address, Crystalline::Nilable.new(Models::Components::Address), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
23
23
  # The expiration date of the card or token.
24
24
  field :expiration, Crystalline::Nilable.new(Models::Components::CardExpiration), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiration') } }
25
25
 
26
26
  field :controls, Crystalline::Nilable.new(Models::Components::IssuingControls), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('controls') } }
27
27
 
28
- sig { params(funding_wallet_id: ::String, authorized_user: Models::Components::CreateAuthorizedUser, form_factor: Models::Components::IssuedCardFormFactor, memo: T.nilable(::String), expiration: T.nilable(Models::Components::CardExpiration), controls: T.nilable(Models::Components::IssuingControls)).void }
29
- def initialize(funding_wallet_id:, authorized_user:, form_factor:, memo: nil, expiration: nil, controls: nil)
30
- @funding_wallet_id = funding_wallet_id
31
- @authorized_user = authorized_user
32
- @form_factor = form_factor
33
- @memo = memo
28
+ sig { params(authorized_user_account_id: T.nilable(::String), nickname: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), billing_address: T.nilable(Models::Components::Address), expiration: T.nilable(Models::Components::CardExpiration), controls: T.nilable(Models::Components::IssuingControls)).void }
29
+ def initialize(authorized_user_account_id: nil, nickname: nil, metadata: nil, billing_address: nil, expiration: nil, controls: nil)
30
+ @authorized_user_account_id = authorized_user_account_id
31
+ @nickname = nickname
32
+ @metadata = metadata
33
+ @billing_address = billing_address
34
34
  @expiration = expiration
35
35
  @controls = controls
36
36
  end
@@ -38,10 +38,10 @@ module Moov
38
38
  sig { params(other: T.untyped).returns(T::Boolean) }
39
39
  def ==(other)
40
40
  return false unless other.is_a? self.class
41
- return false unless @funding_wallet_id == other.funding_wallet_id
42
- return false unless @authorized_user == other.authorized_user
43
- return false unless @form_factor == other.form_factor
44
- return false unless @memo == other.memo
41
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
42
+ return false unless @nickname == other.nickname
43
+ return false unless @metadata == other.metadata
44
+ return false unless @billing_address == other.billing_address
45
45
  return false unless @expiration == other.expiration
46
46
  return false unless @controls == other.controls
47
47
  true
@@ -8,14 +8,14 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Components::RequestCard
11
- def funding_wallet_id(); end
12
- def funding_wallet_id=(str_); end
13
- def authorized_user(); end
14
- def authorized_user=(str_); end
15
- def form_factor(); end
16
- def form_factor=(str_); end
17
- def memo(); end
18
- def memo=(str_); end
11
+ def authorized_user_account_id(); end
12
+ def authorized_user_account_id=(str_); end
13
+ def nickname(); end
14
+ def nickname=(str_); end
15
+ def metadata(); end
16
+ def metadata=(str_); end
17
+ def billing_address(); end
18
+ def billing_address=(str_); end
19
19
  def expiration(); end
20
20
  def expiration=(str_); end
21
21
  def controls(); end
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
  # The date and time the terms of service were accepted.
16
16
  field :accepted_date, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedDate'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
17
- # The IP address from which the terms of service were accepted.
17
+ # The IP address (IPv4 or IPv6) from which the terms of service were accepted.
18
18
  field :accepted_ip, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('acceptedIP'), required: true } }
19
19
 
20
20
  sig { params(accepted_date: ::DateTime, accepted_ip: ::String).void }
@@ -16,23 +16,27 @@ module Moov
16
16
  # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
17
17
  field :state, Crystalline::Nilable.new(Models::Components::UpdateIssuedCardState), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('state'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::UpdateIssuedCardState, true) } }
18
18
 
19
- field :memo, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('memo') } }
20
- # Fields for identifying an authorized individual.
21
- field :authorized_user, Crystalline::Nilable.new(Models::Components::CreateAuthorizedUserUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUser') } }
19
+ field :nickname, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('nickname') } }
22
20
 
23
- sig { params(state: T.nilable(Models::Components::UpdateIssuedCardState), memo: T.nilable(::String), authorized_user: T.nilable(Models::Components::CreateAuthorizedUserUpdate)).void }
24
- def initialize(state: nil, memo: nil, authorized_user: nil)
21
+ field :metadata, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
22
+
23
+ field :billing_address, Crystalline::Nilable.new(Models::Components::BillingAddress), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
24
+
25
+ sig { params(state: T.nilable(Models::Components::UpdateIssuedCardState), nickname: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), billing_address: T.nilable(Models::Components::BillingAddress)).void }
26
+ def initialize(state: nil, nickname: nil, metadata: nil, billing_address: nil)
25
27
  @state = state
26
- @memo = memo
27
- @authorized_user = authorized_user
28
+ @nickname = nickname
29
+ @metadata = metadata
30
+ @billing_address = billing_address
28
31
  end
29
32
 
30
33
  sig { params(other: T.untyped).returns(T::Boolean) }
31
34
  def ==(other)
32
35
  return false unless other.is_a? self.class
33
36
  return false unless @state == other.state
34
- return false unless @memo == other.memo
35
- return false unless @authorized_user == other.authorized_user
37
+ return false unless @nickname == other.nickname
38
+ return false unless @metadata == other.metadata
39
+ return false unless @billing_address == other.billing_address
36
40
  true
37
41
  end
38
42
  end
@@ -10,8 +10,10 @@ end
10
10
  class Moov::Models::Components::UpdateIssuedCard
11
11
  def state(); end
12
12
  def state=(str_); end
13
- def memo(); end
14
- def memo=(str_); end
15
- def authorized_user(); end
16
- def authorized_user=(str_); end
13
+ def nickname(); end
14
+ def nickname=(str_); end
15
+ def metadata(); end
16
+ def metadata=(str_); end
17
+ def billing_address(); end
18
+ def billing_address=(str_); end
17
19
  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
+
11
+ class WebhookDataAuthorizationExpiring
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :merchant_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantAccountID'), required: true } }
17
+
18
+ field :partner_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('partnerAccountID'), required: true } }
19
+
20
+ field :authorization_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizationID'), required: true } }
21
+
22
+ field :expires_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
23
+
24
+ sig { params(merchant_account_id: ::String, partner_account_id: ::String, authorization_id: ::String, expires_on: ::DateTime).void }
25
+ def initialize(merchant_account_id:, partner_account_id:, authorization_id:, expires_on:)
26
+ @merchant_account_id = merchant_account_id
27
+ @partner_account_id = partner_account_id
28
+ @authorization_id = authorization_id
29
+ @expires_on = expires_on
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 @merchant_account_id == other.merchant_account_id
36
+ return false unless @partner_account_id == other.partner_account_id
37
+ return false unless @authorization_id == other.authorization_id
38
+ return false unless @expires_on == other.expires_on
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::WebhookDataAuthorizationExpiring
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::WebhookDataAuthorizationExpiring
11
+ def merchant_account_id(); end
12
+ def merchant_account_id=(str_); end
13
+ def partner_account_id(); end
14
+ def partner_account_id=(str_); end
15
+ def authorization_id(); end
16
+ def authorization_id=(str_); end
17
+ def expires_on(); end
18
+ def expires_on=(str_); end
19
+ end
@@ -16,7 +16,13 @@ module Moov
16
16
  field :account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID'), required: true } }
17
17
  # Moov account capabilities.
18
18
  #
19
- # The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in your list. These are read-only capabilities that Moov requests and uses for account verification purposes. These capabilities remains active with your account and require no additional action.
19
+ # **Deprecated capabilities**
20
+ #
21
+ # The `send-funds`, `collect-funds`, and `wallet` capability IDs are deprecated. Request granular capabilities instead (for example, `send-funds.ach`, `collect-funds.card-payments`, or `wallet.balance`). Deprecated values will be removed in a future API version.
22
+ #
23
+ # Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
24
+ #
25
+ # The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
20
26
  field :capability_id, Models::Components::CapabilityID, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capabilityID'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::CapabilityID, false) } }
21
27
 
22
28
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
@@ -16,7 +16,13 @@ module Moov
16
16
  field :account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID'), required: true } }
17
17
  # Moov account capabilities.
18
18
  #
19
- # The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in your list. These are read-only capabilities that Moov requests and uses for account verification purposes. These capabilities remains active with your account and require no additional action.
19
+ # **Deprecated capabilities**
20
+ #
21
+ # The `send-funds`, `collect-funds`, and `wallet` capability IDs are deprecated. Request granular capabilities instead (for example, `send-funds.ach`, `collect-funds.card-payments`, or `wallet.balance`). Deprecated values will be removed in a future API version.
22
+ #
23
+ # Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
24
+ #
25
+ # The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
20
26
  field :capability_id, Models::Components::CapabilityID, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capabilityID'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::CapabilityID, false) } }
21
27
  # The status of the capability requested for an account.
22
28
  field :status, Models::Components::CapabilityStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::CapabilityStatus, false) } }
@@ -12,13 +12,16 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
+ # The accountID associated with the wallet being swept.
16
+ field :account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID'), required: true } }
15
17
 
16
18
  field :wallet_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletID'), required: true } }
17
19
 
18
20
  field :sweep_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('sweepID'), required: true } }
19
21
 
20
- sig { params(wallet_id: ::String, sweep_id: ::String).void }
21
- def initialize(wallet_id:, sweep_id:)
22
+ sig { params(account_id: ::String, wallet_id: ::String, sweep_id: ::String).void }
23
+ def initialize(account_id:, wallet_id:, sweep_id:)
24
+ @account_id = account_id
22
25
  @wallet_id = wallet_id
23
26
  @sweep_id = sweep_id
24
27
  end
@@ -26,6 +29,7 @@ module Moov
26
29
  sig { params(other: T.untyped).returns(T::Boolean) }
27
30
  def ==(other)
28
31
  return false unless other.is_a? self.class
32
+ return false unless @account_id == other.account_id
29
33
  return false unless @wallet_id == other.wallet_id
30
34
  return false unless @sweep_id == other.sweep_id
31
35
  true
@@ -8,6 +8,8 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Components::WebhookDataSweepCreated
11
+ def account_id(); end
12
+ def account_id=(str_); end
11
13
  def wallet_id(); end
12
14
  def wallet_id=(str_); end
13
15
  def sweep_id(); end
@@ -12,6 +12,8 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
+ # The accountID associated with the wallet being swept.
16
+ field :account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID'), required: true } }
15
17
 
16
18
  field :wallet_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletID'), required: true } }
17
19
 
@@ -21,8 +23,9 @@ module Moov
21
23
 
22
24
  field :transfer_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('transferID') } }
23
25
 
24
- sig { params(wallet_id: ::String, sweep_id: ::String, status: Models::Components::SweepStatus, transfer_id: T.nilable(::String)).void }
25
- def initialize(wallet_id:, sweep_id:, status:, transfer_id: nil)
26
+ sig { params(account_id: ::String, wallet_id: ::String, sweep_id: ::String, status: Models::Components::SweepStatus, transfer_id: T.nilable(::String)).void }
27
+ def initialize(account_id:, wallet_id:, sweep_id:, status:, transfer_id: nil)
28
+ @account_id = account_id
26
29
  @wallet_id = wallet_id
27
30
  @sweep_id = sweep_id
28
31
  @status = status
@@ -32,6 +35,7 @@ module Moov
32
35
  sig { params(other: T.untyped).returns(T::Boolean) }
33
36
  def ==(other)
34
37
  return false unless other.is_a? self.class
38
+ return false unless @account_id == other.account_id
35
39
  return false unless @wallet_id == other.wallet_id
36
40
  return false unless @sweep_id == other.sweep_id
37
41
  return false unless @status == other.status
@@ -8,6 +8,8 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Components::WebhookDataSweepUpdated
11
+ def account_id(); end
12
+ def account_id=(str_); end
11
13
  def wallet_id(); end
12
14
  def wallet_id=(str_); end
13
15
  def sweep_id(); end
@@ -17,11 +17,11 @@ module Moov
17
17
  # The type of event that occurred.
18
18
  field :type, Models::Components::WebhookEventType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('type'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::WebhookEventType, false) } }
19
19
  # The data for the webhook event. The contents are based on the event type.
20
- field :data, Crystalline::Union.new(Models::Components::WebhookDataAccountCreated, Models::Components::WebhookDataAccountUpdated, Models::Components::WebhookDataAccountDisconnected, Models::Components::WebhookDataBalanceUpdated, Models::Components::WebhookDataBankAccountCreated, Models::Components::WebhookDataBankAccountUpdated, Models::Components::WebhookDataBankAccountDeleted, Models::Components::WebhookDataCancellationCreated, Models::Components::WebhookDataCancellationUpdated, Models::Components::WebhookDataCardAutoUpdated, Models::Components::WebhookDataCapabilityRequested, Models::Components::WebhookDataCapabilityUpdated, Models::Components::WebhookDataDisputeCreated, Models::Components::WebhookDataDisputeUpdated, Models::Components::WebhookDataInvoiceCreated, Models::Components::WebhookDataInvoiceUpdated, Models::Components::WebhookDataNetworkIDUpdated, Models::Components::WebhookDataPaymentMethodEnabled, Models::Components::WebhookDataPaymentMethodDisabled, Models::Components::WebhookDataRefundCreated, Models::Components::WebhookDataRefundUpdated, Models::Components::WebhookDataRepresentativeCreated, Models::Components::WebhookDataRepresentativeUpdated, Models::Components::WebhookDataRepresentativeDisabled, Models::Components::WebhookDataSweepCreated, Models::Components::WebhookDataSweepUpdated, Models::Components::WebhookDataTerminalApplicationCreated, Models::Components::WebhookDataTerminalApplicationUpdated, Models::Components::WebhookDataTicketCreated, Models::Components::WebhookDataTicketUpdated, Models::Components::WebhookDataTicketMessageAdded, Models::Components::WebhookDataTransferCreated, Models::Components::WebhookDataTransferUpdated, Models::Components::WebhookDataWalletCreated, Models::Components::WebhookDataWalletUpdated, Models::Components::WebhookDataWalletTransactionUpdated, Models::Components::WebhookBillingStatementCreated), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('data'), required: true } }
20
+ field :data, Crystalline::Union.new(Models::Components::WebhookDataAccountCreated, Models::Components::WebhookDataAccountUpdated, Models::Components::WebhookDataAccountDisconnected, Models::Components::WebhookDataBalanceUpdated, Models::Components::WebhookDataBankAccountCreated, Models::Components::WebhookDataBankAccountUpdated, Models::Components::WebhookDataBankAccountDeleted, Models::Components::WebhookDataCancellationCreated, Models::Components::WebhookDataCancellationUpdated, Models::Components::WebhookDataCardAutoUpdated, Models::Components::WebhookDataCapabilityRequested, Models::Components::WebhookDataCapabilityUpdated, Models::Components::WebhookDataDisputeCreated, Models::Components::WebhookDataDisputeUpdated, Models::Components::WebhookDataInvoiceCreated, Models::Components::WebhookDataInvoiceUpdated, Models::Components::WebhookDataNetworkIDUpdated, Models::Components::WebhookDataPaymentMethodEnabled, Models::Components::WebhookDataPaymentMethodDisabled, Models::Components::WebhookDataRefundCreated, Models::Components::WebhookDataRefundUpdated, Models::Components::WebhookDataRepresentativeCreated, Models::Components::WebhookDataRepresentativeUpdated, Models::Components::WebhookDataRepresentativeDisabled, Models::Components::WebhookDataSweepCreated, Models::Components::WebhookDataSweepUpdated, Models::Components::WebhookDataTerminalApplicationCreated, Models::Components::WebhookDataTerminalApplicationUpdated, Models::Components::WebhookDataTicketCreated, Models::Components::WebhookDataTicketUpdated, Models::Components::WebhookDataTicketMessageAdded, Models::Components::WebhookDataTransferCreated, Models::Components::WebhookDataTransferUpdated, Models::Components::WebhookDataWalletCreated, Models::Components::WebhookDataWalletUpdated, Models::Components::WebhookDataWalletTransactionUpdated, Models::Components::WebhookBillingStatementCreated, Models::Components::WebhookDataAuthorizationExpiring), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('data'), required: true } }
21
21
 
22
22
  field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
23
23
 
24
- sig { params(event_id: ::String, type: Models::Components::WebhookEventType, data: T.any(Models::Components::WebhookDataAccountCreated, Models::Components::WebhookDataAccountUpdated, Models::Components::WebhookDataAccountDisconnected, Models::Components::WebhookDataBalanceUpdated, Models::Components::WebhookDataBankAccountCreated, Models::Components::WebhookDataBankAccountUpdated, Models::Components::WebhookDataBankAccountDeleted, Models::Components::WebhookDataCancellationCreated, Models::Components::WebhookDataCancellationUpdated, Models::Components::WebhookDataCardAutoUpdated, Models::Components::WebhookDataCapabilityRequested, Models::Components::WebhookDataCapabilityUpdated, Models::Components::WebhookDataDisputeCreated, Models::Components::WebhookDataDisputeUpdated, Models::Components::WebhookDataInvoiceCreated, Models::Components::WebhookDataInvoiceUpdated, Models::Components::WebhookDataNetworkIDUpdated, Models::Components::WebhookDataPaymentMethodEnabled, Models::Components::WebhookDataPaymentMethodDisabled, Models::Components::WebhookDataRefundCreated, Models::Components::WebhookDataRefundUpdated, Models::Components::WebhookDataRepresentativeCreated, Models::Components::WebhookDataRepresentativeUpdated, Models::Components::WebhookDataRepresentativeDisabled, Models::Components::WebhookDataSweepCreated, Models::Components::WebhookDataSweepUpdated, Models::Components::WebhookDataTerminalApplicationCreated, Models::Components::WebhookDataTerminalApplicationUpdated, Models::Components::WebhookDataTicketCreated, Models::Components::WebhookDataTicketUpdated, Models::Components::WebhookDataTicketMessageAdded, Models::Components::WebhookDataTransferCreated, Models::Components::WebhookDataTransferUpdated, Models::Components::WebhookDataWalletCreated, Models::Components::WebhookDataWalletUpdated, Models::Components::WebhookDataWalletTransactionUpdated, Models::Components::WebhookBillingStatementCreated), created_on: ::DateTime).void }
24
+ sig { params(event_id: ::String, type: Models::Components::WebhookEventType, data: T.any(Models::Components::WebhookDataAccountCreated, Models::Components::WebhookDataAccountUpdated, Models::Components::WebhookDataAccountDisconnected, Models::Components::WebhookDataBalanceUpdated, Models::Components::WebhookDataBankAccountCreated, Models::Components::WebhookDataBankAccountUpdated, Models::Components::WebhookDataBankAccountDeleted, Models::Components::WebhookDataCancellationCreated, Models::Components::WebhookDataCancellationUpdated, Models::Components::WebhookDataCardAutoUpdated, Models::Components::WebhookDataCapabilityRequested, Models::Components::WebhookDataCapabilityUpdated, Models::Components::WebhookDataDisputeCreated, Models::Components::WebhookDataDisputeUpdated, Models::Components::WebhookDataInvoiceCreated, Models::Components::WebhookDataInvoiceUpdated, Models::Components::WebhookDataNetworkIDUpdated, Models::Components::WebhookDataPaymentMethodEnabled, Models::Components::WebhookDataPaymentMethodDisabled, Models::Components::WebhookDataRefundCreated, Models::Components::WebhookDataRefundUpdated, Models::Components::WebhookDataRepresentativeCreated, Models::Components::WebhookDataRepresentativeUpdated, Models::Components::WebhookDataRepresentativeDisabled, Models::Components::WebhookDataSweepCreated, Models::Components::WebhookDataSweepUpdated, Models::Components::WebhookDataTerminalApplicationCreated, Models::Components::WebhookDataTerminalApplicationUpdated, Models::Components::WebhookDataTicketCreated, Models::Components::WebhookDataTicketUpdated, Models::Components::WebhookDataTicketMessageAdded, Models::Components::WebhookDataTransferCreated, Models::Components::WebhookDataTransferUpdated, Models::Components::WebhookDataWalletCreated, Models::Components::WebhookDataWalletUpdated, Models::Components::WebhookDataWalletTransactionUpdated, Models::Components::WebhookBillingStatementCreated, Models::Components::WebhookDataAuthorizationExpiring), created_on: ::DateTime).void }
25
25
  def initialize(event_id:, type:, data:, created_on:)
26
26
  @event_id = event_id
27
27
  @type = type
@@ -48,6 +48,7 @@ module Moov
48
48
  WALLET_UPDATED = new('wallet.updated')
49
49
  WALLET_TRANSACTION_UPDATED = new('walletTransaction.updated')
50
50
  BILLING_STATEMENT_CREATED = new('billingStatement.created')
51
+ AUTHORIZATION_EXPIRING = new('authorization.expiring')
51
52
  end
52
53
  end
53
54
  end
@@ -67,7 +67,6 @@ module Moov
67
67
  autoload :AsyncTransfer, 'moov/models/components/asynctransfer.rb'
68
68
  autoload :AuthToken, 'moov/models/components/authtoken.rb'
69
69
  autoload :AuthTokenRequest, 'moov/models/components/authtokenrequest.rb'
70
- autoload :AuthorizedUser, 'moov/models/components/authorizeduser.rb'
71
70
  autoload :BankAccount, 'moov/models/components/bankaccount.rb'
72
71
  autoload :BankAccountException, 'moov/models/components/bankaccountexception.rb'
73
72
  autoload :BankAccountHolderType, 'moov/models/components/bankaccountholdertype.rb'
@@ -150,9 +149,6 @@ module Moov
150
149
  autoload :CreateAccount, 'moov/models/components/createaccount.rb'
151
150
  autoload :CreateAccountSettings, 'moov/models/components/createaccountsettings.rb'
152
151
  autoload :CreateApplePaySession, 'moov/models/components/createapplepaysession.rb'
153
- autoload :CreateAuthorizedUser, 'moov/models/components/createauthorizeduser.rb'
154
- autoload :CreateAuthorizedUserError, 'moov/models/components/createauthorizedusererror.rb'
155
- autoload :CreateAuthorizedUserUpdate, 'moov/models/components/createauthorizeduserupdate.rb'
156
152
  autoload :CreateBusinessError, 'moov/models/components/createbusinesserror.rb'
157
153
  autoload :CreateBusinessErrorEin, 'moov/models/components/createbusinesserror_ein.rb'
158
154
  autoload :CreateBusinessErrorIndustryCodes, 'moov/models/components/createbusinesserror_industrycodes.rb'
@@ -521,6 +517,7 @@ module Moov
521
517
  autoload :WebhookDataAccountCreated, 'moov/models/components/webhookdataaccountcreated.rb'
522
518
  autoload :WebhookDataAccountDisconnected, 'moov/models/components/webhookdataaccountdisconnected.rb'
523
519
  autoload :WebhookDataAccountUpdated, 'moov/models/components/webhookdataaccountupdated.rb'
520
+ autoload :WebhookDataAuthorizationExpiring, 'moov/models/components/webhookdataauthorizationexpiring.rb'
524
521
  autoload :WebhookDataBalanceUpdated, 'moov/models/components/webhookdatabalanceupdated.rb'
525
522
  autoload :WebhookDataBankAccountCreated, 'moov/models/components/webhookdatabankaccountcreated.rb'
526
523
  autoload :WebhookDataBankAccountDeleted, 'moov/models/components/webhookdatabankaccountdeleted.rb'
@@ -565,6 +562,7 @@ module Moov
565
562
  autoload :AchDetails, 'moov/models/components/achdetails.rb'
566
563
  autoload :AchPayment, 'moov/models/components/achpayment.rb'
567
564
  autoload :AdjustmentFees, 'moov/models/components/adjustmentfees.rb'
565
+ autoload :BillingAddress, 'moov/models/components/billingaddress.rb'
568
566
  autoload :CardAcquiring, 'moov/models/components/cardacquiring.rb'
569
567
  autoload :CardDetails, 'moov/models/components/carddetails.rb'
570
568
  autoload :CardPayment, 'moov/models/components/cardpayment.rb'
@@ -13,13 +13,13 @@ module Moov
13
13
  include Crystalline::MetadataFields
14
14
 
15
15
 
16
- field :funding_wallet_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fundingWalletID') } }
16
+ field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUserAccountID') } }
17
17
 
18
- field :form_factor, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('formFactor') } }
18
+ field :nickname, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('nickname') } }
19
19
 
20
- field :authorized_user, Crystalline::Nilable.new(Models::Components::CreateAuthorizedUserError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUser') } }
20
+ field :metadata, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
21
21
 
22
- field :memo, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('memo') } }
22
+ field :billing_address, Crystalline::Nilable.new(Models::Components::AddressError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
23
23
 
24
24
  field :expiration, Crystalline::Nilable.new(Models::Components::CardExpirationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiration') } }
25
25
 
@@ -27,12 +27,12 @@ module Moov
27
27
  # Raw HTTP response; suitable for custom response parsing
28
28
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
29
29
 
30
- sig { params(funding_wallet_id: T.nilable(::String), form_factor: T.nilable(::String), authorized_user: T.nilable(Models::Components::CreateAuthorizedUserError), memo: T.nilable(::String), expiration: T.nilable(Models::Components::CardExpirationError), controls: T.nilable(Models::Components::IssuingControlsError), raw_response: T.nilable(::Faraday::Response)).void }
31
- def initialize(funding_wallet_id: nil, form_factor: nil, authorized_user: nil, memo: nil, expiration: nil, controls: nil, raw_response: nil)
32
- @funding_wallet_id = funding_wallet_id
33
- @form_factor = form_factor
34
- @authorized_user = authorized_user
35
- @memo = memo
30
+ sig { params(authorized_user_account_id: T.nilable(::String), nickname: T.nilable(::String), metadata: T.nilable(::String), billing_address: T.nilable(Models::Components::AddressError), expiration: T.nilable(Models::Components::CardExpirationError), controls: T.nilable(Models::Components::IssuingControlsError), raw_response: T.nilable(::Faraday::Response)).void }
31
+ def initialize(authorized_user_account_id: nil, nickname: nil, metadata: nil, billing_address: nil, expiration: nil, controls: nil, raw_response: nil)
32
+ @authorized_user_account_id = authorized_user_account_id
33
+ @nickname = nickname
34
+ @metadata = metadata
35
+ @billing_address = billing_address
36
36
  @expiration = expiration
37
37
  @controls = controls
38
38
  @raw_response = raw_response
@@ -41,10 +41,10 @@ module Moov
41
41
  sig { params(other: T.untyped).returns(T::Boolean) }
42
42
  def ==(other)
43
43
  return false unless other.is_a? self.class
44
- return false unless @funding_wallet_id == other.funding_wallet_id
45
- return false unless @form_factor == other.form_factor
46
- return false unless @authorized_user == other.authorized_user
47
- return false unless @memo == other.memo
44
+ return false unless @authorized_user_account_id == other.authorized_user_account_id
45
+ return false unless @nickname == other.nickname
46
+ return false unless @metadata == other.metadata
47
+ return false unless @billing_address == other.billing_address
48
48
  return false unless @expiration == other.expiration
49
49
  return false unless @controls == other.controls
50
50
  return false unless @raw_response == other.raw_response
@@ -8,14 +8,14 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Errors::RequestCardError
11
- def funding_wallet_id(); end
12
- def funding_wallet_id=(str_); end
13
- def form_factor(); end
14
- def form_factor=(str_); end
15
- def authorized_user(); end
16
- def authorized_user=(str_); end
17
- def memo(); end
18
- def memo=(str_); end
11
+ def authorized_user_account_id(); end
12
+ def authorized_user_account_id=(str_); end
13
+ def nickname(); end
14
+ def nickname=(str_); end
15
+ def metadata(); end
16
+ def metadata=(str_); end
17
+ def billing_address(); end
18
+ def billing_address=(str_); end
19
19
  def expiration(); end
20
20
  def expiration=(str_); end
21
21
  def controls(); end