moov_ruby 26.2.7 → 26.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/moov/account_terminal_applications.rb +16 -16
- data/lib/moov/accounts.rb +52 -54
- data/lib/moov/adjustments.rb +8 -8
- data/lib/moov/apple_pay.rb +20 -20
- data/lib/moov/authentication.rb +8 -8
- data/lib/moov/avatars.rb +4 -4
- data/lib/moov/bank_accounts.rb +36 -36
- data/lib/moov/branding.rb +12 -12
- data/lib/moov/capabilities.rb +20 -20
- data/lib/moov/card_issuing.rb +25 -25
- data/lib/moov/cards.rb +20 -20
- data/lib/moov/disputes.rb +44 -44
- data/lib/moov/end_to_end_encryption.rb +8 -8
- data/lib/moov/enriched_address.rb +4 -4
- data/lib/moov/enriched_profile.rb +4 -4
- data/lib/moov/fee_plans.rb +40 -40
- data/lib/moov/files.rb +12 -12
- data/lib/moov/images.rb +28 -28
- data/lib/moov/industries.rb +4 -4
- data/lib/moov/institutions.rb +8 -8
- data/lib/moov/issuing_transactions.rb +20 -20
- data/lib/moov/models/components/addcapabilities.rb +5 -1
- data/lib/moov/models/components/billingaddress.rb +52 -0
- data/lib/moov/models/components/billingaddress.rbi +23 -0
- data/lib/moov/models/components/capability.rb +7 -1
- data/lib/moov/models/components/capabilityid.rb +7 -1
- data/lib/moov/models/components/createaccount.rb +5 -1
- data/lib/moov/models/components/createpaymentlink.rb +4 -4
- data/lib/moov/models/components/fullissuedcard.rb +22 -10
- data/lib/moov/models/components/fullissuedcard.rbi +10 -4
- data/lib/moov/models/components/issuedcard.rb +22 -10
- data/lib/moov/models/components/issuedcard.rbi +10 -4
- data/lib/moov/models/components/onboardinginvite.rb +1 -1
- data/lib/moov/models/components/onboardinginviterequest.rb +1 -1
- data/lib/moov/models/components/paymentlink.rb +3 -3
- data/lib/moov/models/components/requestcard.rb +17 -17
- data/lib/moov/models/components/requestcard.rbi +8 -8
- data/lib/moov/models/components/updateissuedcard.rb +13 -9
- data/lib/moov/models/components/updateissuedcard.rbi +6 -4
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rb +44 -0
- data/lib/moov/models/components/webhookdataauthorizationexpiring.rbi +19 -0
- data/lib/moov/models/components/webhookdatacapabilityrequested.rb +7 -1
- data/lib/moov/models/components/webhookdatacapabilityupdated.rb +7 -1
- data/lib/moov/models/components/webhookdatasweepcreated.rb +6 -2
- data/lib/moov/models/components/webhookdatasweepcreated.rbi +2 -0
- data/lib/moov/models/components/webhookdatasweepupdated.rb +6 -2
- data/lib/moov/models/components/webhookdatasweepupdated.rbi +2 -0
- data/lib/moov/models/components/webhookevent.rb +2 -2
- data/lib/moov/models/components/webhookeventtype.rb +1 -0
- data/lib/moov/models/components.rb +2 -4
- data/lib/moov/models/errors/requestcarderror.rb +14 -14
- data/lib/moov/models/errors/requestcarderror.rbi +8 -8
- data/lib/moov/models/errors/updateissuedcarderror.rb +12 -8
- data/lib/moov/models/errors/updateissuedcarderror.rbi +6 -4
- data/lib/moov/models/operations/disablecapability_request.rb +7 -1
- data/lib/moov/models/operations/getcapability_request.rb +7 -1
- data/lib/moov/models/operations/listcancellations_request.rb +36 -0
- data/lib/moov/models/operations/listcancellations_request.rbi +15 -0
- data/lib/moov/models/operations/listcancellations_response.rb +48 -0
- data/lib/moov/models/operations/listcancellations_response.rbi +21 -0
- data/lib/moov/models/operations.rb +2 -0
- data/lib/moov/onboarding.rb +16 -16
- data/lib/moov/payment_links.rb +24 -24
- data/lib/moov/payment_methods.rb +8 -8
- data/lib/moov/ping.rb +4 -4
- data/lib/moov/products.rb +20 -20
- data/lib/moov/receipts.rb +8 -8
- data/lib/moov/representatives.rb +20 -20
- data/lib/moov/scheduling.rb +24 -24
- data/lib/moov/sdkconfiguration.rb +3 -3
- data/lib/moov/statements.rb +8 -8
- data/lib/moov/support.rb +20 -20
- data/lib/moov/sweeps.rb +24 -24
- data/lib/moov/terminal_applications.rb +20 -20
- data/lib/moov/transfers.rb +171 -48
- data/lib/moov/underwriting.rb +12 -12
- data/lib/moov/utils/retries.rb +4 -1
- data/lib/moov/wallet_transactions.rb +8 -8
- data/lib/moov/wallets.rb +16 -16
- data/lib/moov/webhooks.rb +32 -32
- metadata +10 -10
- data/lib/moov/models/components/authorizeduser.rb +0 -36
- data/lib/moov/models/components/authorizeduser.rbi +0 -15
- data/lib/moov/models/components/createauthorizeduser.rb +0 -40
- data/lib/moov/models/components/createauthorizeduser.rbi +0 -17
- data/lib/moov/models/components/createauthorizedusererror.rb +0 -40
- data/lib/moov/models/components/createauthorizedusererror.rbi +0 -17
- data/lib/moov/models/components/createauthorizeduserupdate.rb +0 -40
- data/lib/moov/models/components/createauthorizeduserupdate.rbi +0 -17
|
@@ -13,24 +13,24 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
field :
|
|
17
|
-
|
|
18
|
-
field :
|
|
19
|
-
#
|
|
20
|
-
field :
|
|
21
|
-
|
|
22
|
-
field :
|
|
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(
|
|
29
|
-
def initialize(
|
|
30
|
-
@
|
|
31
|
-
@
|
|
32
|
-
@
|
|
33
|
-
@
|
|
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 @
|
|
42
|
-
return false unless @
|
|
43
|
-
return false unless @
|
|
44
|
-
return false unless @
|
|
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
|
|
12
|
-
def
|
|
13
|
-
def
|
|
14
|
-
def
|
|
15
|
-
def
|
|
16
|
-
def
|
|
17
|
-
def
|
|
18
|
-
def
|
|
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
|
|
@@ -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 :
|
|
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
|
-
|
|
24
|
-
|
|
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
|
-
@
|
|
27
|
-
@
|
|
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 @
|
|
35
|
-
return false unless @
|
|
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
|
|
14
|
-
def
|
|
15
|
-
def
|
|
16
|
-
def
|
|
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
|
-
#
|
|
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
|
-
#
|
|
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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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'
|
|
@@ -160,9 +159,6 @@ module Moov
|
|
|
160
159
|
autoload :CreateAccountSettings, 'moov/models/components/createaccountsettings.rb'
|
|
161
160
|
autoload :CreateAccountType, 'moov/models/components/createaccounttype.rb'
|
|
162
161
|
autoload :CreateApplePaySession, 'moov/models/components/createapplepaysession.rb'
|
|
163
|
-
autoload :CreateAuthorizedUser, 'moov/models/components/createauthorizeduser.rb'
|
|
164
|
-
autoload :CreateAuthorizedUserError, 'moov/models/components/createauthorizedusererror.rb'
|
|
165
|
-
autoload :CreateAuthorizedUserUpdate, 'moov/models/components/createauthorizeduserupdate.rb'
|
|
166
162
|
autoload :CreateBusinessError, 'moov/models/components/createbusinesserror.rb'
|
|
167
163
|
autoload :CreateBusinessErrorEin, 'moov/models/components/createbusinesserror_ein.rb'
|
|
168
164
|
autoload :CreateBusinessErrorIndustryCodes, 'moov/models/components/createbusinesserror_industrycodes.rb'
|
|
@@ -574,6 +570,7 @@ module Moov
|
|
|
574
570
|
autoload :WebhookDataAccountCreated, 'moov/models/components/webhookdataaccountcreated.rb'
|
|
575
571
|
autoload :WebhookDataAccountDisconnected, 'moov/models/components/webhookdataaccountdisconnected.rb'
|
|
576
572
|
autoload :WebhookDataAccountUpdated, 'moov/models/components/webhookdataaccountupdated.rb'
|
|
573
|
+
autoload :WebhookDataAuthorizationExpiring, 'moov/models/components/webhookdataauthorizationexpiring.rb'
|
|
577
574
|
autoload :WebhookDataBalanceUpdated, 'moov/models/components/webhookdatabalanceupdated.rb'
|
|
578
575
|
autoload :WebhookDataBankAccountCreated, 'moov/models/components/webhookdatabankaccountcreated.rb'
|
|
579
576
|
autoload :WebhookDataBankAccountDeleted, 'moov/models/components/webhookdatabankaccountdeleted.rb'
|
|
@@ -618,6 +615,7 @@ module Moov
|
|
|
618
615
|
autoload :AchDetails, 'moov/models/components/achdetails.rb'
|
|
619
616
|
autoload :AchPayment, 'moov/models/components/achpayment.rb'
|
|
620
617
|
autoload :AdjustmentFees, 'moov/models/components/adjustmentfees.rb'
|
|
618
|
+
autoload :BillingAddress, 'moov/models/components/billingaddress.rb'
|
|
621
619
|
autoload :CardAcquiring, 'moov/models/components/cardacquiring.rb'
|
|
622
620
|
autoload :CardDetails, 'moov/models/components/carddetails.rb'
|
|
623
621
|
autoload :CardPayment, 'moov/models/components/cardpayment.rb'
|
|
@@ -13,13 +13,13 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
field :
|
|
16
|
+
field :authorized_user_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authorizedUserAccountID') } }
|
|
17
17
|
|
|
18
|
-
field :
|
|
18
|
+
field :nickname, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('nickname') } }
|
|
19
19
|
|
|
20
|
-
field :
|
|
20
|
+
field :metadata, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
|
|
21
21
|
|
|
22
|
-
field :
|
|
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(
|
|
31
|
-
def initialize(
|
|
32
|
-
@
|
|
33
|
-
@
|
|
34
|
-
@
|
|
35
|
-
@
|
|
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 @
|
|
45
|
-
return false unless @
|
|
46
|
-
return false unless @
|
|
47
|
-
return false unless @
|
|
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
|
|
12
|
-
def
|
|
13
|
-
def
|
|
14
|
-
def
|
|
15
|
-
def
|
|
16
|
-
def
|
|
17
|
-
def
|
|
18
|
-
def
|
|
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
|
|
@@ -15,17 +15,20 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :state, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('state') } }
|
|
17
17
|
|
|
18
|
-
field :
|
|
18
|
+
field :nickname, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('nickname') } }
|
|
19
19
|
|
|
20
|
-
field :
|
|
20
|
+
field :metadata, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
|
|
21
|
+
|
|
22
|
+
field :billing_address, Crystalline::Nilable.new(Models::Components::AddressError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
|
|
21
23
|
# Raw HTTP response; suitable for custom response parsing
|
|
22
24
|
field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
|
|
23
25
|
|
|
24
|
-
sig { params(state: T.nilable(::String),
|
|
25
|
-
def initialize(state: nil,
|
|
26
|
+
sig { params(state: T.nilable(::String), nickname: T.nilable(::String), metadata: T.nilable(::String), billing_address: T.nilable(Models::Components::AddressError), raw_response: T.nilable(::Faraday::Response)).void }
|
|
27
|
+
def initialize(state: nil, nickname: nil, metadata: nil, billing_address: nil, raw_response: nil)
|
|
26
28
|
@state = state
|
|
27
|
-
@
|
|
28
|
-
@
|
|
29
|
+
@nickname = nickname
|
|
30
|
+
@metadata = metadata
|
|
31
|
+
@billing_address = billing_address
|
|
29
32
|
@raw_response = raw_response
|
|
30
33
|
end
|
|
31
34
|
|
|
@@ -33,8 +36,9 @@ module Moov
|
|
|
33
36
|
def ==(other)
|
|
34
37
|
return false unless other.is_a? self.class
|
|
35
38
|
return false unless @state == other.state
|
|
36
|
-
return false unless @
|
|
37
|
-
return false unless @
|
|
39
|
+
return false unless @nickname == other.nickname
|
|
40
|
+
return false unless @metadata == other.metadata
|
|
41
|
+
return false unless @billing_address == other.billing_address
|
|
38
42
|
return false unless @raw_response == other.raw_response
|
|
39
43
|
true
|
|
40
44
|
end
|
|
@@ -10,10 +10,12 @@ end
|
|
|
10
10
|
class Moov::Models::Errors::UpdateIssuedCardError
|
|
11
11
|
def state(); end
|
|
12
12
|
def state=(str_); end
|
|
13
|
-
def
|
|
14
|
-
def
|
|
15
|
-
def
|
|
16
|
-
def
|
|
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
|
def raw_response(); end
|
|
18
20
|
def raw_response=(str_); end
|
|
19
21
|
end
|
|
@@ -16,7 +16,13 @@ module Moov
|
|
|
16
16
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
17
|
# Moov account capabilities.
|
|
18
18
|
#
|
|
19
|
-
#
|
|
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, { 'path_param': { 'field_name': 'capabilityID', 'style': 'simple', 'explode': false } }
|
|
21
27
|
|
|
22
28
|
sig { params(account_id: ::String, capability_id: Models::Components::CapabilityID).void }
|
|
@@ -16,7 +16,13 @@ module Moov
|
|
|
16
16
|
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
17
|
# Moov account capabilities.
|
|
18
18
|
#
|
|
19
|
-
#
|
|
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, { 'path_param': { 'field_name': 'capabilityID', 'style': 'simple', 'explode': false } }
|
|
21
27
|
|
|
22
28
|
sig { params(account_id: ::String, capability_id: Models::Components::CapabilityID).void }
|
|
@@ -0,0 +1,36 @@
|
|
|
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 Operations
|
|
10
|
+
|
|
11
|
+
class ListCancellationsRequest
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Moov account ID of the partner or transfer's source or destination.
|
|
16
|
+
field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
|
|
17
|
+
# Identifier for the transfer.
|
|
18
|
+
field :transfer_id, ::String, { 'path_param': { 'field_name': 'transferID', 'style': 'simple', 'explode': false } }
|
|
19
|
+
|
|
20
|
+
sig { params(account_id: ::String, transfer_id: ::String).void }
|
|
21
|
+
def initialize(account_id:, transfer_id:)
|
|
22
|
+
@account_id = account_id
|
|
23
|
+
@transfer_id = transfer_id
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
27
|
+
def ==(other)
|
|
28
|
+
return false unless other.is_a? self.class
|
|
29
|
+
return false unless @account_id == other.account_id
|
|
30
|
+
return false unless @transfer_id == other.transfer_id
|
|
31
|
+
true
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Operations::ListCancellationsRequest
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Operations::ListCancellationsRequest
|
|
11
|
+
def account_id(); end
|
|
12
|
+
def account_id=(str_); end
|
|
13
|
+
def transfer_id(); end
|
|
14
|
+
def transfer_id=(str_); end
|
|
15
|
+
end
|