moov_ruby 0.3.31 → 0.3.32

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: 4ce07d2fbd348a41d7e971211903a8e989afabe184663818b66ac9829f29c931
4
- data.tar.gz: 2b33cffcef9b46c54a4dc50fd5806c129cd2d40f597bdc90ee3edc4c7dbcb5eb
3
+ metadata.gz: 2efcfd9b5ac4c175d4b5a1651b9f72385400a0df1160ff3b40356a349e989dca
4
+ data.tar.gz: c938d085dbc46b6195fbfb129c83f2a1e314081cc23b70b698a78a171be5929f
5
5
  SHA512:
6
- metadata.gz: e75a6028a02c3888b2afe7cdbb77e1849a07be70fbc93f64e5b97928b65cf93d732b98f9505ec508c9c67e3f2fb0f90042632a66436d1815a98ac014c6a7ab82
7
- data.tar.gz: df0055bf80e0b1d6e0aa6a2752e3bb46da8f8f1a3ddcf9faa501e0df0935a3ac12eb1fe5cd01c1f2fc74c29a8c74abe71c9a7af732f94c601af9fdfacfc664d9
6
+ metadata.gz: 05f33928152b6c26a0cb5c1cdf98f899a93718e9c8bee95734e43bf1301addd5cab9fea63a4640a47fed2a7c6c94001a7d6987f6a96ad28bfd117988874cae91
7
+ data.tar.gz: 8cf6b80bb74155fed544c6c2f9c1f5014df49eed21459bdad36b328748fec4faad587af73f5eed47e443f202555e86f2c744d66f1d8fa39775d1b13f59926faf
@@ -14,21 +14,21 @@ module Moov
14
14
 
15
15
 
16
16
  field :fee_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feeID') } }
17
-
17
+ # Account ID the fee belongs to.
18
18
  field :account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID') } }
19
-
19
+ # Wallet ID associated with the fee.
20
20
  field :wallet_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('walletID') } }
21
-
21
+ # Timestamp when the fee was created.
22
22
  field :created_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), 'decoder': Utils.datetime_from_iso_format(true) } }
23
-
23
+ # Name of the fee.
24
24
  field :fee_name, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('feeName') } }
25
-
25
+ # The fee amount.
26
26
  field :amount, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
27
- # The entity that generated the fee.
27
+ # Object indicating what generated the fee (TransferID, CardID, DisputeID, AccountID, or BankAccountID).
28
28
  field :generated_by, Crystalline::Nilable.new(Models::Components::GeneratedBy), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('generatedBy') } }
29
-
29
+ # Describes the source of the fee, such as a Moov-set processing fee, a network pass-through fee, or an interchange or discount fee.
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
33
 
34
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 }
@@ -12,35 +12,31 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
-
15
+ # Unique identifier for this residual payment calculation.
16
16
  field :residual_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('residualID'), required: true } }
17
-
17
+ # The partner account ID this residual belongs to.
18
18
  field :partner_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('partnerAccountID'), required: true } }
19
-
19
+ # Start date and time of the residual calculation period.
20
20
  field :period_start, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('periodStart'), required: true, 'decoder': Utils.datetime_from_iso_format(false) } }
21
-
21
+ # End date and time of the residual calculation period.
22
22
  field :period_end, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('periodEnd'), required: true, 'decoder': Utils.datetime_from_iso_format(false) } }
23
-
23
+ # Total amount of merchant fees collected during the period. This represents the partner's revenue from merchant fees.
24
24
  field :merchant_fees, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantFees'), required: true } }
25
-
25
+ # Partner's total cost (buy rate) during the period.
26
26
  field :partner_cost, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('partnerCost'), required: true } }
27
-
27
+ # Net income calculated as merchant fee revenue minus partner costs.
28
28
  field :net_income, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('netIncome'), required: true } }
29
- # The decimal-formatted numerical string of the revenue split for partner.
30
- #
31
- # For example, 2.25% is '2.25'.
29
+ # The revenue share percentage the partner receives, expressed as a decimal string (e.g., "25.00" for 25%).
32
30
  field :revenue_share, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('revenueShare'), required: true } }
33
-
31
+ # The amount the partner receives as their share of the net income (netIncome × revenueShare).
34
32
  field :residual_amount, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('residualAmount'), required: true } }
