moov_ruby 0.3.34 → 0.3.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crystalline/enum.rbi +17 -0
  3. data/lib/crystalline/metadata_fields.rb +3 -3
  4. data/lib/crystalline/module.rb +2 -0
  5. data/lib/crystalline/types.rb +27 -0
  6. data/lib/moov/models/components/accounttype.rb +0 -2
  7. data/lib/moov/models/components/accountverificationstatus.rb +0 -2
  8. data/lib/moov/models/components/achcreditsamedaypaymentmethod_paymentmethodtype.rb +0 -2
  9. data/lib/moov/models/components/achcreditstandardpaymentmethod_paymentmethodtype.rb +0 -2
  10. data/lib/moov/models/components/achdebitcollectpaymentmethod_paymentmethodtype.rb +0 -2
  11. data/lib/moov/models/components/achdebitfundpaymentmethod_paymentmethodtype.rb +0 -2
  12. data/lib/moov/models/components/achreturncode.rb +0 -2
  13. data/lib/moov/models/components/achtransactionstatus.rb +0 -2
  14. data/lib/moov/models/components/applepaypaymentmethod_paymentmethodtype.rb +0 -2
  15. data/lib/moov/models/components/applicationscope.rb +0 -2
  16. data/lib/moov/models/components/bankaccountholdertype.rb +0 -2
  17. data/lib/moov/models/components/bankaccountstatus.rb +0 -2
  18. data/lib/moov/models/components/bankaccountstatusreason.rb +0 -2
  19. data/lib/moov/models/components/bankaccounttype.rb +0 -2
  20. data/lib/moov/models/components/bankaccountverificationmethod.rb +0 -2
  21. data/lib/moov/models/components/bankaccountverificationstatus.rb +0 -2
  22. data/lib/moov/models/components/bankaccountwaitfor.rb +0 -2
  23. data/lib/moov/models/components/businesspresence.rb +0 -2
  24. data/lib/moov/models/components/businesstype.rb +0 -2
  25. data/lib/moov/models/components/calltoaction.rb +0 -2
  26. data/lib/moov/models/components/cancellationstatus.rb +0 -2
  27. data/lib/moov/models/components/capabilityid.rb +0 -2
  28. data/lib/moov/models/components/capabilitystatus.rb +0 -2
  29. data/lib/moov/models/components/cardacquiringmodel.rb +0 -2
  30. data/lib/moov/models/components/cardbrand.rb +0 -2
  31. data/lib/moov/models/components/cardissuingnetwork.rb +0 -2
  32. data/lib/moov/models/components/cardpaymentpaymentmethod_paymentmethodtype.rb +0 -2
  33. data/lib/moov/models/components/cardpresentpaymentpaymentmethod_paymentmethodtype.rb +0 -2
  34. data/lib/moov/models/components/cardtransactionfailurecode.rb +0 -2
  35. data/lib/moov/models/components/cardtransactionstatus.rb +0 -2
  36. data/lib/moov/models/components/cardtype.rb +0 -2
  37. data/lib/moov/models/components/cardupdatereason.rb +0 -2
  38. data/lib/moov/models/components/cardverificationresult.rb +0 -2
  39. data/lib/moov/models/components/collectionpaymentmethodtype.rb +0 -2
  40. data/lib/moov/models/components/createaccounttype.rb +0 -2
  41. data/lib/moov/models/components/createinvoicelineitem.rb +5 -5
  42. data/lib/moov/models/components/createinvoicelineitem.rbi +2 -2
  43. data/lib/moov/models/components/createinvoicelineitemimage.rb +32 -0
  44. data/lib/moov/models/components/createinvoicelineitemimage.rbi +13 -0
  45. data/lib/moov/models/components/createinvoicelineitemimagevalidationerror.rb +32 -0
  46. data/lib/moov/models/components/createinvoicelineitemimagevalidationerror.rbi +13 -0
  47. data/lib/moov/models/components/createinvoicelineitemoption.rb +6 -6
  48. data/lib/moov/models/components/createinvoicelineitemoption.rbi +2 -2
  49. data/lib/moov/models/components/createinvoicelineitemoptionvalidationerror.rb +6 -2
  50. data/lib/moov/models/components/createinvoicelineitemoptionvalidationerror.rbi +2 -0
  51. data/lib/moov/models/components/createinvoicelineitemvalidationerror.rb +6 -2
  52. data/lib/moov/models/components/createinvoicelineitemvalidationerror.rbi +2 -0
  53. data/lib/moov/models/components/debitholdperiod.rb +0 -2
  54. data/lib/moov/models/components/disbursementpaymentmethodtype.rb +0 -2
  55. data/lib/moov/models/components/disputephase.rb +0 -2
  56. data/lib/moov/models/components/disputestatus.rb +0 -2
  57. data/lib/moov/models/components/documenttype.rb +0 -2
  58. data/lib/moov/models/components/domesticpullfromcard.rb +0 -2
  59. data/lib/moov/models/components/domesticpushtocard.rb +0 -2
  60. data/lib/moov/models/components/entrymode.rb +0 -2
  61. data/lib/moov/models/components/evidencetype.rb +0 -2
  62. data/lib/moov/models/components/feecategory.rb +0 -2
  63. data/lib/moov/models/components/feemodel.rb +0 -2
  64. data/lib/moov/models/components/feeplanagreementstatus.rb +0 -2
  65. data/lib/moov/models/components/filepurpose.rb +0 -2
  66. data/lib/moov/models/components/filestatus.rb +0 -2
  67. data/lib/moov/models/components/fulfillmentmethod.rb +0 -2
  68. data/lib/moov/models/components/fulfillmenttimeframe.rb +0 -2
  69. data/lib/moov/models/components/geographicreach.rb +0 -2
  70. data/lib/moov/models/components/granttype.rb +0 -2
  71. data/lib/moov/models/components/instantbankcreditpaymentmethod_paymentmethodtype.rb +0 -2
  72. data/lib/moov/models/components/invoicelineitemimagevalidationerror.rb +32 -0
  73. data/lib/moov/models/components/invoicelineitemimagevalidationerror.rbi +13 -0
  74. data/lib/moov/models/components/invoicelineitemoptionvalidationerror.rb +6 -2
  75. data/lib/moov/models/components/invoicelineitemoptionvalidationerror.rbi +2 -0
  76. data/lib/moov/models/components/invoicelineitemvalidationerror.rb +6 -2
  77. data/lib/moov/models/components/invoicelineitemvalidationerror.rbi +2 -0
  78. data/lib/moov/models/components/invoicepaymenttype.rb +0 -2
  79. data/lib/moov/models/components/invoicestatus.rb +0 -2
  80. data/lib/moov/models/components/issuedcardauthorizationeventresult.rb +0 -2
  81. data/lib/moov/models/components/issuedcardeventtype.rb +0 -2
  82. data/lib/moov/models/components/issuedcardformfactor.rb +0 -2
  83. data/lib/moov/models/components/issuedcardstate.rb +0 -2
  84. data/lib/moov/models/components/issuingauthorizationstatus.rb +0 -2
  85. data/lib/moov/models/components/issuingintervallimit.rb +0 -2
  86. data/lib/moov/models/components/kind.rb +0 -2
  87. data/lib/moov/models/components/linkcardwaitfor.rb +0 -2
  88. data/lib/moov/models/components/microdepositstatus.rb +0 -2
  89. data/lib/moov/models/components/mode.rb +0 -2
  90. data/lib/moov/models/components/monthlyvolumerange.rb +0 -2
  91. data/lib/moov/models/components/moovwalletpaymentmethod_paymentmethodtype.rb +0 -2
  92. data/lib/moov/models/components/occurrencestatus.rb +0 -2
  93. data/lib/moov/models/components/paymentlinkstatus.rb +0 -2
  94. data/lib/moov/models/components/paymentlinktype.rb +0 -2
  95. data/lib/moov/models/components/paymentmethodtype.rb +0 -2
  96. data/lib/moov/models/components/pendinglitigation.rb +0 -2
  97. data/lib/moov/models/components/primaryregulator.rb +0 -2
  98. data/lib/moov/models/components/pullfromcardpaymentmethod_paymentmethodtype.rb +0 -2
  99. data/lib/moov/models/components/pushtocardpaymentmethod_paymentmethodtype.rb +0 -2
  100. data/lib/moov/models/components/receiptkind.rb +0 -2
  101. data/lib/moov/models/components/refundcardstatus.rb +0 -2
  102. data/lib/moov/models/components/refundpolicy.rb +0 -2
  103. data/lib/moov/models/components/refundstatus.rb +0 -2
  104. data/lib/moov/models/components/requirementerrorcode.rb +0 -2
  105. data/lib/moov/models/components/requirementid.rb +0 -2
  106. data/lib/moov/models/components/returnpolicytype.rb +0 -2
  107. data/lib/moov/models/components/rtpcreditpaymentmethod_paymentmethodtype.rb +0 -2
  108. data/lib/moov/models/components/rtpfailurecode.rb +0 -2
  109. data/lib/moov/models/components/rtprejectioncode.rb +0 -2
  110. data/lib/moov/models/components/rtptransactionstatus.rb +0 -2
  111. data/lib/moov/models/components/seccode.rb +0 -2
  112. data/lib/moov/models/components/status.rb +0 -2
  113. data/lib/moov/models/components/submissionintent.rb +0 -2
  114. data/lib/moov/models/components/sweepconfigstatus.rb +0 -2
  115. data/lib/moov/models/components/sweepstatus.rb +0 -2
  116. data/lib/moov/models/components/terminalapplicationplatform.rb +0 -2
  117. data/lib/moov/models/components/terminalapplicationstatus.rb +0 -2
  118. data/lib/moov/models/components/ticketstatus.rb +0 -2
  119. data/lib/moov/models/components/token_type_hint.rb +0 -2
  120. data/lib/moov/models/components/tokentype.rb +0 -2
  121. data/lib/moov/models/components/transactionsource.rb +0 -2
  122. data/lib/moov/models/components/transferfailurereason.rb +0 -2
  123. data/lib/moov/models/components/transferparty.rb +0 -2
  124. data/lib/moov/models/components/transferstatus.rb +0 -2
  125. data/lib/moov/models/components/transferwaitfor.rb +0 -2
  126. data/lib/moov/models/components/underwritingstatus.rb +0 -2
  127. data/lib/moov/models/components/updateissuedcardstate.rb +0 -2
  128. data/lib/moov/models/components/updateticketstatus.rb +0 -2
  129. data/lib/moov/models/components/use.rb +0 -2
  130. data/lib/moov/models/components/verificationstatus.rb +0 -2
  131. data/lib/moov/models/components/verificationstatusdetail.rb +0 -2
  132. data/lib/moov/models/components/walletstatus.rb +0 -2
  133. data/lib/moov/models/components/wallettransactionsourcetype.rb +0 -2
  134. data/lib/moov/models/components/wallettransactionstatus.rb +0 -2
  135. data/lib/moov/models/components/wallettransactiontype.rb +0 -2
  136. data/lib/moov/models/components/wallettype.rb +0 -2
  137. data/lib/moov/models/components/webhookdatatransferstatus.rb +0 -2
  138. data/lib/moov/models/components/webhookeventtype.rb +0 -2
  139. data/lib/moov/models/components/webhookstatus.rb +0 -2
  140. data/lib/moov/models/components.rb +3 -0
  141. data/lib/moov/models/operations/createtransfer_request.rb +2 -2
  142. data/lib/moov/models/operations/getscheduledoccurrence_request.rb +4 -4
  143. data/lib/moov/models/operations/hydrate.rb +0 -2
  144. data/lib/moov/sdkconfiguration.rb +3 -3
  145. data/lib/moov/utils/url.rb +1 -1
  146. data/lib/moov/utils/utils.rb +12 -0
  147. metadata +9 -2
