moov_ruby 26.7.1 → 26.10.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.
- checksums.yaml +4 -4
- data/lib/moov/avatars.rb +1 -276
- data/lib/moov/card_issuing.rb +0 -116
- data/lib/moov/client.rb +2 -2
- data/lib/moov/enriched_address.rb +1 -1
- data/lib/moov/enriched_profile.rb +1 -1
- data/lib/moov/institutions.rb +1 -1
- data/lib/moov/models/components/capabilityid.rb +0 -1
- data/lib/moov/models/components/{avataruploadrequest.rb → contributingrule.rb} +8 -8
- data/lib/moov/models/components/contributingrule.rbi +13 -0
- data/lib/moov/models/components/createdtransfer.rb +2 -6
- data/lib/moov/models/components/createdtransfer.rbi +0 -2
- data/lib/moov/models/components/createrefund.rb +2 -2
- data/lib/moov/models/components/createreversal.rb +1 -1
- data/lib/moov/models/components/createtransfer.rb +2 -6
- data/lib/moov/models/components/createtransfer.rbi +0 -2
- data/lib/moov/models/components/fullissuedcard.rb +3 -3
- data/lib/moov/models/components/incurredfee.rb +2 -6
- data/lib/moov/models/components/incurredfee.rbi +0 -2
- data/lib/moov/models/components/issuedcard.rb +3 -3
- data/lib/moov/models/components/issuingcontrols.rb +2 -18
- data/lib/moov/models/components/issuingcontrols.rbi +0 -8
- data/lib/moov/models/components/issuingcontrolserror.rb +2 -18
- data/lib/moov/models/components/issuingcontrolserror.rbi +0 -8
- data/lib/moov/models/components/issuingintervallimit.rb +1 -4
- data/lib/moov/models/components/issuingvelocitylimit.rb +7 -11
- data/lib/moov/models/components/issuingvelocitylimit.rbi +2 -4
- data/lib/moov/models/components/issuingvelocitylimiterror.rb +2 -6
- data/lib/moov/models/components/issuingvelocitylimiterror.rbi +0 -2
- data/lib/moov/models/components/partnerriskoutcomesresponse.rb +38 -0
- data/lib/moov/models/components/partnerriskoutcomesresponse.rbi +15 -0
- data/lib/moov/models/components/paymentlinkpayoutdetails.rb +2 -8
- data/lib/moov/models/components/paymentlinkpayoutdetails.rbi +0 -2
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rb +2 -8
- data/lib/moov/models/components/paymentlinkpayoutdetailsupdate.rbi +0 -2
- data/lib/moov/models/components/paymentmethodswallet.rb +0 -1
- data/lib/moov/models/components/payoutdetailserror.rb +2 -6
- data/lib/moov/models/components/payoutdetailserror.rbi +0 -2
- data/lib/moov/models/components/product.rb +2 -6
- data/lib/moov/models/components/product.rbi +0 -2
- data/lib/moov/models/components/productrequest.rb +2 -6
- data/lib/moov/models/components/productrequest.rbi +0 -2
- data/lib/moov/models/components/sendfunds.rb +2 -6
- data/lib/moov/models/components/sendfunds.rbi +0 -2
- data/lib/moov/models/components/sendfundserror.rb +2 -6
- data/lib/moov/models/components/sendfundserror.rbi +0 -2
- data/lib/moov/models/components/transfer.rb +2 -6
- data/lib/moov/models/components/transfer.rbi +0 -2
- data/lib/moov/models/components/transferpaymentmethodswallet.rb +0 -1
- data/lib/moov/models/components/updateissuedcard.rb +2 -6
- data/lib/moov/models/components/updateissuedcard.rbi +0 -2
- data/lib/moov/models/components/wallet.rb +0 -1
- data/lib/moov/models/components/wallettype.rb +0 -2
- data/lib/moov/models/components/webhookdatatransferstatus.rb +0 -3
- data/lib/moov/models/components.rb +2 -34
- data/lib/moov/models/errors/productrequestvalidationerror.rb +2 -6
- data/lib/moov/models/errors/productrequestvalidationerror.rbi +0 -2
- data/lib/moov/models/errors/transfer_error.rb +2 -6
- data/lib/moov/models/errors/transfer_error.rbi +0 -2
- data/lib/moov/models/errors/updateissuedcarderror.rb +2 -6
- data/lib/moov/models/errors/updateissuedcarderror.rbi +0 -2
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rb +37 -0
- data/lib/moov/models/operations/gettransferriskoutcomes_request.rbi +15 -0
- data/lib/moov/models/operations/{listissuingmerchantcategories_response.rb → gettransferriskoutcomes_response.rb} +6 -6
- data/lib/moov/models/operations/{deleteavatar_response.rbi → gettransferriskoutcomes_response.rbi} +4 -2
- data/lib/moov/models/operations/listproducts_request.rb +2 -8
- data/lib/moov/models/operations/listproducts_request.rbi +0 -2
- data/lib/moov/models/operations/listtransfers_request.rb +2 -10
- data/lib/moov/models/operations/listtransfers_request.rbi +0 -4
- data/lib/moov/models/operations.rb +2 -8
- data/lib/moov/products.rb +8 -113
- data/lib/moov/sdk_hooks/hooks.rb +0 -6
- data/lib/moov/sdkconfiguration.rb +4 -4
- data/lib/moov/transfers.rb +125 -0
- data/lib/moov_ruby.rb +1 -1
- metadata +12 -90
- data/lib/moov/models/components/allowedscheduleerror.rb +0 -36
- data/lib/moov/models/components/allowedscheduleerror.rbi +0 -15
- data/lib/moov/models/components/avataruploadrequest.rbi +0 -13
- data/lib/moov/models/components/avataruploadrequest_file.rb +0 -36
- data/lib/moov/models/components/avataruploadrequest_file.rbi +0 -15
- data/lib/moov/models/components/feepaidby.rb +0 -19
- data/lib/moov/models/components/feepaidby.rbi +0 -11
- data/lib/moov/models/components/issuedcontrols.rb +0 -52
- data/lib/moov/models/components/issuedcontrols.rbi +0 -23
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/issuedcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/issuedvelocitylimit.rb +0 -60
- data/lib/moov/models/components/issuedvelocitylimit.rbi +0 -27
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/issuingcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rb +0 -19
- data/lib/moov/models/components/issuingcontrolsrestrictionmode.rbi +0 -11
- data/lib/moov/models/components/issuingmerchantcategory.rb +0 -43
- data/lib/moov/models/components/issuingmerchantcategory.rbi +0 -11
- data/lib/moov/models/components/issuingscheduleday.rb +0 -24
- data/lib/moov/models/components/issuingscheduleday.rbi +0 -11
- data/lib/moov/models/components/merchantcategories.rb +0 -32
- data/lib/moov/models/components/merchantcategories.rbi +0 -13
- data/lib/moov/models/components/merchantcategory.rb +0 -37
- data/lib/moov/models/components/merchantcategory.rbi +0 -15
- data/lib/moov/models/components/merchantcategoryrestrictions.rb +0 -44
- data/lib/moov/models/components/merchantcategoryrestrictions.rbi +0 -19
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rb +0 -44
- data/lib/moov/models/components/merchantcategoryrestrictionserror.rbi +0 -19
- data/lib/moov/models/components/merchantentry.rb +0 -40
- data/lib/moov/models/components/merchantentry.rbi +0 -17
- data/lib/moov/models/components/merchantentryerror.rb +0 -36
- data/lib/moov/models/components/merchantentryerror.rbi +0 -15
- data/lib/moov/models/components/merchantrestrictions.rb +0 -36
- data/lib/moov/models/components/merchantrestrictions.rbi +0 -15
- data/lib/moov/models/components/merchantrestrictionserror.rb +0 -36
- data/lib/moov/models/components/merchantrestrictionserror.rbi +0 -15
- data/lib/moov/models/components/productcategories.rb +0 -32
- data/lib/moov/models/components/productcategories.rbi +0 -13
- data/lib/moov/models/components/productcategory.rb +0 -48
- data/lib/moov/models/components/productcategory.rbi +0 -21
- data/lib/moov/models/components/schedulewindow.rb +0 -40
- data/lib/moov/models/components/schedulewindow.rbi +0 -17
- data/lib/moov/models/components/schedulewindowerror.rb +0 -40
- data/lib/moov/models/components/schedulewindowerror.rbi +0 -17
- data/lib/moov/models/components/schemebasicauth.rb +0 -36
- data/lib/moov/models/components/schemebasicauth.rbi +0 -15
- data/lib/moov/models/components/schemeoauth2auth.rb +0 -40
- data/lib/moov/models/components/schemeoauth2auth.rbi +0 -17
- data/lib/moov/models/components/sendfundswire.rb +0 -32
- data/lib/moov/models/components/sendfundswire.rbi +0 -13
- data/lib/moov/models/components/sendfundswireerror.rb +0 -32
- data/lib/moov/models/components/sendfundswireerror.rbi +0 -13
- data/lib/moov/models/components/transfercapture.rb +0 -36
- data/lib/moov/models/components/transfercapture.rbi +0 -15
- data/lib/moov/models/components/transferfeepaidby.rb +0 -32
- data/lib/moov/models/components/transferfeepaidby.rbi +0 -13
- data/lib/moov/models/components/updateissuingcontrols.rb +0 -48
- data/lib/moov/models/components/updateissuingcontrols.rbi +0 -21
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rb +0 -36
- data/lib/moov/models/components/updateissuingcontrols_allowedschedule.rbi +0 -15
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rb +0 -44
- data/lib/moov/models/components/updateissuingcontrols_merchantcategoryrestrictions.rbi +0 -19
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rb +0 -36
- data/lib/moov/models/components/updateissuingcontrols_merchantrestrictions.rbi +0 -15
- data/lib/moov/models/components/updateissuingcontrolserror.rb +0 -48
- data/lib/moov/models/components/updateissuingcontrolserror.rbi +0 -21
- data/lib/moov/models/operations/deleteavatar_request.rb +0 -32
- data/lib/moov/models/operations/deleteavatar_request.rbi +0 -13
- data/lib/moov/models/operations/deleteavatar_response.rb +0 -44
- data/lib/moov/models/operations/deleteavatar_security.rb +0 -36
- data/lib/moov/models/operations/deleteavatar_security.rbi +0 -15
- data/lib/moov/models/operations/listissuingmerchantcategories_response.rbi +0 -21
- data/lib/moov/models/operations/listproductcategories_response.rb +0 -48
- data/lib/moov/models/operations/listproductcategories_response.rbi +0 -21
- data/lib/moov/models/operations/uploadavatar_request.rb +0 -36
- data/lib/moov/models/operations/uploadavatar_request.rbi +0 -15
- data/lib/moov/models/operations/uploadavatar_response.rb +0 -44
- data/lib/moov/models/operations/uploadavatar_response.rbi +0 -19
- data/lib/moov/models/operations/uploadavatar_security.rb +0 -36
- data/lib/moov/models/operations/uploadavatar_security.rbi +0 -15
- data/lib/moov/sdk_hooks/clientcredentials.rb +0 -386
- data/lib/moov/sdk_hooks/oauth2scopes.rb +0 -18
|
@@ -45,10 +45,10 @@ module Moov
|
|
|
45
45
|
field :metadata, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
|
|
46
46
|
# Billing address associated with the card.
|
|
47
47
|
field :billing_address, Crystalline::Nilable.new(Models::Components::Address), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
|
|
48
|
-
# Spend controls applied to an issued card, including velocity runtime state.
|
|
49
|
-
field :controls, Crystalline::Nilable.new(Models::Components::IssuedControls), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('controls') } }
|
|
50
48
|
|
|
51
|
-
|
|
49
|
+
field :controls, Crystalline::Nilable.new(Models::Components::IssuingControls), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('controls') } }
|
|
50
|
+
|
|
51
|
+
sig { params(issued_card_id: ::String, brand: Models::Components::CardBrand, last_four_card_number: ::String, expiration: Models::Components::CardExpiration, funding_wallet_id: ::String, state: Models::Components::IssuedCardState, form_factor: Models::Components::IssuedCardFormFactor, created_on: ::DateTime, updated_on: ::DateTime, pan: ::String, cvv: ::String, 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), controls: T.nilable(Models::Components::IssuingControls)).void }
|
|
52
52
|
def initialize(issued_card_id:, brand:, last_four_card_number:, expiration:, funding_wallet_id:, state:, form_factor:, created_on:, updated_on:, pan:, cvv:, authorized_user_account_id: nil, nickname: nil, metadata: nil, billing_address: nil, controls: nil)
|
|
53
53
|
@issued_card_id = issued_card_id
|
|
54
54
|
@brand = brand
|
|
@@ -30,11 +30,9 @@ module Moov
|
|
|
30
30
|
field :fee_group, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feeGroup') } }
|
|
31
31
|
# Unique identifier for this residual payment calculation.
|
|
32
32
|
field :residual_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('residualID') } }
|
|
33
|
-
# Indicates which party to the money movement bore this fee.
|
|
34
|
-
field :fee_paid_by, Crystalline::Nilable.new(Models::Components::FeePaidBy), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feePaidBy'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::FeePaidBy, true) } }
|
|
35
33
|
|
|
36
|
-
sig { params(fee_id: T.nilable(::String), account_id: T.nilable(::String), wallet_id: T.nilable(::String), created_on: T.nilable(::DateTime), fee_name: T.nilable(::String), amount: T.nilable(Models::Components::AmountDecimal), generated_by: T.nilable(Models::Components::GeneratedBy), fee_group: T.nilable(::String), residual_id: T.nilable(::String)
|
|
37
|
-
def initialize(fee_id: nil, account_id: nil, wallet_id: nil, created_on: nil, fee_name: nil, amount: nil, generated_by: nil, fee_group: nil, residual_id: nil
|
|
34
|
+
sig { params(fee_id: T.nilable(::String), account_id: T.nilable(::String), wallet_id: T.nilable(::String), created_on: T.nilable(::DateTime), fee_name: T.nilable(::String), amount: T.nilable(Models::Components::AmountDecimal), generated_by: T.nilable(Models::Components::GeneratedBy), fee_group: T.nilable(::String), residual_id: T.nilable(::String)).void }
|
|
35
|
+
def initialize(fee_id: nil, account_id: nil, wallet_id: nil, created_on: nil, fee_name: nil, amount: nil, generated_by: nil, fee_group: nil, residual_id: nil)
|
|
38
36
|
@fee_id = fee_id
|
|
39
37
|
@account_id = account_id
|
|
40
38
|
@wallet_id = wallet_id
|
|
@@ -44,7 +42,6 @@ module Moov
|
|
|
44
42
|
@generated_by = generated_by
|
|
45
43
|
@fee_group = fee_group
|
|
46
44
|
@residual_id = residual_id
|
|
47
|
-
@fee_paid_by = fee_paid_by
|
|
48
45
|
end
|
|
49
46
|
|
|
50
47
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -59,7 +56,6 @@ module Moov
|
|
|
59
56
|
return false unless @generated_by == other.generated_by
|
|
60
57
|
return false unless @fee_group == other.fee_group
|
|
61
58
|
return false unless @residual_id == other.residual_id
|
|
62
|
-
return false unless @fee_paid_by == other.fee_paid_by
|
|
63
59
|
true
|
|
64
60
|
end
|
|
65
61
|
end
|
|
@@ -41,10 +41,10 @@ module Moov
|
|
|
41
41
|
field :metadata, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
|
|
42
42
|
# Billing address associated with the card.
|
|
43
43
|
field :billing_address, Crystalline::Nilable.new(Models::Components::Address), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('billingAddress') } }
|
|
44
|
-
# Spend controls applied to an issued card, including velocity runtime state.
|
|
45
|
-
field :controls, Crystalline::Nilable.new(Models::Components::IssuedControls), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('controls') } }
|
|
46
44
|
|
|
47
|
-
|
|
45
|
+
field :controls, Crystalline::Nilable.new(Models::Components::IssuingControls), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('controls') } }
|
|
46
|
+
|
|
47
|
+
sig { params(issued_card_id: ::String, brand: Models::Components::CardBrand, last_four_card_number: ::String, expiration: Models::Components::CardExpiration, funding_wallet_id: ::String, state: Models::Components::IssuedCardState, form_factor: Models::Components::IssuedCardFormFactor, created_on: ::DateTime, updated_on: ::DateTime, 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), controls: T.nilable(Models::Components::IssuingControls)).void }
|
|
48
48
|
def initialize(issued_card_id:, brand:, last_four_card_number:, expiration:, funding_wallet_id:, state:, form_factor:, created_on:, updated_on:, authorized_user_account_id: nil, nickname: nil, metadata: nil, billing_address: nil, controls: nil)
|
|
49
49
|
@issued_card_id = issued_card_id
|
|
50
50
|
@brand = brand
|
|
@@ -16,23 +16,11 @@ module Moov
|
|
|
16
16
|
field :single_use, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('singleUse') } }
|
|
17
17
|
# Sets the spending limit per time interval. Only one limit per interval is supported.
|
|
18
18
|
field :velocity_limits, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::IssuingVelocityLimit)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('velocityLimits') } }
|
|
19
|
-
# Restricts card usage by merchant category. When not set, all categories are allowed.
|
|
20
|
-
field :merchant_category_restrictions, Crystalline::Nilable.new(Models::Components::MerchantCategoryRestrictions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantCategoryRestrictions') } }
|
|
21
|
-
# Restricts card usage to specific merchants, or blocks specific merchants.
|
|
22
|
-
field :merchant_restrictions, Crystalline::Nilable.new(Models::Components::MerchantRestrictions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantRestrictions') } }
|
|
23
|
-
# Limits card usage to specific days and times. Set to `null` to remove all schedule restrictions.
|
|
24
|
-
field :allowed_schedule, Crystalline::Nilable.new(Models::Components::IssuingControlsAllowedSchedule), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowedSchedule') } }
|
|
25
|
-
# A spend cutoff date and time. When set, all authorizations after this datetime are declined regardless of other controls. Set to `null` for no cutoff.
|
|
26
|
-
field :expires_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
27
19
|
|
|
28
|
-
sig { params(single_use: T.nilable(T::Boolean), velocity_limits: T.nilable(T::Array[Models::Components::IssuingVelocityLimit])
|
|
29
|
-
def initialize(single_use: nil, velocity_limits: nil
|
|
20
|
+
sig { params(single_use: T.nilable(T::Boolean), velocity_limits: T.nilable(T::Array[Models::Components::IssuingVelocityLimit])).void }
|
|
21
|
+
def initialize(single_use: nil, velocity_limits: nil)
|
|
30
22
|
@single_use = single_use
|
|
31
23
|
@velocity_limits = velocity_limits
|
|
32
|
-
@merchant_category_restrictions = merchant_category_restrictions
|
|
33
|
-
@merchant_restrictions = merchant_restrictions
|
|
34
|
-
@allowed_schedule = allowed_schedule
|
|
35
|
-
@expires_on = expires_on
|
|
36
24
|
end
|
|
37
25
|
|
|
38
26
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -40,10 +28,6 @@ module Moov
|
|
|
40
28
|
return false unless other.is_a? self.class
|
|
41
29
|
return false unless @single_use == other.single_use
|
|
42
30
|
return false unless @velocity_limits == other.velocity_limits
|
|
43
|
-
return false unless @merchant_category_restrictions == other.merchant_category_restrictions
|
|
44
|
-
return false unless @merchant_restrictions == other.merchant_restrictions
|
|
45
|
-
return false unless @allowed_schedule == other.allowed_schedule
|
|
46
|
-
return false unless @expires_on == other.expires_on
|
|
47
31
|
true
|
|
48
32
|
end
|
|
49
33
|
end
|
|
@@ -12,12 +12,4 @@ class Moov::Models::Components::IssuingControls
|
|
|
12
12
|
def single_use=(str_); end
|
|
13
13
|
def velocity_limits(); end
|
|
14
14
|
def velocity_limits=(str_); end
|
|
15
|
-
def merchant_category_restrictions(); end
|
|
16
|
-
def merchant_category_restrictions=(str_); end
|
|
17
|
-
def merchant_restrictions(); end
|
|
18
|
-
def merchant_restrictions=(str_); end
|
|
19
|
-
def allowed_schedule(); end
|
|
20
|
-
def allowed_schedule=(str_); end
|
|
21
|
-
def expires_on(); end
|
|
22
|
-
def expires_on=(str_); end
|
|
23
15
|
end
|
|
@@ -15,31 +15,15 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :velocity_limits, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::IssuingVelocityLimitError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('velocityLimits') } }
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
field :merchant_restrictions, Crystalline::Nilable.new(Models::Components::MerchantRestrictionsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantRestrictions') } }
|
|
21
|
-
|
|
22
|
-
field :allowed_schedule, Crystalline::Nilable.new(Models::Components::AllowedScheduleError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowedSchedule') } }
|
|
23
|
-
|
|
24
|
-
field :expires_on, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn') } }
|
|
25
|
-
|
|
26
|
-
sig { params(velocity_limits: T.nilable(T::Hash[Symbol, Models::Components::IssuingVelocityLimitError]), merchant_category_restrictions: T.nilable(Models::Components::MerchantCategoryRestrictionsError), merchant_restrictions: T.nilable(Models::Components::MerchantRestrictionsError), allowed_schedule: T.nilable(Models::Components::AllowedScheduleError), expires_on: T.nilable(::String)).void }
|
|
27
|
-
def initialize(velocity_limits: nil, merchant_category_restrictions: nil, merchant_restrictions: nil, allowed_schedule: nil, expires_on: nil)
|
|
18
|
+
sig { params(velocity_limits: T.nilable(T::Hash[Symbol, Models::Components::IssuingVelocityLimitError])).void }
|
|
19
|
+
def initialize(velocity_limits: nil)
|
|
28
20
|
@velocity_limits = velocity_limits
|
|
29
|
-
@merchant_category_restrictions = merchant_category_restrictions
|
|
30
|
-
@merchant_restrictions = merchant_restrictions
|
|
31
|
-
@allowed_schedule = allowed_schedule
|
|
32
|
-
@expires_on = expires_on
|
|
33
21
|
end
|
|
34
22
|
|
|
35
23
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
24
|
def ==(other)
|
|
37
25
|
return false unless other.is_a? self.class
|
|
38
26
|
return false unless @velocity_limits == other.velocity_limits
|
|
39
|
-
return false unless @merchant_category_restrictions == other.merchant_category_restrictions
|
|
40
|
-
return false unless @merchant_restrictions == other.merchant_restrictions
|
|
41
|
-
return false unless @allowed_schedule == other.allowed_schedule
|
|
42
|
-
return false unless @expires_on == other.expires_on
|
|
43
27
|
true
|
|
44
28
|
end
|
|
45
29
|
end
|
|
@@ -10,12 +10,4 @@ end
|
|
|
10
10
|
class Moov::Models::Components::IssuingControlsError
|
|
11
11
|
def velocity_limits(); end
|
|
12
12
|
def velocity_limits=(str_); end
|
|
13
|
-
def merchant_category_restrictions(); end
|
|
14
|
-
def merchant_category_restrictions=(str_); end
|
|
15
|
-
def merchant_restrictions(); end
|
|
16
|
-
def merchant_restrictions=(str_); end
|
|
17
|
-
def allowed_schedule(); end
|
|
18
|
-
def allowed_schedule=(str_); end
|
|
19
|
-
def expires_on(); end
|
|
20
|
-
def expires_on=(str_); end
|
|
21
13
|
end
|
|
@@ -7,13 +7,10 @@
|
|
|
7
7
|
module Moov
|
|
8
8
|
module Models
|
|
9
9
|
module Components
|
|
10
|
-
# IssuingIntervalLimit - Specifies the time frame for
|
|
10
|
+
# IssuingIntervalLimit - Specifies the time frame for the velocity limit. Currently supports only per-transaction limits.
|
|
11
11
|
class IssuingIntervalLimit < T::Enum
|
|
12
12
|
enums do
|
|
13
13
|
PER_TRANSACTION = new('per-transaction')
|
|
14
|
-
DAILY = new('daily')
|
|
15
|
-
WEEKLY = new('weekly')
|
|
16
|
-
MONTHLY = new('monthly')
|
|
17
14
|
end
|
|
18
15
|
end
|
|
19
16
|
end
|
|
@@ -12,26 +12,22 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
# Specifies the time frame for a velocity limit. `per-transaction` applies to each individual authorization and never resets. Time-based intervals (where supported) reset at midnight ET.
|
|
16
|
-
field :interval, Models::Components::IssuingIntervalLimit, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('interval'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::IssuingIntervalLimit, false) } }
|
|
17
15
|
# The maximum amount in cents that can be spent in a given interval.
|
|
18
|
-
field :amount,
|
|
19
|
-
#
|
|
20
|
-
field :
|
|
16
|
+
field :amount, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount'), required: true } }
|
|
17
|
+
# Specifies the time frame for the velocity limit. Currently supports only per-transaction limits.
|
|
18
|
+
field :interval, Models::Components::IssuingIntervalLimit, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('interval'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::IssuingIntervalLimit, false) } }
|
|
21
19
|
|
|
22
|
-
sig { params(
|
|
23
|
-
def initialize(
|
|
24
|
-
@interval = interval
|
|
20
|
+
sig { params(amount: ::Integer, interval: Models::Components::IssuingIntervalLimit).void }
|
|
21
|
+
def initialize(amount:, interval:)
|
|
25
22
|
@amount = amount
|
|
26
|
-
@
|
|
23
|
+
@interval = interval
|
|
27
24
|
end
|
|
28
25
|
|
|
29
26
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
30
27
|
def ==(other)
|
|
31
28
|
return false unless other.is_a? self.class
|
|
32
|
-
return false unless @interval == other.interval
|
|
33
29
|
return false unless @amount == other.amount
|
|
34
|
-
return false unless @
|
|
30
|
+
return false unless @interval == other.interval
|
|
35
31
|
true
|
|
36
32
|
end
|
|
37
33
|
end
|
|
@@ -8,10 +8,8 @@ end
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class Moov::Models::Components::IssuingVelocityLimit
|
|
11
|
-
def interval(); end
|
|
12
|
-
def interval=(str_); end
|
|
13
11
|
def amount(); end
|
|
14
12
|
def amount=(str_); end
|
|
15
|
-
def
|
|
16
|
-
def
|
|
13
|
+
def interval(); end
|
|
14
|
+
def interval=(str_); end
|
|
17
15
|
end
|
|
@@ -15,14 +15,11 @@ module Moov
|
|
|
15
15
|
|
|
16
16
|
field :amount, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
|
|
17
17
|
|
|
18
|
-
field :count, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('count') } }
|
|
19
|
-
|
|
20
18
|
field :interval, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('interval') } }
|
|
21
19
|
|
|
22
|
-
sig { params(amount: T.nilable(::String),
|
|
23
|
-
def initialize(amount: nil,
|
|
20
|
+
sig { params(amount: T.nilable(::String), interval: T.nilable(::String)).void }
|
|
21
|
+
def initialize(amount: nil, interval: nil)
|
|
24
22
|
@amount = amount
|
|
25
|
-
@count = count
|
|
26
23
|
@interval = interval
|
|
27
24
|
end
|
|
28
25
|
|
|
@@ -30,7 +27,6 @@ module Moov
|
|
|
30
27
|
def ==(other)
|
|
31
28
|
return false unless other.is_a? self.class
|
|
32
29
|
return false unless @amount == other.amount
|
|
33
|
-
return false unless @count == other.count
|
|
34
30
|
return false unless @interval == other.interval
|
|
35
31
|
true
|
|
36
32
|
end
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
# The risk rules that contributed to a transfer's risk decision.
|
|
11
|
+
#
|
|
12
|
+
# This information has limited availability and must be enabled for your account by Moov.
|
|
13
|
+
class PartnerRiskOutcomesResponse
|
|
14
|
+
extend T::Sig
|
|
15
|
+
include Crystalline::MetadataFields
|
|
16
|
+
|
|
17
|
+
# Identifier of the transfer these outcomes belong to.
|
|
18
|
+
field :transfer_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('transferID'), required: true } }
|
|
19
|
+
# The risk rules that contributed to the decision. May be empty when no rules are disclosed.
|
|
20
|
+
field :contributing_rules, Crystalline::Array.new(Models::Components::ContributingRule), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('contributingRules'), required: true } }
|
|
21
|
+
|
|
22
|
+
sig { params(transfer_id: ::String, contributing_rules: T::Array[Models::Components::ContributingRule]).void }
|
|
23
|
+
def initialize(transfer_id:, contributing_rules:)
|
|
24
|
+
@transfer_id = transfer_id
|
|
25
|
+
@contributing_rules = contributing_rules
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
29
|
+
def ==(other)
|
|
30
|
+
return false unless other.is_a? self.class
|
|
31
|
+
return false unless @transfer_id == other.transfer_id
|
|
32
|
+
return false unless @contributing_rules == other.contributing_rules
|
|
33
|
+
true
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::PartnerRiskOutcomesResponse
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::PartnerRiskOutcomesResponse
|
|
11
|
+
def transfer_id(); end
|
|
12
|
+
def transfer_id=(str_); end
|
|
13
|
+
def contributing_rules(); end
|
|
14
|
+
def contributing_rules=(str_); end
|
|
15
|
+
end
|
|
@@ -26,18 +26,13 @@ module Moov
|
|
|
26
26
|
# The `deferred` speed and `deferredBy` apply to `push-to-card` only. Other push methods
|
|
27
27
|
# (`push-to-apple-pay`, `push-to-google-pay`) are always delivered instantly regardless of these options.
|
|
28
28
|
field :push_options, Crystalline::Nilable.new(Models::Components::PushOptions), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pushOptions') } }
|
|
29
|
-
# Indicates which party bears the fee, keyed by disbursement payment method (`DisbursementPaymentMethodType`).
|
|
30
|
-
#
|
|
31
|
-
# Sparse — include only the methods you want to attribute. Any method left unset defaults to `source`.
|
|
32
|
-
field :fee_paid_by, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::FeePaidBy)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feePaidBy') } }
|
|
33
29
|
|
|
34
|
-
sig { params(allowed_methods: T::Array[Models::Components::DisbursementPaymentMethodType], recipient: Models::Components::PayoutRecipient, metadata: T.nilable(T::Hash[Symbol, ::String]), push_options: T.nilable(Models::Components::PushOptions)
|
|
35
|
-
def initialize(allowed_methods:, recipient:, metadata: nil, push_options: nil
|
|
30
|
+
sig { params(allowed_methods: T::Array[Models::Components::DisbursementPaymentMethodType], recipient: Models::Components::PayoutRecipient, metadata: T.nilable(T::Hash[Symbol, ::String]), push_options: T.nilable(Models::Components::PushOptions)).void }
|
|
31
|
+
def initialize(allowed_methods:, recipient:, metadata: nil, push_options: nil)
|
|
36
32
|
@allowed_methods = allowed_methods
|
|
37
33
|
@recipient = recipient
|
|
38
34
|
@metadata = metadata
|
|
39
35
|
@push_options = push_options
|
|
40
|
-
@fee_paid_by = fee_paid_by
|
|
41
36
|
end
|
|
42
37
|
|
|
43
38
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -47,7 +42,6 @@ module Moov
|
|
|
47
42
|
return false unless @recipient == other.recipient
|
|
48
43
|
return false unless @metadata == other.metadata
|
|
49
44
|
return false unless @push_options == other.push_options
|
|
50
|
-
return false unless @fee_paid_by == other.fee_paid_by
|
|
51
45
|
true
|
|
52
46
|
end
|
|
53
47
|
end
|
|
@@ -26,18 +26,13 @@ module Moov
|
|
|
26
26
|
# The `deferred` speed and `deferredBy` apply to `push-to-card` only. Other push methods
|
|
27
27
|
# (`push-to-apple-pay`, `push-to-google-pay`) are always delivered instantly regardless of these options.
|
|
28
28
|
field :push_options, Crystalline::Nilable.new(Models::Components::PushOptionsUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pushOptions') } }
|
|
29
|
-
# Indicates which party bears the fee, keyed by disbursement payment method (`DisbursementPaymentMethodType`).
|
|
30
|
-
#
|
|
31
|
-
# Sparse — include only the methods you want to attribute. Any method left unset defaults to `source`.
|
|
32
|
-
field :fee_paid_by, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::FeePaidBy)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feePaidBy') } }
|
|
33
29
|
|
|
34
|
-
sig { params(allowed_methods: T.nilable(T::Array[Models::Components::DisbursementPaymentMethodType]), recipient: T.nilable(Models::Components::PayoutRecipient), metadata: T.nilable(T::Hash[Symbol, ::String]), push_options: T.nilable(Models::Components::PushOptionsUpdate)
|
|
35
|
-
def initialize(allowed_methods: nil, recipient: nil, metadata: nil, push_options: nil
|
|
30
|
+
sig { params(allowed_methods: T.nilable(T::Array[Models::Components::DisbursementPaymentMethodType]), recipient: T.nilable(Models::Components::PayoutRecipient), metadata: T.nilable(T::Hash[Symbol, ::String]), push_options: T.nilable(Models::Components::PushOptionsUpdate)).void }
|
|
31
|
+
def initialize(allowed_methods: nil, recipient: nil, metadata: nil, push_options: nil)
|
|
36
32
|
@allowed_methods = allowed_methods
|
|
37
33
|
@recipient = recipient
|
|
38
34
|
@metadata = metadata
|
|
39
35
|
@push_options = push_options
|
|
40
|
-
@fee_paid_by = fee_paid_by
|
|
41
36
|
end
|
|
42
37
|
|
|
43
38
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -47,7 +42,6 @@ module Moov
|
|
|
47
42
|
return false unless @recipient == other.recipient
|
|
48
43
|
return false unless @metadata == other.metadata
|
|
49
44
|
return false unless @push_options == other.push_options
|
|
50
|
-
return false unless @fee_paid_by == other.fee_paid_by
|
|
51
45
|
true
|
|
52
46
|
end
|
|
53
47
|
end
|
|
@@ -19,7 +19,6 @@ module Moov
|
|
|
19
19
|
# Type of a wallet.
|
|
20
20
|
# - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
21
21
|
# - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
22
|
-
# - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
23
22
|
field :wallet_type, Models::Components::WalletType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletType'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::WalletType, false) } }
|
|
24
23
|
|
|
25
24
|
sig { params(wallet_id: ::String, partner_account_id: ::String, wallet_type: Models::Components::WalletType).void }
|
|
@@ -21,15 +21,12 @@ module Moov
|
|
|
21
21
|
|
|
22
22
|
field :push_options, Crystalline::Nilable.new(Models::Components::PushOptionsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pushOptions') } }
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
sig { params(allowed_methods: T.nilable(::String), recipient: T.nilable(Models::Components::PayoutRecipientError), metadata: T.nilable(::String), push_options: T.nilable(Models::Components::PushOptionsError), fee_paid_by: T.nilable(::String)).void }
|
|
27
|
-
def initialize(allowed_methods: nil, recipient: nil, metadata: nil, push_options: nil, fee_paid_by: nil)
|
|
24
|
+
sig { params(allowed_methods: T.nilable(::String), recipient: T.nilable(Models::Components::PayoutRecipientError), metadata: T.nilable(::String), push_options: T.nilable(Models::Components::PushOptionsError)).void }
|
|
25
|
+
def initialize(allowed_methods: nil, recipient: nil, metadata: nil, push_options: nil)
|
|
28
26
|
@allowed_methods = allowed_methods
|
|
29
27
|
@recipient = recipient
|
|
30
28
|
@metadata = metadata
|
|
31
29
|
@push_options = push_options
|
|
32
|
-
@fee_paid_by = fee_paid_by
|
|
33
30
|
end
|
|
34
31
|
|
|
35
32
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -39,7 +36,6 @@ module Moov
|
|
|
39
36
|
return false unless @recipient == other.recipient
|
|
40
37
|
return false unless @metadata == other.metadata
|
|
41
38
|
return false unless @push_options == other.push_options
|
|
42
|
-
return false unless @fee_paid_by == other.fee_paid_by
|
|
43
39
|
true
|
|
44
40
|
end
|
|
45
41
|
end
|
|
@@ -32,13 +32,11 @@ module Moov
|
|
|
32
32
|
field :option_groups, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::ProductOptionGroup)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('optionGroups') } }
|
|
33
33
|
# Optional images associated with the product.
|
|
34
34
|
field :images, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::ProductImageMetadata)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
|
|
35
|
-
# The product taxonomy category associated with the product, if any.
|
|
36
|
-
field :category, Crystalline::Nilable.new(Models::Components::ProductCategory), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('category') } }
|
|
37
35
|
# The date and time when the product was disabled.
|
|
38
36
|
field :disabled_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('disabledOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
|
|
39
37
|
|
|
40
|
-
sig { params(product_id: ::String, title: ::String, base_price: Models::Components::AmountDecimal, created_on: ::DateTime, updated_on: ::DateTime, description: T.nilable(::String), option_groups: T.nilable(T::Array[Models::Components::ProductOptionGroup]), images: T.nilable(T::Array[Models::Components::ProductImageMetadata]),
|
|
41
|
-
def initialize(product_id:, title:, base_price:, created_on:, updated_on:, description: nil, option_groups: nil, images: nil,
|
|
38
|
+
sig { params(product_id: ::String, title: ::String, base_price: Models::Components::AmountDecimal, created_on: ::DateTime, updated_on: ::DateTime, description: T.nilable(::String), option_groups: T.nilable(T::Array[Models::Components::ProductOptionGroup]), images: T.nilable(T::Array[Models::Components::ProductImageMetadata]), disabled_on: T.nilable(::DateTime)).void }
|
|
39
|
+
def initialize(product_id:, title:, base_price:, created_on:, updated_on:, description: nil, option_groups: nil, images: nil, disabled_on: nil)
|
|
42
40
|
@product_id = product_id
|
|
43
41
|
@title = title
|
|
44
42
|
@base_price = base_price
|
|
@@ -47,7 +45,6 @@ module Moov
|
|
|
47
45
|
@description = description
|
|
48
46
|
@option_groups = option_groups
|
|
49
47
|
@images = images
|
|
50
|
-
@category = category
|
|
51
48
|
@disabled_on = disabled_on
|
|
52
49
|
end
|
|
53
50
|
|
|
@@ -62,7 +59,6 @@ module Moov
|
|
|
62
59
|
return false unless @description == other.description
|
|
63
60
|
return false unless @option_groups == other.option_groups
|
|
64
61
|
return false unless @images == other.images
|
|
65
|
-
return false unless @category == other.category
|
|
66
62
|
return false unless @disabled_on == other.disabled_on
|
|
67
63
|
true
|
|
68
64
|
end
|
|
@@ -26,17 +26,14 @@ module Moov
|
|
|
26
26
|
field :images, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::AssignProductImage)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
|
|
27
27
|
# Optional configuration options for a product, such as size or color.
|
|
28
28
|
field :option_groups, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CreateProductOptionGroup)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('optionGroups') } }
|
|
29
|
-
# The ID of a product taxonomy category to associate with the product.
|
|
30
|
-
field :category_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('categoryID') } }
|
|
31
29
|
|
|
32
|
-
sig { params(title: ::String, base_price: Models::Components::AmountDecimal, description: T.nilable(::String), images: T.nilable(T::Array[Models::Components::AssignProductImage]), option_groups: T.nilable(T::Array[Models::Components::CreateProductOptionGroup])
|
|
33
|
-
def initialize(title:, base_price:, description: nil, images: nil, option_groups: nil
|
|
30
|
+
sig { params(title: ::String, base_price: Models::Components::AmountDecimal, description: T.nilable(::String), images: T.nilable(T::Array[Models::Components::AssignProductImage]), option_groups: T.nilable(T::Array[Models::Components::CreateProductOptionGroup])).void }
|
|
31
|
+
def initialize(title:, base_price:, description: nil, images: nil, option_groups: nil)
|
|
34
32
|
@title = title
|
|
35
33
|
@base_price = base_price
|
|
36
34
|
@description = description
|
|
37
35
|
@images = images
|
|
38
36
|
@option_groups = option_groups
|
|
39
|
-
@category_id = category_id
|
|
40
37
|
end
|
|
41
38
|
|
|
42
39
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -47,7 +44,6 @@ module Moov
|
|
|
47
44
|
return false unless @description == other.description
|
|
48
45
|
return false unless @images == other.images
|
|
49
46
|
return false unless @option_groups == other.option_groups
|
|
50
|
-
return false unless @category_id == other.category_id
|
|
51
47
|
true
|
|
52
48
|
end
|
|
53
49
|
end
|
|
@@ -21,15 +21,12 @@ module Moov
|
|
|
21
21
|
|
|
22
22
|
field :instant_bank, Crystalline::Nilable.new(Models::Components::SendFundsInstantBank), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('instantBank') } }
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
sig { params(ach: T.nilable(Models::Components::SendFundsAch), push_to_card: T.nilable(Models::Components::SendFundsPushToCard), rtp: T.nilable(Models::Components::SendFundsRtp), instant_bank: T.nilable(Models::Components::SendFundsInstantBank), wire: T.nilable(Models::Components::SendFundsWire)).void }
|
|
27
|
-
def initialize(ach: nil, push_to_card: nil, rtp: nil, instant_bank: nil, wire: nil)
|
|
24
|
+
sig { params(ach: T.nilable(Models::Components::SendFundsAch), push_to_card: T.nilable(Models::Components::SendFundsPushToCard), rtp: T.nilable(Models::Components::SendFundsRtp), instant_bank: T.nilable(Models::Components::SendFundsInstantBank)).void }
|
|
25
|
+
def initialize(ach: nil, push_to_card: nil, rtp: nil, instant_bank: nil)
|
|
28
26
|
@ach = ach
|
|
29
27
|
@push_to_card = push_to_card
|
|
30
28
|
@rtp = rtp
|
|
31
29
|
@instant_bank = instant_bank
|
|
32
|
-
@wire = wire
|
|
33
30
|
end
|
|
34
31
|
|
|
35
32
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -39,7 +36,6 @@ module Moov
|
|
|
39
36
|
return false unless @push_to_card == other.push_to_card
|
|
40
37
|
return false unless @rtp == other.rtp
|
|
41
38
|
return false unless @instant_bank == other.instant_bank
|
|
42
|
-
return false unless @wire == other.wire
|
|
43
39
|
true
|
|
44
40
|
end
|
|
45
41
|
end
|
|
@@ -21,15 +21,12 @@ module Moov
|
|
|
21
21
|
|
|
22
22
|
field :instant_bank, Crystalline::Nilable.new(Models::Components::SendFundsInstantBankError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('instantBank') } }
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
sig { params(ach: T.nilable(Models::Components::SendFundsAchError), push_to_card: T.nilable(Models::Components::SendFundsPushToCardError), rtp: T.nilable(Models::Components::SendFundsRtpError), instant_bank: T.nilable(Models::Components::SendFundsInstantBankError), wire: T.nilable(Models::Components::SendFundsWireError)).void }
|
|
27
|
-
def initialize(ach: nil, push_to_card: nil, rtp: nil, instant_bank: nil, wire: nil)
|
|
24
|
+
sig { params(ach: T.nilable(Models::Components::SendFundsAchError), push_to_card: T.nilable(Models::Components::SendFundsPushToCardError), rtp: T.nilable(Models::Components::SendFundsRtpError), instant_bank: T.nilable(Models::Components::SendFundsInstantBankError)).void }
|
|
25
|
+
def initialize(ach: nil, push_to_card: nil, rtp: nil, instant_bank: nil)
|
|
28
26
|
@ach = ach
|
|
29
27
|
@push_to_card = push_to_card
|
|
30
28
|
@rtp = rtp
|
|
31
29
|
@instant_bank = instant_bank
|
|
32
|
-
@wire = wire
|
|
33
30
|
end
|
|
34
31
|
|
|
35
32
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
@@ -39,7 +36,6 @@ module Moov
|
|
|
39
36
|
return false unless @push_to_card == other.push_to_card
|
|
40
37
|
return false unless @rtp == other.rtp
|
|
41
38
|
return false unless @instant_bank == other.instant_bank
|
|
42
|
-
return false unless @wire == other.wire
|
|
43
39
|
true
|
|
44
40
|
end
|
|
45
41
|
end
|