35
-
36
- field :moov_share, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('moovShare'), required: true } }
37
-
33
+ # Timestamp when the residual was created.
38
34
  field :created_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdOn'), required: true, 'decoder': Utils.datetime_from_iso_format(false) } }
39
-
35
+ # Timestamp when the residual was last updated.
40
36
  field :updated_on, ::DateTime, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('updatedOn'), required: true, 'decoder': Utils.datetime_from_iso_format(false) } }
41
37
 
42
- sig { params(residual_id: ::String, partner_account_id: ::String, period_start: ::DateTime, period_end: ::DateTime, merchant_fees: Models::Components::AmountDecimal, partner_cost: Models::Components::AmountDecimal, net_income: Models::Components::AmountDecimal, revenue_share: ::String, residual_amount: Models::Components::AmountDecimal, moov_share: Models::Components::AmountDecimal, created_on: ::DateTime, updated_on: ::DateTime).void }
43
- def initialize(residual_id:, partner_account_id:, period_start:, period_end:, merchant_fees:, partner_cost:, net_income:, revenue_share:, residual_amount:, moov_share:, created_on:, updated_on:)
38
+ sig { params(residual_id: ::String, partner_account_id: ::String, period_start: ::DateTime, period_end: ::DateTime, merchant_fees: Models::Components::AmountDecimal, partner_cost: Models::Components::AmountDecimal, net_income: Models::Components::AmountDecimal, revenue_share: ::String, residual_amount: Models::Components::AmountDecimal, created_on: ::DateTime, updated_on: ::DateTime).void }
39
+ def initialize(residual_id:, partner_account_id:, period_start:, period_end:, merchant_fees:, partner_cost:, net_income:, revenue_share:, residual_amount:, created_on:, updated_on:)
44
40
  @residual_id = residual_id
45
41
  @partner_account_id = partner_account_id
46
42
  @period_start = period_start
@@ -50,7 +46,6 @@ module Moov
50
46
  @net_income = net_income
51
47
  @revenue_share = revenue_share
52
48
  @residual_amount = residual_amount
53
- @moov_share = moov_share
54
49
  @created_on = created_on
55
50
  @updated_on = updated_on
56
51
  end
@@ -67,7 +62,6 @@ module Moov
67
62
  return false unless @net_income == other.net_income
68
63
  return false unless @revenue_share == other.revenue_share
69
64
  return false unless @residual_amount == other.residual_amount
70
- return false unless @moov_share == other.moov_share
71
65
  return false unless @created_on == other.created_on
72
66
  return false unless @updated_on == other.updated_on
73
67
  true
@@ -26,8 +26,6 @@ class Moov::Models::Components::Residual
26
26
  def revenue_share=(str_); end
27
27
  def residual_amount(); end
28
28
  def residual_amount=(str_); end
29
- def moov_share(); end
30
- def moov_share=(str_); end
31
29
  def created_on(); end
32
30
  def created_on=(str_); end
33
31
  def updated_on(); end
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
 
16
16
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
17
-
17
+ # Unique identifier for this residual payment calculation.
18
18
  field :residual_id, ::String, { 'path_param': { 'field_name': 'residualID', 'style': 'simple', 'explode': false } }
19
19
  # Specify an API version.
20
20
  #
@@ -14,7 +14,7 @@ module Moov
14
14
 
15
15
 
16
16
  field :account_id, ::String, { 'path_param': { 'field_name': 'accountID', 'style': 'simple', 'explode': false } }
17
-
17
+ # Unique identifier for this residual payment calculation.
18
18
  field :residual_id, ::String, { 'path_param': { 'field_name': 'residualID', 'style': 'simple', 'explode': false } }
19
19
  # Specify an API version.
20
20
  #
@@ -95,9 +95,9 @@ module Moov
95
95
  @globals = globals.nil? ? {} : globals
96
96
  @language = 'ruby'
97
97
  @openapi_doc_version = 'latest'
98
- @sdk_version = '0.3.31'
99
- @gen_version = '2.801.0'
100
- @user_agent = 'speakeasy-sdk/ruby 0.3.31 2.801.0 latest moov_ruby'
98
+ @sdk_version = '0.3.32'
99
+ @gen_version = '2.801.2'
100
+ @user_agent = 'speakeasy-sdk/ruby 0.3.32 2.801.2 latest moov_ruby'
101
101
  end
102
102
 
103
103
  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: 0.3.31
4
+ version: 0.3.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-28 00:00:00.000000000 Z
11
+ date: 2026-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64