@@ -21,12 +21,15 @@ module Moov
21
21
 
22
22
  field :quantity, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity') } }
23
23
 
24
- sig { params(name: T.nilable(::String), group: T.nilable(::String), price_modifier: T.nilable(Models::Components::AmountDecimalValidationError), quantity: T.nilable(::String)).void }
25
- def initialize(name: nil, group: nil, price_modifier: nil, quantity: nil)
24
+ field :images, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::CreateInvoiceLineItemImageValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
25
+
26
+ sig { params(name: T.nilable(::String), group: T.nilable(::String), price_modifier: T.nilable(Models::Components::AmountDecimalValidationError), quantity: T.nilable(::String), images: T.nilable(T::Hash[Symbol, Models::Components::CreateInvoiceLineItemImageValidationError])).void }
27
+ def initialize(name: nil, group: nil, price_modifier: nil, quantity: nil, images: nil)
26
28
  @name = name
27
29
  @group = group
28
30
  @price_modifier = price_modifier
29
31
  @quantity = quantity
32
+ @images = images
30
33
  end
31
34
 
32
35
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -36,6 +39,7 @@ module Moov
36
39
  return false unless @group == other.group
37
40
  return false unless @price_modifier == other.price_modifier
38
41
  return false unless @quantity == other.quantity
