moov_ruby 25.4.3 → 25.7.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/crystalline/metadata_fields.rb +3 -3
- data/lib/crystalline/module.rb +0 -2
- data/lib/crystalline/types.rb +0 -27
- data/lib/moov/client.rb +2 -1
- data/lib/moov/models/components/accounttype.rb +3 -0
- data/lib/moov/models/components/accountverificationstatus.rb +2 -0
- data/lib/moov/models/components/achcreditsamedaypaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/achcreditstandardpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/achdebitcollectpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/achdebitfundpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/achreturncode.rb +2 -0
- data/lib/moov/models/components/achtransactionstatus.rb +2 -0
- data/lib/moov/models/components/applepaypaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/applicationscope.rb +2 -0
- data/lib/moov/models/components/bankaccountholdertype.rb +3 -0
- data/lib/moov/models/components/bankaccountstatus.rb +2 -0
- data/lib/moov/models/components/bankaccountstatusreason.rb +2 -0
- data/lib/moov/models/components/bankaccounttype.rb +2 -0
- data/lib/moov/models/components/bankaccountverificationmethod.rb +2 -0
- data/lib/moov/models/components/bankaccountverificationstatus.rb +2 -0
- data/lib/moov/models/components/bankaccountwaitfor.rb +2 -0
- data/lib/moov/models/components/businesspresence.rb +25 -0
- data/lib/moov/models/components/businesspresence.rbi +11 -0
- data/lib/moov/models/components/businesstype.rb +2 -0
- data/lib/moov/models/components/calltoaction.rb +2 -0
- data/lib/moov/models/components/cancellationstatus.rb +2 -0
- data/lib/moov/models/components/capabilityid.rb +13 -0
- data/lib/moov/models/components/capabilitystatus.rb +2 -0
- data/lib/moov/models/components/cardacceptancemethods.rb +40 -0
- data/lib/moov/models/components/cardacceptancemethods.rbi +17 -0
- data/lib/moov/models/components/cardacceptancemethodserror.rb +40 -0
- data/lib/moov/models/components/cardacceptancemethodserror.rbi +17 -0
- data/lib/moov/models/components/cardacquiringmodel.rb +2 -0
- data/lib/moov/models/components/cardbrand.rb +2 -0
- data/lib/moov/models/components/cardissuingnetwork.rb +2 -0
- data/lib/moov/models/components/cardpaymentpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/cardtransactionfailurecode.rb +2 -0
- data/lib/moov/models/components/cardtransactionstatus.rb +2 -0
- data/lib/moov/models/components/cardtype.rb +2 -0
- data/lib/moov/models/components/cardupdatereason.rb +2 -0
- data/lib/moov/models/components/cardverificationresult.rb +2 -0
- data/lib/moov/models/components/collectfunds.rb +36 -0
- data/lib/moov/models/components/collectfunds.rbi +15 -0
- data/lib/moov/models/components/collectfundsach.rb +32 -0
- data/lib/moov/models/components/collectfundsach.rbi +13 -0
- data/lib/moov/models/components/collectfundsacherror.rb +32 -0
- data/lib/moov/models/components/collectfundsacherror.rbi +13 -0
- data/lib/moov/models/components/collectfundscardpayments.rb +48 -0
- data/lib/moov/models/components/collectfundscardpayments.rbi +21 -0
- data/lib/moov/models/components/collectfundscardpaymentserror.rb +48 -0
- data/lib/moov/models/components/collectfundscardpaymentserror.rbi +21 -0
- data/lib/moov/models/components/collectfundserror.rb +36 -0
- data/lib/moov/models/components/collectfundserror.rbi +15 -0
- data/lib/moov/models/components/collectionpaymentmethodtype.rb +2 -0
- data/lib/moov/models/components/createaccount.rb +3 -3
- data/lib/moov/models/components/createaccounttype.rb +21 -0
- data/lib/moov/models/components/createaccounttype.rbi +11 -0
- data/lib/moov/models/components/createpaymentlinklineitem.rb +2 -6
- data/lib/moov/models/components/createpaymentlinklineitemoption.rb +1 -4
- data/lib/moov/models/components/createscheduledtransferlineitem.rb +1 -2
- data/lib/moov/models/components/createticket.rb +48 -0
- data/lib/moov/models/components/createticket.rbi +21 -0
- data/lib/moov/models/components/createticketcontacterror.rb +36 -0
- data/lib/moov/models/components/createticketcontacterror.rbi +15 -0
- data/lib/moov/models/components/createtransferlineitem.rb +1 -2
- data/lib/moov/models/components/debitholdperiod.rb +2 -0
- data/lib/moov/models/components/disbursementpaymentmethodtype.rb +2 -0
- data/lib/moov/models/components/disputephase.rb +2 -0
- data/lib/moov/models/components/disputestatus.rb +2 -0
- data/lib/moov/models/components/documenttype.rb +2 -0
- data/lib/moov/models/components/domesticpullfromcard.rb +2 -0
- data/lib/moov/models/components/domesticpushtocard.rb +2 -0
- data/lib/moov/models/components/enrichedindustries.rb +2 -2
- data/lib/moov/models/components/entrymode.rb +2 -0
- data/lib/moov/models/components/estimatedactivity.rb +40 -0
- data/lib/moov/models/components/estimatedactivity.rbi +17 -0
- data/lib/moov/models/components/estimatedactivityerror.rb +40 -0
- data/lib/moov/models/components/estimatedactivityerror.rbi +17 -0
- data/lib/moov/models/components/evidencetype.rb +2 -0
- data/lib/moov/models/components/feecategory.rb +2 -0
- data/lib/moov/models/components/feemodel.rb +2 -0
- data/lib/moov/models/components/feeplanagreementstatus.rb +2 -0
- data/lib/moov/models/components/filepurpose.rb +2 -0
- data/lib/moov/models/components/filestatus.rb +2 -0
- data/lib/moov/models/components/fulfillment.rb +36 -0
- data/lib/moov/models/components/fulfillment.rbi +15 -0
- data/lib/moov/models/components/fulfillmenterror.rb +36 -0
- data/lib/moov/models/components/fulfillmenterror.rbi +15 -0
- data/lib/moov/models/components/fulfillmentmethod.rb +28 -0
- data/lib/moov/models/components/fulfillmentmethod.rbi +11 -0
- data/lib/moov/models/components/fulfillmenttimeframe.rb +27 -0
- data/lib/moov/models/components/fulfillmenttimeframe.rbi +11 -0
- data/lib/moov/models/components/geographicreach.rb +22 -0
- data/lib/moov/models/components/geographicreach.rbi +11 -0
- data/lib/moov/models/components/granttype.rb +2 -0
- data/lib/moov/models/components/guestprofile.rb +41 -0
- data/lib/moov/models/components/guestprofile.rbi +17 -0
- data/lib/moov/models/components/imagemetadata.rb +1 -1
- data/lib/moov/models/components/industrytaxonomy.rb +48 -0
- data/lib/moov/models/components/industrytaxonomy.rbi +21 -0
- data/lib/moov/models/components/invoicestatus.rb +2 -0
- data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +2 -0
- data/lib/moov/models/components/issuedcardeventtype.rb +2 -0
- data/lib/moov/models/components/issuedcardformfactor.rb +2 -0
- data/lib/moov/models/components/issuedcardstate.rb +2 -0
- data/lib/moov/models/components/issuingauthorizationstatus.rb +2 -0
- data/lib/moov/models/components/issuingintervallimit.rb +2 -0
- data/lib/moov/models/components/itemlistnextpage.rb +32 -0
- data/lib/moov/models/components/itemlistnextpage.rbi +13 -0
- data/lib/moov/models/components/kind.rb +2 -0
- data/lib/moov/models/components/linkcardwaitfor.rb +2 -0
- data/lib/moov/models/components/microdepositstatus.rb +2 -0
- data/lib/moov/models/components/mode.rb +2 -0
- data/lib/moov/models/components/moneytransfer.rb +36 -0
- data/lib/moov/models/components/moneytransfer.rbi +15 -0
- data/lib/moov/models/components/moneytransfererror.rb +36 -0
- data/lib/moov/models/components/moneytransfererror.rbi +15 -0
- data/lib/moov/models/components/moneytransferpullfromcard.rb +32 -0
- data/lib/moov/models/components/moneytransferpullfromcard.rbi +13 -0
- data/lib/moov/models/components/moneytransferpullfromcarderror.rb +32 -0
- data/lib/moov/models/components/moneytransferpullfromcarderror.rbi +13 -0
- data/lib/moov/models/components/moneytransferpushtocard.rb +32 -0
- data/lib/moov/models/components/moneytransferpushtocard.rbi +13 -0
- data/lib/moov/models/components/moneytransferpushtocarderror.rb +32 -0
- data/lib/moov/models/components/moneytransferpushtocarderror.rbi +13 -0
- data/lib/moov/models/components/monthlyvolumerange.rb +27 -0
- data/lib/moov/models/components/monthlyvolumerange.rbi +11 -0
- data/lib/moov/models/components/moovwalletpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/occurrencestatus.rb +2 -0
- data/lib/moov/models/components/paymentlinkstatus.rb +2 -0
- data/lib/moov/models/components/paymentlinktype.rb +2 -0
- data/lib/moov/models/components/paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/pendinglitigation.rb +29 -0
- data/lib/moov/models/components/pendinglitigation.rbi +11 -0
- data/lib/moov/models/components/primaryregulator.rb +2 -0
- data/lib/moov/models/components/profile.rb +6 -2
- data/lib/moov/models/components/profile.rbi +2 -0
- data/lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/pushtocardpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/receiptkind.rb +2 -0
- data/lib/moov/models/components/refundcardstatus.rb +2 -0
- data/lib/moov/models/components/refundpolicy.rb +28 -0
- data/lib/moov/models/components/refundpolicy.rbi +11 -0
- data/lib/moov/models/components/refundstatus.rb +2 -0
- data/lib/moov/models/components/requirementerrorcode.rb +2 -0
- data/lib/moov/models/components/requirementid.rb +56 -0
- data/lib/moov/models/components/returnpolicytype.rb +2 -0
- data/lib/moov/models/components/rtpcreditpaymentmethod_paymentmethodtype.rb +2 -0
- data/lib/moov/models/components/rtpfailurecode.rb +2 -0
- data/lib/moov/models/components/rtprejectioncode.rb +2 -0
- data/lib/moov/models/components/rtptransactionstatus.rb +2 -0
- data/lib/moov/models/components/seccode.rb +2 -0
- data/lib/moov/models/components/sendfunds.rb +44 -0
- data/lib/moov/models/components/sendfunds.rbi +19 -0
- data/lib/moov/models/components/sendfundsach.rb +32 -0
- data/lib/moov/models/components/sendfundsach.rbi +13 -0
- data/lib/moov/models/components/sendfundsacherror.rb +32 -0
- data/lib/moov/models/components/sendfundsacherror.rbi +13 -0
- data/lib/moov/models/components/sendfundserror.rb +44 -0
- data/lib/moov/models/components/sendfundserror.rbi +19 -0
- data/lib/moov/models/components/sendfundsinstantbank.rb +32 -0
- data/lib/moov/models/components/sendfundsinstantbank.rbi +13 -0
- data/lib/moov/models/components/sendfundsinstantbankerror.rb +32 -0
- data/lib/moov/models/components/sendfundsinstantbankerror.rbi +13 -0
- data/lib/moov/models/components/sendfundspushtocard.rb +32 -0
- data/lib/moov/models/components/sendfundspushtocard.rbi +13 -0
- data/lib/moov/models/components/sendfundspushtocarderror.rb +32 -0
- data/lib/moov/models/components/sendfundspushtocarderror.rbi +13 -0
- data/lib/moov/models/components/sendfundsrtp.rb +32 -0
- data/lib/moov/models/components/sendfundsrtp.rbi +13 -0
- data/lib/moov/models/components/sendfundsrtperror.rb +32 -0
- data/lib/moov/models/components/sendfundsrtperror.rbi +13 -0
- data/lib/moov/models/components/status.rb +2 -0
- data/lib/moov/models/components/submissionintent.rb +21 -0
- data/lib/moov/models/components/submissionintent.rbi +11 -0
- data/lib/moov/models/components/sweepconfigstatus.rb +2 -0
- data/lib/moov/models/components/sweepstatus.rb +2 -0
- data/lib/moov/models/components/terminalapplicationplatform.rb +2 -0
- data/lib/moov/models/components/terminalapplicationstatus.rb +2 -0
- data/lib/moov/models/components/ticket.rb +68 -0
- data/lib/moov/models/components/ticket.rbi +31 -0
- data/lib/moov/models/components/ticketcontact.rb +36 -0
- data/lib/moov/models/components/ticketcontact.rbi +15 -0
- data/lib/moov/models/components/ticketmessage.rb +40 -0
- data/lib/moov/models/components/ticketmessage.rbi +17 -0
- data/lib/moov/models/components/ticketstatus.rb +2 -0
- data/lib/moov/models/components/token_type_hint.rb +2 -0
- data/lib/moov/models/components/tokentype.rb +2 -0
- data/lib/moov/models/components/transactionsource.rb +2 -0
- data/lib/moov/models/components/transferfailurereason.rb +2 -0
- data/lib/moov/models/components/transferparty.rb +2 -0
- data/lib/moov/models/components/transfersource.rb +1 -1
- data/lib/moov/models/components/transferstatus.rb +2 -0
- data/lib/moov/models/components/transferwaitfor.rb +2 -0
- data/lib/moov/models/components/underwriting.rb +37 -9
- data/lib/moov/models/components/underwriting.rbi +14 -0
- data/lib/moov/models/components/underwritingstatus.rb +2 -0
- data/lib/moov/models/components/updateissuedcardstate.rb +2 -0
- data/lib/moov/models/components/updateticket.rb +32 -0
- data/lib/moov/models/components/updateticket.rbi +13 -0
- data/lib/moov/models/components/updateticketstatus.rb +20 -0
- data/lib/moov/models/components/updateticketstatus.rbi +11 -0
- data/lib/moov/models/components/upsertunderwriting.rb +60 -0
- data/lib/moov/models/components/upsertunderwriting.rbi +27 -0
- data/lib/moov/models/components/use.rb +2 -0
- data/lib/moov/models/components/verificationstatus.rb +2 -0
- data/lib/moov/models/components/verificationstatusdetail.rb +2 -0
- data/lib/moov/models/components/volumesharebycustomertype.rb +40 -0
- data/lib/moov/models/components/volumesharebycustomertype.rbi +17 -0
- data/lib/moov/models/components/volumesharebycustomertypeerror.rb +40 -0
- data/lib/moov/models/components/volumesharebycustomertypeerror.rbi +17 -0
- data/lib/moov/models/components/walletstatus.rb +2 -0
- data/lib/moov/models/components/wallettransactionsourcetype.rb +2 -0
- data/lib/moov/models/components/wallettransactionstatus.rb +2 -0
- data/lib/moov/models/components/wallettransactiontype.rb +2 -0
- data/lib/moov/models/components/wallettype.rb +2 -0
- data/lib/moov/models/components/webhookdatatransferstatus.rb +2 -0
- data/lib/moov/models/components/webhookeventtype.rb +2 -0
- data/lib/moov/models/components/webhookstatus.rb +2 -0
- data/lib/moov/models/components.rb +50 -1
- data/lib/moov/models/errors/createticketerror.rb +52 -0
- data/lib/moov/models/errors/createticketerror.rbi +23 -0
- data/lib/moov/models/errors/updateticketerror.rb +36 -0
- data/lib/moov/models/errors/updateticketerror.rbi +15 -0
- data/lib/moov/models/errors/upsertunderwritingerror.rb +88 -0
- data/lib/moov/models/errors/upsertunderwritingerror.rbi +41 -0
- data/lib/moov/models/errors.rb +3 -0
- data/lib/moov/models/operations/createticket_request.rb +49 -0
- data/lib/moov/models/operations/createticket_request.rbi +17 -0
- data/lib/moov/models/operations/createticket_response.rb +48 -0
- data/lib/moov/models/operations/createticket_response.rbi +21 -0
- data/lib/moov/models/operations/createtransfer_request.rb +2 -2
- data/lib/moov/models/operations/getscheduledoccurrence_request.rb +4 -4
- data/lib/moov/models/operations/getticket_request.rb +49 -0
- data/lib/moov/models/operations/getticket_request.rbi +17 -0
- data/lib/moov/models/operations/getticket_response.rb +48 -0
- data/lib/moov/models/operations/getticket_response.rbi +21 -0
- data/lib/moov/models/operations/hydrate.rb +2 -0
- data/lib/moov/models/operations/listaccounts_request.rb +2 -2
- data/lib/moov/models/operations/listconnectedaccountsforaccount_request.rb +2 -2
- data/lib/moov/models/operations/listticketmessages_request.rb +49 -0
- data/lib/moov/models/operations/listticketmessages_request.rbi +17 -0
- data/lib/moov/models/operations/listticketmessages_response.rb +48 -0
- data/lib/moov/models/operations/listticketmessages_response.rbi +21 -0
- data/lib/moov/models/operations/listtickets_request.rb +61 -0
- data/lib/moov/models/operations/listtickets_request.rbi +23 -0
- data/lib/moov/models/operations/listtickets_response.rb +48 -0
- data/lib/moov/models/operations/listtickets_response.rbi +21 -0
- data/lib/moov/models/operations/listtickets_responsebody.rb +36 -0
- data/lib/moov/models/operations/listtickets_responsebody.rbi +15 -0
- data/lib/moov/models/operations/saveunderwriting_request.rb +49 -0
- data/lib/moov/models/operations/saveunderwriting_request.rbi +17 -0
- data/lib/moov/models/operations/saveunderwriting_response.rb +48 -0
- data/lib/moov/models/operations/saveunderwriting_response.rbi +21 -0
- data/lib/moov/models/operations/updateticket_request.rb +53 -0
- data/lib/moov/models/operations/updateticket_request.rbi +19 -0
- data/lib/moov/models/operations/updateticket_response.rb +48 -0
- data/lib/moov/models/operations/updateticket_response.rbi +21 -0
- data/lib/moov/models/operations.rb +13 -0
- data/lib/moov/sdkconfiguration.rb +4 -4
- data/lib/moov/support.rb +748 -0
- data/lib/moov/underwriting.rb +166 -0
- data/lib/moov/utils/url.rb +1 -1
- data/lib/moov/utils/utils.rb +0 -12
- data/lib/moov_ruby.rb +1 -0
- metadata +135 -5
- data/lib/crystalline/enum.rbi +0 -17
- data/lib/moov/models/components/enrichedindustry.rb +0 -44
- data/lib/moov/models/components/enrichedindustry.rbi +0 -19
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::CollectFunds
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::CollectFunds
|
|
11
|
+
def ach(); end
|
|
12
|
+
def ach=(str_); end
|
|
13
|
+
def card_payments(); end
|
|
14
|
+
def card_payments=(str_); end
|
|
15
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
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 CollectFundsAch
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :estimated_activity, Crystalline::Nilable.new(Models::Components::EstimatedActivity), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('estimatedActivity') } }
|
|
17
|
+
|
|
18
|
+
sig { params(estimated_activity: T.nilable(Models::Components::EstimatedActivity)).void }
|
|
19
|
+
def initialize(estimated_activity: nil)
|
|
20
|
+
@estimated_activity = estimated_activity
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
|
+
def ==(other)
|
|
25
|
+
return false unless other.is_a? self.class
|
|
26
|
+
return false unless @estimated_activity == other.estimated_activity
|
|
27
|
+
true
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::CollectFundsAch
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::CollectFundsAch
|
|
11
|
+
def estimated_activity(); end
|
|
12
|
+
def estimated_activity=(str_); end
|
|
13
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
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 CollectFundsAchError
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :estimated_activity, Crystalline::Nilable.new(Models::Components::EstimatedActivityError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('estimatedActivity') } }
|
|
17
|
+
|
|
18
|
+
sig { params(estimated_activity: T.nilable(Models::Components::EstimatedActivityError)).void }
|
|
19
|
+
def initialize(estimated_activity: nil)
|
|
20
|
+
@estimated_activity = estimated_activity
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
24
|
+
def ==(other)
|
|
25
|
+
return false unless other.is_a? self.class
|
|
26
|
+
return false unless @estimated_activity == other.estimated_activity
|
|
27
|
+
true
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::CollectFundsAchError
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::CollectFundsAchError
|
|
11
|
+
def estimated_activity(); end
|
|
12
|
+
def estimated_activity=(str_); end
|
|
13
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
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 CollectFundsCardPayments
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
# Describes the distribution of card transactions by payment method.
|
|
16
|
+
field :card_acceptance_methods, Crystalline::Nilable.new(Models::Components::CardAcceptanceMethods), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardAcceptanceMethods') } }
|
|
17
|
+
|
|
18
|
+
field :currently_accepts_cards, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('currentlyAcceptsCards') } }
|
|
19
|
+
|
|
20
|
+
field :estimated_activity, Crystalline::Nilable.new(Models::Components::EstimatedActivity), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('estimatedActivity') } }
|
|
21
|
+
|
|
22
|
+
field :fulfillment, Crystalline::Nilable.new(Models::Components::Fulfillment), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fulfillment') } }
|
|
23
|
+
|
|
24
|
+
field :refund_policy, Crystalline::Nilable.new(Models::Components::RefundPolicy), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('refundPolicy'), 'decoder': Utils.enum_from_string(Models::Components::RefundPolicy, true) } }
|
|
25
|
+
|
|
26
|
+
sig { params(card_acceptance_methods: T.nilable(Models::Components::CardAcceptanceMethods), currently_accepts_cards: T.nilable(T::Boolean), estimated_activity: T.nilable(Models::Components::EstimatedActivity), fulfillment: T.nilable(Models::Components::Fulfillment), refund_policy: T.nilable(Models::Components::RefundPolicy)).void }
|
|
27
|
+
def initialize(card_acceptance_methods: nil, currently_accepts_cards: nil, estimated_activity: nil, fulfillment: nil, refund_policy: nil)
|
|
28
|
+
@card_acceptance_methods = card_acceptance_methods
|
|
29
|
+
@currently_accepts_cards = currently_accepts_cards
|
|
30
|
+
@estimated_activity = estimated_activity
|
|
31
|
+
@fulfillment = fulfillment
|
|
32
|
+
@refund_policy = refund_policy
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
+
def ==(other)
|
|
37
|
+
return false unless other.is_a? self.class
|
|
38
|
+
return false unless @card_acceptance_methods == other.card_acceptance_methods
|
|
39
|
+
return false unless @currently_accepts_cards == other.currently_accepts_cards
|
|
40
|
+
return false unless @estimated_activity == other.estimated_activity
|
|
41
|
+
return false unless @fulfillment == other.fulfillment
|
|
42
|
+
return false unless @refund_policy == other.refund_policy
|
|
43
|
+
true
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::CollectFundsCardPayments
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::CollectFundsCardPayments
|
|
11
|
+
def card_acceptance_methods(); end
|
|
12
|
+
def card_acceptance_methods=(str_); end
|
|
13
|
+
def currently_accepts_cards(); end
|
|
14
|
+
def currently_accepts_cards=(str_); end
|
|
15
|
+
def estimated_activity(); end
|
|
16
|
+
def estimated_activity=(str_); end
|
|
17
|
+
def fulfillment(); end
|
|
18
|
+
def fulfillment=(str_); end
|
|
19
|
+
def refund_policy(); end
|
|
20
|
+
def refund_policy=(str_); end
|
|
21
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
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 CollectFundsCardPaymentsError
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :card_acceptance_methods, Crystalline::Nilable.new(Models::Components::CardAcceptanceMethodsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardAcceptanceMethods') } }
|
|
17
|
+
|
|
18
|
+
field :currently_accepts_cards, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('currentlyAcceptsCards') } }
|
|
19
|
+
|
|
20
|
+
field :estimated_activity, Crystalline::Nilable.new(Models::Components::EstimatedActivityError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('estimatedActivity') } }
|
|
21
|
+
|
|
22
|
+
field :fulfillment, Crystalline::Nilable.new(Models::Components::FulfillmentError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fulfillment') } }
|
|
23
|
+
|
|
24
|
+
field :refund_policy, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('refundPolicy') } }
|
|
25
|
+
|
|
26
|
+
sig { params(card_acceptance_methods: T.nilable(Models::Components::CardAcceptanceMethodsError), currently_accepts_cards: T.nilable(::String), estimated_activity: T.nilable(Models::Components::EstimatedActivityError), fulfillment: T.nilable(Models::Components::FulfillmentError), refund_policy: T.nilable(::String)).void }
|
|
27
|
+
def initialize(card_acceptance_methods: nil, currently_accepts_cards: nil, estimated_activity: nil, fulfillment: nil, refund_policy: nil)
|
|
28
|
+
@card_acceptance_methods = card_acceptance_methods
|
|
29
|
+
@currently_accepts_cards = currently_accepts_cards
|
|
30
|
+
@estimated_activity = estimated_activity
|
|
31
|
+
@fulfillment = fulfillment
|
|
32
|
+
@refund_policy = refund_policy
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
+
def ==(other)
|
|
37
|
+
return false unless other.is_a? self.class
|
|
38
|
+
return false unless @card_acceptance_methods == other.card_acceptance_methods
|
|
39
|
+
return false unless @currently_accepts_cards == other.currently_accepts_cards
|
|
40
|
+
return false unless @estimated_activity == other.estimated_activity
|
|
41
|
+
return false unless @fulfillment == other.fulfillment
|
|
42
|
+
return false unless @refund_policy == other.refund_policy
|
|
43
|
+
true
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::CollectFundsCardPaymentsError
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::CollectFundsCardPaymentsError
|
|
11
|
+
def card_acceptance_methods(); end
|
|
12
|
+
def card_acceptance_methods=(str_); end
|
|
13
|
+
def currently_accepts_cards(); end
|
|
14
|
+
def currently_accepts_cards=(str_); end
|
|
15
|
+
def estimated_activity(); end
|
|
16
|
+
def estimated_activity=(str_); end
|
|
17
|
+
def fulfillment(); end
|
|
18
|
+
def fulfillment=(str_); end
|
|
19
|
+
def refund_policy(); end
|
|
20
|
+
def refund_policy=(str_); end
|
|
21
|
+
end
|
|
@@ -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 Components
|
|
10
|
+
|
|
11
|
+
class CollectFundsError
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :ach, Crystalline::Nilable.new(Models::Components::CollectFundsAchError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('ach') } }
|
|
17
|
+
|
|
18
|
+
field :card_payments, Crystalline::Nilable.new(Models::Components::CollectFundsCardPaymentsError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardPayments') } }
|
|
19
|
+
|
|
20
|
+
sig { params(ach: T.nilable(Models::Components::CollectFundsAchError), card_payments: T.nilable(Models::Components::CollectFundsCardPaymentsError)).void }
|
|
21
|
+
def initialize(ach: nil, card_payments: nil)
|
|
22
|
+
@ach = ach
|
|
23
|
+
@card_payments = card_payments
|
|
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 @ach == other.ach
|
|
30
|
+
return false unless @card_payments == other.card_payments
|
|
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::Components::CollectFundsError
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::CollectFundsError
|
|
11
|
+
def ach(); end
|
|
12
|
+
def ach=(str_); end
|
|
13
|
+
def card_payments(); end
|
|
14
|
+
def card_payments=(str_); end
|
|
15
|
+
end
|
|
@@ -12,8 +12,8 @@ module Moov
|
|
|
12
12
|
extend T::Sig
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
field :account_type, Models::Components::
|
|
15
|
+
|
|
16
|
+
field :account_type, Models::Components::CreateAccountType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountType'), required: true, 'decoder': Utils.enum_from_string(Models::Components::CreateAccountType, false) } }
|
|
17
17
|
|
|
18
18
|
field :profile, Models::Components::CreateProfile, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('profile'), required: true } }
|
|
19
19
|
# Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
@@ -32,7 +32,7 @@ module Moov
|
|
|
32
32
|
# The operating mode for an account.
|
|
33
33
|
field :mode, Crystalline::Nilable.new(Models::Components::Mode), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('mode'), 'decoder': Utils.enum_from_string(Models::Components::Mode, true) } }
|
|
34
34
|
|
|
35
|
-
sig { params(account_type: Models::Components::
|
|
35
|
+
sig { params(account_type: Models::Components::CreateAccountType, profile: Models::Components::CreateProfile, metadata: T.nilable(T::Hash[Symbol, ::String]), terms_of_service: T.nilable(Models::Components::TermsOfServicePayload), foreign_id: T.nilable(::String), customer_support: T.nilable(Models::Components::CustomerSupport), settings: T.nilable(Models::Components::Settings), capabilities: T.nilable(T::Array[Models::Components::CapabilityID]), mode: T.nilable(Models::Components::Mode)).void }
|
|
36
36
|
def initialize(account_type:, profile:, metadata: nil, terms_of_service: nil, foreign_id: nil, customer_support: nil, settings: nil, capabilities: nil, mode: nil)
|
|
37
37
|
@account_type = account_type
|
|
38
38
|
@profile = profile
|
|
@@ -0,0 +1,21 @@
|
|
|
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 CreateAccountType < T::Enum
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
enums do
|
|
15
|
+
INDIVIDUAL = new('individual')
|
|
16
|
+
BUSINESS = new('business')
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -20,13 +20,9 @@ module Moov
|
|
|
20
20
|
field :quantity, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity'), required: true } }
|
|
21
21
|
# Optional list of modifiers applied to this item (e.g., toppings, upgrades, customizations).
|
|
22
22
|
field :options, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CreatePaymentLinkLineItemOption)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('options') } }
|
|
23
|
-
#
|
|
24
|
-
# This field is deprecated and will be ignored. A future release will populate images associated with the given productID.
|
|
25
|
-
#
|
|
26
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
23
|
+
# Optional list of images associated with this line item.
|
|
27
24
|
field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
|
|
28
|
-
#
|
|
29
|
-
# This is for reporting or tracking purposes, and does not populate other details of the line item.
|
|
25
|
+
# Optional unique identifier associating the line item with a product.
|
|
30
26
|
field :product_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('productID') } }
|
|
31
27
|
|
|
32
28
|
sig { params(name: ::String, base_price: Models::Components::AmountDecimal, quantity: ::Integer, options: T.nilable(T::Array[Models::Components::CreatePaymentLinkLineItemOption]), image_i_ds: T.nilable(T::Array[::String]), product_id: T.nilable(::String)).void }
|
|
@@ -18,10 +18,7 @@ module Moov
|
|
|
18
18
|
field :quantity, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity'), required: true } }
|
|
19
19
|
# Optional price modification applied by this option. Can be positive, negative, or zero.
|
|
20
20
|
field :price_modifier, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('priceModifier') } }
|
|
21
|
-
#
|
|
22
|
-
# This field is deprecated and will be ignored. A future release will populate images associated with the given productID.
|
|
23
|
-
#
|
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
21
|
+
# Optional list of images associated with this line item option.
|
|
25
22
|
field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
|
|
26
23
|
# Optional group identifier to categorize related options (e.g., 'toppings').
|
|
27
24
|
field :group, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('group') } }
|
|
@@ -20,8 +20,7 @@ module Moov
|
|
|
20
20
|
field :quantity, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity'), required: true } }
|
|
21
21
|
# Optional list of modifiers applied to this item (e.g., toppings, upgrades, customizations).
|
|
22
22
|
field :options, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CreateScheduledTransferLineItemOption)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('options') } }
|
|
23
|
-
#
|
|
24
|
-
# This is for reporting or tracking purposes, and does not populate other details of the line item.
|
|
23
|
+
# Optional unique identifier associating the line item with a product.
|
|
25
24
|
field :product_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('productID') } }
|
|
26
25
|
# Optional list of images associated with this line item.
|
|
27
26
|
field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
# Request to create a new support ticket.
|
|
11
|
+
class CreateTicket
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :title, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('title'), required: true } }
|
|
17
|
+
|
|
18
|
+
field :body, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('body'), required: true } }
|
|
19
|
+
|
|
20
|
+
field :contact, Models::Components::TicketContact, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('contact'), required: true } }
|
|
21
|
+
|
|
22
|
+
field :author, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('author') } }
|
|
23
|
+
|
|
24
|
+
field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
|
|
25
|
+
|
|
26
|
+
sig { params(title: ::String, body: ::String, contact: Models::Components::TicketContact, author: T.nilable(::String), foreign_id: T.nilable(::String)).void }
|
|
27
|
+
def initialize(title:, body:, contact:, author: nil, foreign_id: nil)
|
|
28
|
+
@title = title
|
|
29
|
+
@body = body
|
|
30
|
+
@contact = contact
|
|
31
|
+
@author = author
|
|
32
|
+
@foreign_id = foreign_id
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig { params(other: T.untyped).returns(T::Boolean) }
|
|
36
|
+
def ==(other)
|
|
37
|
+
return false unless other.is_a? self.class
|
|
38
|
+
return false unless @title == other.title
|
|
39
|
+
return false unless @body == other.body
|
|
40
|
+
return false unless @contact == other.contact
|
|
41
|
+
return false unless @author == other.author
|
|
42
|
+
return false unless @foreign_id == other.foreign_id
|
|
43
|
+
true
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Moov::Models::Components::CreateTicket
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::CreateTicket
|
|
11
|
+
def title(); end
|
|
12
|
+
def title=(str_); end
|
|
13
|
+
def body(); end
|
|
14
|
+
def body=(str_); end
|
|
15
|
+
def contact(); end
|
|
16
|
+
def contact=(str_); end
|
|
17
|
+
def author(); end
|
|
18
|
+
def author=(str_); end
|
|
19
|
+
def foreign_id(); end
|
|
20
|
+
def foreign_id=(str_); end
|
|
21
|
+
end
|
|
@@ -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 Components
|
|
10
|
+
|
|
11
|
+
class CreateTicketContactError
|
|
12
|
+
extend T::Sig
|
|
13
|
+
include Crystalline::MetadataFields
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
field :email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('email') } }
|
|
17
|
+
|
|
18
|
+
field :name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('name') } }
|
|
19
|
+
|
|
20
|
+
sig { params(email: T.nilable(::String), name: T.nilable(::String)).void }
|
|
21
|
+
def initialize(email: nil, name: nil)
|
|
22
|
+
@email = email
|
|
23
|
+
@name = name
|
|
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 @email == other.email
|
|
30
|
+
return false unless @name == other.name
|
|
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::Components::CreateTicketContactError
|
|
6
|
+
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Moov::Models::Components::CreateTicketContactError
|
|
11
|
+
def email(); end
|
|
12
|
+
def email=(str_); end
|
|
13
|
+
def name(); end
|
|
14
|
+
def name=(str_); end
|
|
15
|
+
end
|
|
@@ -22,8 +22,7 @@ module Moov
|
|
|
22
22
|
field :options, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::CreateTransferLineItemOption)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('options') } }
|
|
23
23
|
# Optional list of images associated with this line item.
|
|
24
24
|
field :image_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageIDs') } }
|
|
25
|
-
#
|
|
26
|
-
# This is for reporting or tracking purposes, and does not populate other details of the line item.
|
|
25
|
+
# Optional unique identifier associating the line item with a product.
|
|
27
26
|
field :product_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('productID') } }
|
|
28
27
|
|
|
29
28
|
sig { params(name: ::String, base_price: Models::Components::AmountDecimal, quantity: ::Integer, options: T.nilable(T::Array[Models::Components::CreateTransferLineItemOption]), image_i_ds: T.nilable(T::Array[::String]), product_id: T.nilable(::String)).void }
|
|
@@ -9,6 +9,8 @@ module Moov
|
|
|
9
9
|
module Components
|
|
10
10
|
# DebitHoldPeriod - An optional override of your default ACH hold period in banking days. The hold period must be longer than or equal to your default setting.
|
|
11
11
|
class DebitHoldPeriod < T::Enum
|
|
12
|
+
|
|
13
|
+
|
|
12
14
|
enums do
|
|
13
15
|
NO_HOLD = new('no-hold')
|
|
14
16
|
ONE_MINUS_DAY = new('1-day')
|
|
@@ -11,6 +11,8 @@ module Moov
|
|
|
11
11
|
#
|
|
12
12
|
# Read our [disputes guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/disputes/#dispute-statuses) to learn what each status means.
|
|
13
13
|
class DisputeStatus < T::Enum
|
|
14
|
+
|
|
15
|
+
|
|
14
16
|
enums do
|
|
15
17
|
RESPONSE_NEEDED = new('response-needed')
|
|
16
18
|
RESOLVED = new('resolved')
|
|
@@ -9,6 +9,8 @@ module Moov
|
|
|
9
9
|
module Components
|
|
10
10
|
# DomesticPushToCard - Indicates which level of domestic push-to-card transfer is supported by the card, if any.
|
|
11
11
|
class DomesticPushToCard < T::Enum
|
|
12
|
+
|
|
13
|
+
|
|
12
14
|
enums do
|
|
13
15
|
NOT_SUPPORTED = new('not-supported')
|
|
14
16
|
STANDARD = new('standard')
|
|
@@ -13,9 +13,9 @@ module Moov
|
|
|
13
13
|
include Crystalline::MetadataFields
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
field :industries, Crystalline::Array.new(Models::Components::
|
|
16
|
+
field :industries, Crystalline::Array.new(Models::Components::IndustryTaxonomy), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('industries'), required: true } }
|
|
17
17
|
|
|
18
|
-
sig { params(industries: T::Array[Models::Components::
|
|
18
|
+
sig { params(industries: T::Array[Models::Components::IndustryTaxonomy]).void }
|
|
19
19
|
def initialize(industries:)
|
|
20
20
|
@industries = industries
|
|
21
21
|
end
|