moov_ruby 25.11.2 → 25.11.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64ef10ae7dd6f3b92d2d5050518c20112c2c3a01fb11e394e2b0cb060005c6d4
4
- data.tar.gz: 17afe773202e6d194b7a0d1ec94743208fe6c954159d099e40cc02cdc2be6c06
3
+ metadata.gz: 82d2a5ee2a9694351a30eb30597dc3a8c5544e9a945cbce4ce606427c15a2312
4
+ data.tar.gz: c208f0f0a44b5f2f6e0135ed18be091cb9313c55b4ecb661909885c25d16dc82
5
5
  SHA512:
6
- metadata.gz: cfa5dfa9cfce04ee38ba0f9e14060564c1f6a0b3d3211f7fd066bba1065aa22a7a5f34823056462f525be6a0201162f319593b26d3179909c643ae4e50253633
7
- data.tar.gz: f6bc35409c70bb5ca09c35055f704960df4cdfef2b86b63f2c5acf99e11d5866620480ef6b3d42c4c897f349a55ed74df9b55ae80353253b421bb079a6980c65
6
+ metadata.gz: cbdfbe710e4b02ca913440ee264e72f02f2c4273f0036984ed3479862acd68c24917b3f2375322e8328d45db37ea9d6a89087d9da562bcb04741866cb59cfc9f
7
+ data.tar.gz: 2ce7f5fa04c744b823530c45f5c3a3e6eacf16f097b889187aa034d076b0084cdaa7056c8b76d4e4adfaaef29b9d9e64abb3802ca2dad2bb88bb9f4a3c12b8b5
@@ -60,7 +60,7 @@ module Moov
60
60
  field :occurrence_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('occurrenceID') } }
61
61
 
62
62
  field :payment_link_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('paymentLinkCode') } }
63
- # Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged.
63
+ # Optional sales tax amount.
64
64
  field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
65
65
  # Optional alias from a foreign/external system which can be used to reference this resource.
66
66
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
@@ -21,13 +21,18 @@ module Moov
21
21
  field :partner_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('partnerAccountID'), required: true } }
22
22
  # The merchant's preferred payment method ID. Must be a wallet payment method.
23
23
  field :merchant_payment_method_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantPaymentMethodID'), required: true } }
24
-
24
+ # The fixed amount of the payment link.
25
+ #
26
+ # In API versions before `2026.07.00`, this was a required field.
27
+ #
28
+ # In API version `2026.07.00` and beyond, this field is required for `fixed` payment amount types and omitted
29
+ # for `open` payment amount types.
25
30
  field :amount, Models::Components::Amount, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount'), required: true } }
26
31
  # Customizable display options for a payment link.
27
32
  field :display, Models::Components::PaymentLinkDisplayOptions, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('display'), required: true } }
28
-
33
+ # Optional sales tax amount.
29
34
  field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
30
- # An optional limit on the number of times this payment link can be used.
35
+ # An optional limit on the number of times this payment link can be used.
31
36
  #
32
37
  # **For payouts, `maxUses` is always 1.**
33
38
  field :max_uses, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('maxUses') } }
@@ -24,7 +24,7 @@ module Moov
24
24
  field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
25
25
  # Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
26
26
  field :metadata, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::String)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('metadata') } }
27
- # Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged.
27
+
28
28
  field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
29
29
  # Optional alias from a foreign/external system which can be used to reference this resource.
30
30
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
@@ -30,7 +30,12 @@ module Moov
30
30
  field :merchant_payment_method_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantPaymentMethodID'), required: true } }
31
31
  # Link to the payment landing page for this payment link.
32
32
  field :link, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('link'), required: true } }
33
-
33
+ # The fixed amount of the payment link.
34
+ #
35
+ # In API versions before `2026.07.00`, this was a required field.
36
+ #
37
+ # In API version `2026.07.00` and beyond, this field is required for `fixed` payment amount types and omitted
38
+ # for `open` payment amount types.
34
39
  field :amount, Models::Components::Amount, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount'), required: true } }
35
40
  # The number of times this payment link has been used.
36
41
  field :uses, ::Integer, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('uses'), required: true } }
@@ -44,7 +49,7 @@ module Moov
44
49
  field :updated_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('updatedOn'), required: true, 'decoder': ::Moov::Utils.datetime_from_iso_format(false) } }
45
50
  # Optional sales tax amount.
46
51
  field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
47
- # An optional limit on the number of times this payment link can be used.
52
+ # An optional limit on the number of times this payment link can be used.
48
53
  #
49
54
  # **For payouts, `maxUses` is always 1.**
50
55
  field :max_uses, Crystalline::Nilable.new(::Integer), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('maxUses') } }
@@ -62,7 +62,7 @@ module Moov
62
62
  field :occurrence_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('occurrenceID') } }
63
63
 
64
64
  field :payment_link_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('paymentLinkCode') } }
65
- # Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged.
65
+
66
66
  field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
67
67
  # Optional alias from a foreign/external system which can be used to reference this resource.
68
68
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
@@ -62,7 +62,7 @@ module Moov
62
62
  field :occurrence_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('occurrenceID') } }
63
63
 
64
64
  field :payment_link_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('paymentLinkCode') } }
65
- # Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged.
65
+
66
66
  field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
67
67
  # Optional alias from a foreign/external system which can be used to reference this resource.
68
68
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
@@ -88,9 +88,9 @@ module Moov
88
88
  end
89
89
  @language = 'ruby'
90
90
  @openapi_doc_version = 'v2025.10.00'
91
- @sdk_version = '25.11.2'
92
- @gen_version = '2.881.2'
93
- @user_agent = 'speakeasy-sdk/ruby 25.11.2 2.881.2 v2025.10.00 moov_ruby'
91
+ @sdk_version = '25.11.3'
92
+ @gen_version = '2.881.4'
93
+ @user_agent = 'speakeasy-sdk/ruby 25.11.3 2.881.4 v2025.10.00 moov_ruby'
94
94
  end
95
95
 
96
96
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moov_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 25.11.2
4
+ version: 25.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-20 00:00:00.000000000 Z
11
+ date: 2026-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64