42
+ return false unless @images == other.images
39
43
  true
40
44
  end
41
45
  end
@@ -16,4 +16,6 @@ class Moov::Models::Components::CreateInvoiceLineItemOptionValidationError
16
16
  def price_modifier=(str_); end
17
17
  def quantity(); end
18
18
  def quantity=(str_); end
19
+ def images(); end
20
+ def images=(str_); end
19
21
  end
@@ -23,13 +23,16 @@ module Moov
23
23
 
24
24
  field :quantity, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity') } }
25
25
 
26
- sig { params(product_id: T.nilable(::String), name: T.nilable(::String), base_price: T.nilable(Models::Components::AmountDecimalValidationError), options: T.nilable(T::Hash[Symbol, Models::Components::CreateInvoiceLineItemOptionValidationError]), quantity: T.nilable(::String)).void }
27
- def initialize(product_id: nil, name: nil, base_price: nil, options: nil, quantity: nil)
26
+ field :images, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::CreateInvoiceLineItemImageValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
27
+
28
+ sig { params(product_id: T.nilable(::String), name: T.nilable(::String), base_price: T.nilable(Models::Components::AmountDecimalValidationError), options: T.nilable(T::Hash[Symbol, Models::Components::CreateInvoiceLineItemOptionValidationError]), quantity: T.nilable(::String), images: T.nilable(T::Hash[Symbol, Models::Components::CreateInvoiceLineItemImageValidationError])).void }
29
+ def initialize(product_id: nil, name: nil, base_price: nil, options: nil, quantity: nil, images: nil)
28
30
  @product_id = product_id
29
31
  @name = name
30
32
  @base_price = base_price
31
33
  @options = options
32
34
  @quantity = quantity
35
+ @images = images
33
36
  end
34
37
 
35
38
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -40,6 +43,7 @@ module Moov
40
43
  return false unless @base_price == other.base_price
41
44
  return false unless @options == other.options
42
45
  return false unless @quantity == other.quantity
46
+ return false unless @images == other.images
43
47
  true
44
48
  end
45
49
  end
@@ -18,4 +18,6 @@ class Moov::Models::Components::CreateInvoiceLineItemValidationError
18
18
  def options=(str_); end
19
19
  def quantity(); end
20
20
  def quantity=(str_); end
21
+ def images(); end
22
+ def images=(str_); end
21
23
  end
@@ -9,8 +9,6 @@ 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
-
14
12
  enums do
15
13
  NO_HOLD = new('no-hold')
16
14
  ONE_MINUS_DAY = new('1-day')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # DisbursementPaymentMethodType - Payment methods allowed for disbursing funds.
11
11
  class DisbursementPaymentMethodType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PUSH_TO_CARD = new('push-to-card')
16
14
  RTP_CREDIT = new('rtp-credit')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # DisputePhase - The phase of a dispute within the dispute lifecycle.
11
11
  class DisputePhase < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PRE_DISPUTE = new('pre-dispute')
16
14
  INQUIRY = new('inquiry')
@@ -11,8 +11,6 @@ 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
-
16
14
  enums do
17
15
  RESPONSE_NEEDED = new('response-needed')
18
16
  RESOLVED = new('resolved')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # DocumentType - Types of documents that can be uploaded.
11
11
  class DocumentType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  DRIVERS_LICENSE = new('driversLicense')
16
14
  PASSPORT = new('passport')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # DomesticPullFromCard - Indicates if the card supports domestic pull-from-card transfer.
11
11
  class DomesticPullFromCard < T::Enum
12
-
13
-
14
12
  enums do
15
13
  NOT_SUPPORTED = new('not-supported')
16
14
  SUPPORTED = new('supported')
@@ -9,8 +9,6 @@ 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
-
14
12
  enums do
15
13
  NOT_SUPPORTED = new('not-supported')
16
14
  STANDARD = new('standard')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # EntryMode - How the card information was entered into the point of sale terminal.
11
11
  class EntryMode < T::Enum
12
-
13
-
14
12
  enums do
15
13
  CONTACTLESS = new('contactless')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class EvidenceType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  RECEIPT = new('receipt')
16
14
  PROOF_OF_DELIVERY = new('proof-of-delivery')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class FeeCategory < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ACH = new('ach')
16
14
  CARD_ACQUIRING = new('card-acquiring')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # FeeModel - Specifies the pricing model used for the calculation of the final fee.
11
11
  class FeeModel < T::Enum
12
-
13
-
14
12
  enums do
15
13
  FIXED = new('fixed')
16
14
  BLENDED = new('blended')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class FeePlanAgreementStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ACTIVE = new('active')
16
14
  TERMINATED = new('terminated')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # FilePurpose - The file's purpose.
11
11
  class FilePurpose < T::Enum
12
-
13
-
14
12
  enums do
15
13
  BUSINESS_VERIFICATION = new('business_verification')
16
14
  REPRESENTATIVE_VERIFICATION = new('representative_verification')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # FileStatus - The file's status.
11
11
  class FileStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PENDING = new('pending')
16
14
  APPROVED = new('approved')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class FulfillmentMethod < T::Enum
12
-
13
-
14
12
  enums do
15
13
  BILL_OR_DEBT_PAYMENT = new('bill-or-debt-payment')
16
14
  DIGITAL_CONTENT = new('digital-content')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class FulfillmentTimeframe < T::Enum
12
-
13
-
14
12
  enums do
15
13
  IMMEDIATE = new('immediate')
16
14
  OTHER = new('other')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class GeographicReach < T::Enum
12
-
13
-
14
12
  enums do
15
13
  INTERNATIONAL_ONLY = new('international-only')
16
14
  US_AND_INTERNATIONAL = new('us-and-international')
@@ -12,8 +12,6 @@ module Moov
12
12
  # - `client_credentials`: A grant type used by clients to obtain an access token
13
13
  # - `refresh_token`: A grant type used by clients to obtain a new access token using a refresh token
14
14
  class GrantType < T::Enum
15
-
16
-
17
15
  enums do
18
16
  CLIENT_CREDENTIALS = new('client_credentials')
19
17
  REFRESH_TOKEN = new('refresh_token')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class InstantBankCreditPaymentMethodPaymentMethodType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  INSTANT_BANK_CREDIT = new('instant-bank-credit')
16
14
  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 InvoiceLineItemImageValidationError
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :image_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('imageID') } }
17
+
18
+ sig { params(image_id: T.nilable(::String)).void }
19
+ def initialize(image_id: nil)
20
+ @image_id = image_id
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 @image_id == other.image_id
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::InvoiceLineItemImageValidationError
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::InvoiceLineItemImageValidationError
11
+ def image_id(); end
12
+ def image_id=(str_); end
13
+ end
@@ -21,12 +21,15 @@ module Moov
21
21
 
22
22
  field :quantity, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity') } }
23
23
 
24
- sig { params(name: T.nilable(::String), group: T.nilable(::String), price_modifier: T.nilable(Models::Components::AmountDecimalValidationError), quantity: T.nilable(::String)).void }
25
- def initialize(name: nil, group: nil, price_modifier: nil, quantity: nil)
24
+ field :images, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::InvoiceLineItemImageValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
25
+
26
+ sig { params(name: T.nilable(::String), group: T.nilable(::String), price_modifier: T.nilable(Models::Components::AmountDecimalValidationError), quantity: T.nilable(::String), images: T.nilable(T::Hash[Symbol, Models::Components::InvoiceLineItemImageValidationError])).void }
27
+ def initialize(name: nil, group: nil, price_modifier: nil, quantity: nil, images: nil)
26
28
  @name = name
27
29
  @group = group
28
30
  @price_modifier = price_modifier
29
31
  @quantity = quantity
32
+ @images = images
30
33
  end
31
34
 
32
35
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -36,6 +39,7 @@ module Moov
36
39
  return false unless @group == other.group
37
40
  return false unless @price_modifier == other.price_modifier
38
41
  return false unless @quantity == other.quantity
42
+ return false unless @images == other.images
39
43
  true
40
44
  end
41
45
  end
@@ -16,4 +16,6 @@ class Moov::Models::Components::InvoiceLineItemOptionValidationError
16
16
  def price_modifier=(str_); end
17
17
  def quantity(); end
18
18
  def quantity=(str_); end
19
+ def images(); end
20
+ def images=(str_); end
19
21
  end
@@ -23,13 +23,16 @@ module Moov
23
23
 
24
24
  field :quantity, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('quantity') } }
25
25
 
26
- sig { params(product_id: T.nilable(::String), name: T.nilable(::String), base_price: T.nilable(Models::Components::AmountDecimalValidationError), options: T.nilable(T::Hash[Symbol, Models::Components::InvoiceLineItemOptionValidationError]), quantity: T.nilable(::String)).void }
27
- def initialize(product_id: nil, name: nil, base_price: nil, options: nil, quantity: nil)
26
+ field :images, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, Models::Components::InvoiceLineItemImageValidationError)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('images') } }
27
+
28
+ sig { params(product_id: T.nilable(::String), name: T.nilable(::String), base_price: T.nilable(Models::Components::AmountDecimalValidationError), options: T.nilable(T::Hash[Symbol, Models::Components::InvoiceLineItemOptionValidationError]), quantity: T.nilable(::String), images: T.nilable(T::Hash[Symbol, Models::Components::InvoiceLineItemImageValidationError])).void }
29
+ def initialize(product_id: nil, name: nil, base_price: nil, options: nil, quantity: nil, images: nil)
28
30
  @product_id = product_id
29
31
  @name = name
30
32
  @base_price = base_price
31
33
  @options = options
32
34
  @quantity = quantity
35
+ @images = images
33
36
  end
34
37
 
35
38
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -40,6 +43,7 @@ module Moov
40
43
  return false unless @base_price == other.base_price
41
44
  return false unless @options == other.options
42
45
  return false unless @quantity == other.quantity
46
+ return false unless @images == other.images
43
47
  true
44
48
  end
45
49
  end
@@ -18,4 +18,6 @@ class Moov::Models::Components::InvoiceLineItemValidationError
18
18
  def options=(str_); end
19
19
  def quantity(); end
20
20
  def quantity=(str_); end
21
+ def images(); end
22
+ def images=(str_); end
21
23
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class InvoicePaymentType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  TRANSFER = new('transfer')
16
14
  EXTERNAL = new('external')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class InvoiceStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  DRAFT = new('draft')
16
14
  UNPAID = new('unpaid')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # IssuedCardAuthorizationEventResult - The result of an event.
11
11
  class IssuedCardAuthorizationEventResult < T::Enum
12
-
13
-
14
12
  enums do
15
13
  APPROVED = new('approved')
16
14
  DECLINED = new('declined')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # IssuedCardEventType - The type of event that occurred on the card.
11
11
  class IssuedCardEventType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  AUTHORIZATION = new('authorization')
16
14
  REVERSAL = new('reversal')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # IssuedCardFormFactor - Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
11
11
  class IssuedCardFormFactor < T::Enum
12
-
13
-
14
12
  enums do
15
13
  VIRTUAL = new('virtual')
16
14
  end
@@ -14,8 +14,6 @@ module Moov
14
14
  # - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
15
15
  # - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
16
16
  class IssuedCardState < T::Enum
17
-
18
-
19
17
  enums do
20
18
  ACTIVE = new('active')
21
19
  INACTIVE = new('inactive')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # IssuingAuthorizationStatus - Status of a card issuing authorization.
11
11
  class IssuingAuthorizationStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PENDING = new('pending')
16
14
  DECLINED = new('declined')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # IssuingIntervalLimit - Specifies the time frame for the velocity limit. Currently supports only per-transaction limits.
11
11
  class IssuingIntervalLimit < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PER_TRANSACTION = new('per-transaction')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # Kind - The type of receipt being requested.
11
11
  class Kind < T::Enum
12
-
13
-
14
12
  enums do
15
13
  SALE_CUSTOMER_V1 = new('sale.customer.v1')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class LinkCardWaitFor < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PAYMENT_METHOD = new('payment-method')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class MicroDepositStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  VERIFIED = new('verified')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # Mode - The operating mode for an account.
11
11
  class Mode < T::Enum
12
-
13
-
14
12
  enums do
15
13
  SANDBOX = new('sandbox')
16
14
  PRODUCTION = new('production')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # MonthlyVolumeRange - The low value in each range is included. The high value in each range is excluded.
11
11
  class MonthlyVolumeRange < T::Enum
12
-
13
-
14
12
  enums do
15
13
  UNDER_10K = new('under-10k')
16
14
  TENK_50K = new('10k-50k')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class MoovWalletPaymentMethodPaymentMethodType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  MOOV_WALLET = new('moov-wallet')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # OccurrenceStatus - Status of the completed occurrence.
11
11
  class OccurrenceStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PENDING = new('pending')
16
14
  FAILED = new('failed')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PaymentLinkStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  ACTIVE = new('active')
16
14
  USED = new('used')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PaymentLinkType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PAYMENT = new('payment')
16
14
  PAYOUT = new('payout')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # PaymentMethodType - The payment method type that represents a payment rail and directionality
11
11
  class PaymentMethodType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  MOOV_WALLET = new('moov-wallet')
16
14
  ACH_DEBIT_FUND = new('ach-debit-fund')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PendingLitigation < T::Enum
12
-
13
-
14
12
  enums do
15
13
  BANKRUPTCY_OR_INSOLVENCY = new('bankruptcy-or-insolvency')
16
14
  CONSUMER_PROTECTION_OR_CLASS_ACTION = new('consumer-protection-or-class-action')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # PrimaryRegulator - If the business is a financial institution, this field describes its primary regulator.
11
11
  class PrimaryRegulator < T::Enum
12
-
13
-
14
12
  enums do
15
13
  OCC = new('OCC')
16
14
  FDIC = new('FDIC')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PullFromCardPaymentMethodPaymentMethodType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PULL_FROM_CARD = new('pull-from-card')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class PushToCardPaymentMethodPaymentMethodType < T::Enum
12
-
13
-
14
12
  enums do
15
13
  PUSH_TO_CARD = new('push-to-card')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
  # ReceiptKind - The type of receipt being requested.
11
11
  class ReceiptKind < T::Enum
12
-
13
-
14
12
  enums do
15
13
  SALE_CUSTOMER_V1 = new('sale.customer.v1')
16
14
  end
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RefundCardStatus < T::Enum
12
-
13
-
14
12
  enums do
15
13
  INITIATED = new('initiated')
16
14
  CONFIRMED = new('confirmed')
@@ -9,8 +9,6 @@ module Moov
9
9
  module Components
10
10
 
11
11
  class RefundPolicy < T::Enum
12
-
13
-
14
12
  enums do
15
13
  CONDITIONAL_REFUND = new('conditional-refund')
16
14
  CUSTOM_POLICY = new('custom-policy')