moov_ruby 0.0.0.pre.dev.16 → 0.0.0.pre.dev.18

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 (56) hide show
  1. checksums.yaml +4 -4
  2. data/lib/moov/models/components/authmethod.rb +19 -0
  3. data/lib/moov/models/components/{rtpfailurecode.rbi → authmethod.rbi} +2 -2
  4. data/lib/moov/models/components/createdtransfer.rb +3 -7
  5. data/lib/moov/models/components/createdtransfer.rbi +0 -2
  6. data/lib/moov/models/components/createpaymentlink.rb +3 -7
  7. data/lib/moov/models/components/createpaymentlink.rbi +0 -2
  8. data/lib/moov/models/components/createpaymentlinkamountdetails.rb +6 -2
  9. data/lib/moov/models/components/createpaymentlinkamountdetails.rbi +2 -0
  10. data/lib/moov/models/components/createpaymentlinkamountdetailsvalidationerror.rb +6 -2
  11. data/lib/moov/models/components/createpaymentlinkamountdetailsvalidationerror.rbi +2 -0
  12. data/lib/moov/models/components/createpaymentlinklineitems.rb +1 -1
  13. data/lib/moov/models/components/createpaymentlinklineitemsupdate.rb +1 -1
  14. data/lib/moov/models/components/createtransfer.rb +3 -7
  15. data/lib/moov/models/components/createtransfer.rbi +0 -2
  16. data/lib/moov/models/components/createtransferamountdetails.rb +6 -2
  17. data/lib/moov/models/components/createtransferamountdetails.rbi +2 -0
  18. data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rb +6 -2
  19. data/lib/moov/models/components/createtransferamountdetailsvalidationerror.rbi +2 -0
  20. data/lib/moov/models/components/createtransferlineitems.rb +1 -1
  21. data/lib/moov/models/components/googlepayresponse.rb +25 -6
  22. data/lib/moov/models/components/googlepayresponse.rbi +10 -2
  23. data/lib/moov/models/components/paymentlink.rb +3 -7
  24. data/lib/moov/models/components/paymentlink.rbi +0 -2
  25. data/lib/moov/models/components/paymentlinkamountdetails.rb +6 -2
  26. data/lib/moov/models/components/paymentlinkamountdetails.rbi +2 -0
  27. data/lib/moov/models/components/paymentlinklineitems.rb +1 -1
  28. data/lib/moov/models/components/transfer.rb +3 -7
  29. data/lib/moov/models/components/transfer.rbi +0 -2
  30. data/lib/moov/models/components/transferamountdetails.rb +6 -2
  31. data/lib/moov/models/components/transferamountdetails.rbi +2 -0
  32. data/lib/moov/models/components/transferdestination.rb +2 -6
  33. data/lib/moov/models/components/transferdestination.rbi +0 -2
  34. data/lib/moov/models/components/transferlineitems.rb +1 -1
  35. data/lib/moov/models/components/updatepaymentlink.rb +3 -7
  36. data/lib/moov/models/components/updatepaymentlink.rbi +0 -2
  37. data/lib/moov/models/components/updatepaymentlinkamountdetails.rb +6 -2
  38. data/lib/moov/models/components/updatepaymentlinkamountdetails.rbi +2 -0
  39. data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rb +6 -2
  40. data/lib/moov/models/components/updatepaymentlinkamountdetailsvalidationerror.rbi +2 -0
  41. data/lib/moov/models/components.rb +1 -3
  42. data/lib/moov/models/errors/createpaymentlinkerror.rb +2 -6
  43. data/lib/moov/models/errors/createpaymentlinkerror.rbi +0 -2
  44. data/lib/moov/models/errors/transfer_error.rb +3 -7
  45. data/lib/moov/models/errors/transfer_error.rbi +0 -2
  46. data/lib/moov/models/errors/transfervalidationerror.rb +2 -6
  47. data/lib/moov/models/errors/transfervalidationerror.rbi +0 -2
  48. data/lib/moov/models/errors/updatepaymentlinkerror.rb +2 -6
  49. data/lib/moov/models/errors/updatepaymentlinkerror.rbi +0 -2
  50. data/lib/moov/sdkconfiguration.rb +2 -2
  51. metadata +4 -8
  52. data/lib/moov/models/components/rtpdetails.rb +0 -58
  53. data/lib/moov/models/components/rtpdetails.rbi +0 -25
  54. data/lib/moov/models/components/rtpfailurecode.rb +0 -27
  55. data/lib/moov/models/components/rtptransactionstatus.rb +0 -21
  56. data/lib/moov/models/components/rtptransactionstatus.rbi +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f7346fb2fc2987b4836f7a3f7e3dba0a38e64efdaa1eef35e43fdbc9d921c59
4
- data.tar.gz: 303f563b126f9afc00270b3d44c54eb0f08b2d9d6b640fc5fdbe2df0ef2cf25f
3
+ metadata.gz: b0efbaf66299b6fa937277a3f9d29a35e9cb9b1407f261264abf07a94527c4b1
4
+ data.tar.gz: eb6bbf6263bccb4fcba55986a15c51ba0b75957ab83e65f4a69ce4a29921481d
5
5
  SHA512:
6
- metadata.gz: 14291451b10b48f5e1cb7cb832b90c16962ddd1b10bfa7299a32d8be236612638c1c84f60f6ce7373e1a2e35d01ebe33c72b87c703bc37b5074f4a03c525aa69
7
- data.tar.gz: 44e58beb3a34736d72fa3c0e58008943437467958a36a90ecba0bf385e0d6b89f80f0ddd378dad8c9bd3b7330dbd9f32b3da4b847e07ee39cf107df9288bac57
6
+ metadata.gz: 031b632d5ccc3a7c5de86bc521a3f5ea0418d974e0e2576c11c329449b9151a49e51f2e7b7b6bd1a76e526cb3357710a4cb0cf39576784c1d1f4692bb74af9ff
7
+ data.tar.gz: 1606c6fd419cbc8b04066ab02c257ed1246d8cda1b2a62fa77582980ff580b5e5ed0fc831f7e6fd3fa4079cc44b2160fd1d5db6c218fd94b0f4a1fd03665d2f6
@@ -0,0 +1,19 @@
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
+ # AuthMethod - The authentication method used for the Google Pay token.
11
+ class AuthMethod < T::Enum
12
+ enums do
13
+ PAN_ONLY = new('PAN_ONLY')
14
+ CRYPTOGRAM_3_DS = new('CRYPTOGRAM_3DS')
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
@@ -2,10 +2,10 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
 
5
- class Moov::Models::Components::RTPFailureCode
5
+ class Moov::Models::Components::AuthMethod
6
6
  extend ::Crystalline::MetadataFields::ClassMethods
7
7
  end
8
8
 
9
9
 
10
- class Moov::Models::Components::RTPFailureCode
10
+ class Moov::Models::Components::AuthMethod
11
11
  end
@@ -60,20 +60,18 @@ 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.
64
- field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
65
63
  # Optional alias from a foreign/external system which can be used to reference this resource.
66
64
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
67
65
  # An optional collection of line items for a transfer.
68
- # When line items are provided, their total plus sales tax must equal the transfer amount.
66
+ # When line items are provided, their total plus tax must equal the transfer amount.
69
67
  field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
70
68
 
71
69
  field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
72
70
  # The card authorization and capture IDs associated with a transfer.
73
71
  field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
74
72
 
75
- sig { params(transfer_id: ::String, created_on: ::DateTime, source: T.nilable(Models::Components::TransferSource), destination: T.nilable(Models::Components::TransferDestination), completed_on: T.nilable(::DateTime), status: T.nilable(Models::Components::TransferStatus), failure_reason: T.nilable(Models::Components::TransferFailureReason), amount: T.nilable(Models::Components::Amount), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), amount_details: T.nilable(Models::Components::TransferAmountDetails), capture: T.nilable(Models::Components::TransferCapture)).void }
76
- def initialize(transfer_id:, created_on:, source: nil, destination: nil, completed_on: nil, status: nil, failure_reason: nil, amount: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, amount_details: nil, capture: nil)
73
+ sig { params(transfer_id: ::String, created_on: ::DateTime, source: T.nilable(Models::Components::TransferSource), destination: T.nilable(Models::Components::TransferDestination), completed_on: T.nilable(::DateTime), status: T.nilable(Models::Components::TransferStatus), failure_reason: T.nilable(Models::Components::TransferFailureReason), amount: T.nilable(Models::Components::Amount), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), amount_details: T.nilable(Models::Components::TransferAmountDetails), capture: T.nilable(Models::Components::TransferCapture)).void }
74
+ def initialize(transfer_id:, created_on:, source: nil, destination: nil, completed_on: nil, status: nil, failure_reason: nil, amount: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, amount_details: nil, capture: nil)
77
75
  @transfer_id = transfer_id
78
76
  @created_on = created_on
79
77
  @source = source
@@ -98,7 +96,6 @@ module Moov
98
96
  @schedule_id = schedule_id
99
97
  @occurrence_id = occurrence_id
100
98
  @payment_link_code = payment_link_code
101
- @sales_tax_amount = sales_tax_amount
102
99
  @foreign_id = foreign_id
103
100
  @line_items = line_items
104
101
  @amount_details = amount_details
@@ -132,7 +129,6 @@ module Moov
132
129
  return false unless @schedule_id == other.schedule_id
133
130
  return false unless @occurrence_id == other.occurrence_id
134
131
  return false unless @payment_link_code == other.payment_link_code
135
- return false unless @sales_tax_amount == other.sales_tax_amount
136
132
  return false unless @foreign_id == other.foreign_id
137
133
  return false unless @line_items == other.line_items
138
134
  return false unless @amount_details == other.amount_details
@@ -56,8 +56,6 @@ class Moov::Models::Components::CreatedTransfer
56
56
  def occurrence_id=(str_); end
57
57
  def payment_link_code(); end
58
58
  def payment_link_code=(str_); end
59
- def sales_tax_amount(); end
60
- def sales_tax_amount=(str_); end
61
59
  def foreign_id(); end
62
60
  def foreign_id=(str_); end
63
61
  def line_items(); end
@@ -30,8 +30,6 @@ module Moov
30
30
  # In API version `2026.07.00` and beyond, this field is required for `fixed` payment amount types and omitted
31
31
  # for `open` payment amount types.
32
32
  field :amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
33
- # Optional sales tax amount.
34
- field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
35
33
  # An optional limit on the number of times this payment link can be used.
36
34
  #
37
35
  # **For payouts, `maxUses` is always 1.**
@@ -45,18 +43,17 @@ module Moov
45
43
 
46
44
  field :payout, Crystalline::Nilable.new(Models::Components::PaymentLinkPayoutDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
47
45
  # An optional collection of line items for a payment link.
48
- # When line items are provided, their total plus sales tax must equal the payment link amount.
46
+ # When line items are provided, their total plus tax must equal the payment link amount.
49
47
  field :line_items, Crystalline::Nilable.new(Models::Components::CreatePaymentLinkLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
50
48
 
51
49
  field :amount_details, Crystalline::Nilable.new(Models::Components::CreatePaymentLinkAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
52
50
 
53
- sig { params(partner_account_id: ::String, merchant_payment_method_id: ::String, display: Models::Components::PaymentLinkDisplayOptions, amount: T.nilable(Models::Components::Amount), sales_tax_amount: T.nilable(Models::Components::Amount), max_uses: T.nilable(::Integer), expires_on: T.nilable(::DateTime), customer: T.nilable(Models::Components::PaymentLinkCustomerOptions), payment: T.nilable(Models::Components::PaymentLinkPaymentDetails), payout: T.nilable(Models::Components::PaymentLinkPayoutDetails), line_items: T.nilable(Models::Components::CreatePaymentLinkLineItems), amount_details: T.nilable(Models::Components::CreatePaymentLinkAmountDetails)).void }
54
- def initialize(partner_account_id:, merchant_payment_method_id:, display:, amount: nil, sales_tax_amount: nil, max_uses: nil, expires_on: nil, customer: nil, payment: nil, payout: nil, line_items: nil, amount_details: nil)
51
+ sig { params(partner_account_id: ::String, merchant_payment_method_id: ::String, display: Models::Components::PaymentLinkDisplayOptions, amount: T.nilable(Models::Components::Amount), max_uses: T.nilable(::Integer), expires_on: T.nilable(::DateTime), customer: T.nilable(Models::Components::PaymentLinkCustomerOptions), payment: T.nilable(Models::Components::PaymentLinkPaymentDetails), payout: T.nilable(Models::Components::PaymentLinkPayoutDetails), line_items: T.nilable(Models::Components::CreatePaymentLinkLineItems), amount_details: T.nilable(Models::Components::CreatePaymentLinkAmountDetails)).void }
52
+ def initialize(partner_account_id:, merchant_payment_method_id:, display:, amount: nil, max_uses: nil, expires_on: nil, customer: nil, payment: nil, payout: nil, line_items: nil, amount_details: nil)
55
53
  @partner_account_id = partner_account_id
56
54
  @merchant_payment_method_id = merchant_payment_method_id
57
55
  @display = display
58
56
  @amount = amount
59
- @sales_tax_amount = sales_tax_amount
60
57
  @max_uses = max_uses
61
58
  @expires_on = expires_on
62
59
  @customer = customer
@@ -73,7 +70,6 @@ module Moov
73
70
  return false unless @merchant_payment_method_id == other.merchant_payment_method_id
74
71
  return false unless @display == other.display
75
72
  return false unless @amount == other.amount
76
- return false unless @sales_tax_amount == other.sales_tax_amount
77
73
  return false unless @max_uses == other.max_uses
78
74
  return false unless @expires_on == other.expires_on
79
75
  return false unless @customer == other.customer
@@ -16,8 +16,6 @@ class Moov::Models::Components::CreatePaymentLink
16
16
  def display=(str_); end
17
17
  def amount(); end
18
18
  def amount=(str_); end
19
- def sales_tax_amount(); end
20
- def sales_tax_amount=(str_); end
21
19
  def max_uses(); end
22
20
  def max_uses=(str_); end
23
21
  def expires_on(); end
@@ -12,17 +12,21 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
+ # The amount of tax applied to the payment link.
16
+ field :tax, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
15
17
  # The amount of surcharge applied to the payment link.
16
18
  field :surcharge, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
17
19
 
18
- sig { params(surcharge: T.nilable(Models::Components::AmountDecimal)).void }
19
- def initialize(surcharge: nil)
20
+ sig { params(tax: T.nilable(Models::Components::AmountDecimal), surcharge: T.nilable(Models::Components::AmountDecimal)).void }
21
+ def initialize(tax: nil, surcharge: nil)
22
+ @tax = tax
20
23
  @surcharge = surcharge
21
24
  end
22
25
 
23
26
  sig { params(other: T.untyped).returns(T::Boolean) }
24
27
  def ==(other)
25
28
  return false unless other.is_a? self.class
29
+ return false unless @tax == other.tax
26
30
  return false unless @surcharge == other.surcharge
27
31
  true
28
32
  end
@@ -8,6 +8,8 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Components::CreatePaymentLinkAmountDetails
11
+ def tax(); end
12
+ def tax=(str_); end
11
13
  def surcharge(); end
12
14
  def surcharge=(str_); end
13
15
  end
@@ -13,16 +13,20 @@ module Moov
13
13
  include Crystalline::MetadataFields
14
14
 
15
15
 
16
+ field :tax, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
17
+
16
18
  field :surcharge, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
17
19
 
18
- sig { params(surcharge: T.nilable(::String)).void }
19
- def initialize(surcharge: nil)
20
+ sig { params(tax: T.nilable(::String), surcharge: T.nilable(::String)).void }
21
+ def initialize(tax: nil, surcharge: nil)
22
+ @tax = tax
20
23
  @surcharge = surcharge
21
24
  end
22
25
 
23
26
  sig { params(other: T.untyped).returns(T::Boolean) }
24
27
  def ==(other)
25
28
  return false unless other.is_a? self.class
29
+ return false unless @tax == other.tax
26
30
  return false unless @surcharge == other.surcharge
27
31
  true
28
32
  end
@@ -8,6 +8,8 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Components::CreatePaymentLinkAmountDetailsValidationError
11
+ def tax(); end
12
+ def tax=(str_); end
11
13
  def surcharge(); end
12
14
  def surcharge=(str_); end
13
15
  end
@@ -8,7 +8,7 @@ module Moov
8
8
  module Models
9
9
  module Components
10
10
  # An optional collection of line items for a payment link.
11
- # When line items are provided, their total plus sales tax must equal the payment link amount.
11
+ # When line items are provided, their total plus tax must equal the payment link amount.
12
12
  class CreatePaymentLinkLineItems
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -8,7 +8,7 @@ module Moov
8
8
  module Models
9
9
  module Components
10
10
  # An optional collection of line items for a payment link.
11
- # When line items are provided, their total plus sales tax must equal the payment link amount.
11
+ # When line items are provided, their total plus tax must equal the payment link amount.
12
12
  class CreatePaymentLinkLineItemsUpdate
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -24,25 +24,22 @@ 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
-
28
- field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
29
27
  # Optional alias from a foreign/external system which can be used to reference this resource.
30
28
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
31
29
  # An optional collection of line items for a transfer.
32
- # When line items are provided, their total plus sales tax must equal the transfer amount.
30
+ # When line items are provided, their total plus tax must equal the transfer amount.
33
31
  field :line_items, Crystalline::Nilable.new(Models::Components::CreateTransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
34
32
 
35
33
  field :amount_details, Crystalline::Nilable.new(Models::Components::CreateTransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
36
34
 
37
- sig { params(source: Models::Components::CreateTransferSource, destination: Models::Components::CreateTransferDestination, amount: Models::Components::Amount, facilitator_fee: T.nilable(Models::Components::FacilitatorFee), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::CreateTransferLineItems), amount_details: T.nilable(Models::Components::CreateTransferAmountDetails)).void }
38
- def initialize(source:, destination:, amount:, facilitator_fee: nil, description: nil, metadata: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, amount_details: nil)
35
+ sig { params(source: Models::Components::CreateTransferSource, destination: Models::Components::CreateTransferDestination, amount: Models::Components::Amount, facilitator_fee: T.nilable(Models::Components::FacilitatorFee), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::CreateTransferLineItems), amount_details: T.nilable(Models::Components::CreateTransferAmountDetails)).void }
36
+ def initialize(source:, destination:, amount:, facilitator_fee: nil, description: nil, metadata: nil, foreign_id: nil, line_items: nil, amount_details: nil)
39
37
  @source = source
40
38
  @destination = destination
41
39
  @amount = amount
42
40
  @facilitator_fee = facilitator_fee
43
41
  @description = description
44
42
  @metadata = metadata
45
- @sales_tax_amount = sales_tax_amount
46
43
  @foreign_id = foreign_id
47
44
  @line_items = line_items
48
45
  @amount_details = amount_details
@@ -57,7 +54,6 @@ module Moov
57
54
  return false unless @facilitator_fee == other.facilitator_fee
58
55
  return false unless @description == other.description
59
56
  return false unless @metadata == other.metadata
60
- return false unless @sales_tax_amount == other.sales_tax_amount
61
57
  return false unless @foreign_id == other.foreign_id
62
58
  return false unless @line_items == other.line_items
63
59
  return false unless @amount_details == other.amount_details
@@ -20,8 +20,6 @@ class Moov::Models::Components::CreateTransfer
20
20
  def description=(str_); end
21
21
  def metadata(); end
22
22
  def metadata=(str_); end
23
- def sales_tax_amount(); end
24
- def sales_tax_amount=(str_); end
25
23
  def foreign_id(); end
26
24
  def foreign_id=(str_); end
27
25
  def line_items(); end
@@ -14,12 +14,15 @@ module Moov
14
14
 
15
15
  # The amount of tip applied to the transfer.
16
16
  field :tip, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tip') } }
17
+ # The amount of tax applied to the transfer.
18
+ field :tax, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
17
19
  # The amount of surcharge applied to the transfer.
18
20
  field :surcharge, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
19
21
 
20
- sig { params(tip: T.nilable(Models::Components::AmountDecimal), surcharge: T.nilable(Models::Components::AmountDecimal)).void }
21
- def initialize(tip: nil, surcharge: nil)
22
+ sig { params(tip: T.nilable(Models::Components::AmountDecimal), tax: T.nilable(Models::Components::AmountDecimal), surcharge: T.nilable(Models::Components::AmountDecimal)).void }
23
+ def initialize(tip: nil, tax: nil, surcharge: nil)
22
24
  @tip = tip
25
+ @tax = tax
23
26
  @surcharge = surcharge
24
27
  end
25
28
 
@@ -27,6 +30,7 @@ module Moov
27
30
  def ==(other)
28
31
  return false unless other.is_a? self.class
29
32
  return false unless @tip == other.tip
33
+ return false unless @tax == other.tax
30
34
  return false unless @surcharge == other.surcharge
31
35
  true
32
36
  end
@@ -10,6 +10,8 @@ end
10
10
  class Moov::Models::Components::CreateTransferAmountDetails
11
11
  def tip(); end
12
12
  def tip=(str_); end
13
+ def tax(); end
14
+ def tax=(str_); end
13
15
  def surcharge(); end
14
16
  def surcharge=(str_); end
15
17
  end
@@ -15,11 +15,14 @@ module Moov
15
15
 
16
16
  field :tip, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tip') } }
17
17
 
18
+ field :tax, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
19
+
18
20
  field :surcharge, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
19
21
 
20
- sig { params(tip: T.nilable(::String), surcharge: T.nilable(::String)).void }
21
- def initialize(tip: nil, surcharge: nil)
22
+ sig { params(tip: T.nilable(::String), tax: T.nilable(::String), surcharge: T.nilable(::String)).void }
23
+ def initialize(tip: nil, tax: nil, surcharge: nil)
22
24
  @tip = tip
25
+ @tax = tax
23
26
  @surcharge = surcharge
24
27
  end
25
28
 
@@ -27,6 +30,7 @@ module Moov
27
30
  def ==(other)
28
31
  return false unless other.is_a? self.class
29
32
  return false unless @tip == other.tip
33
+ return false unless @tax == other.tax
30
34
  return false unless @surcharge == other.surcharge
31
35
  true
32
36
  end
@@ -10,6 +10,8 @@ end
10
10
  class Moov::Models::Components::CreateTransferAmountDetailsValidationError
11
11
  def tip(); end
12
12
  def tip=(str_); end
13
+ def tax(); end
14
+ def tax=(str_); end
13
15
  def surcharge(); end
14
16
  def surcharge=(str_); end
15
17
  end
@@ -8,7 +8,7 @@ module Moov
8
8
  module Models
9
9
  module Components
10
10
  # An optional collection of line items for a transfer.
11
- # When line items are provided, their total plus sales tax must equal the transfer amount.
11
+ # When line items are provided, their total plus tax must equal the transfer amount.
12
12
  class CreateTransferLineItems
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -12,36 +12,55 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
+ # The unique identifier of the Google Pay token.
16
+ field :token_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tokenID'), required: true } }
15
17
  # The card brand.
16
18
  field :brand, Models::Components::CardBrand, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('brand'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::CardBrand, false) } }
17
- # The last four digits of the underlying card number.
18
- field :card_details, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardDetails'), required: true } }
19
+ # The type of the card.
20
+ field :card_type, Models::Components::CardType, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardType'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::CardType, false) } }
21
+ # User-friendly name of the tokenized card returned by Google Pay.
22
+ #
23
+ # It usually contains the last four digits of the underlying card.
24
+ # There is no standard format.
25
+ field :card_display_name, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardDisplayName'), required: true } }
19
26
  # Uniquely identifies a linked payment card or token.
20
27
  # For Apple Pay, the fingerprint is based on the tokenized card number and may vary based on the user's device.
21
28
  # This field can be used to identify specific payment methods across multiple accounts on your platform.
22
29
  field :fingerprint, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('fingerprint'), required: true } }
23
30
  # The expiration date of the card or token.
24
31
  field :expiration, Models::Components::CardExpiration, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiration'), required: true } }
32
+ # The last four digits of the Google Pay token, which may differ from the tokenized card's last four digits.
33
+ field :dynamic_last_four, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('dynamicLastFour'), required: true } }
25
34
  # Country where the underlying card was issued.
26
35
  field :issuer_country, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('issuerCountry') } }
36
+ # The authentication method used for the Google Pay token.
37
+ field :auth_method, Crystalline::Nilable.new(Models::Components::AuthMethod), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('authMethod'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::AuthMethod, true) } }
27
38
 
28
- sig { params(brand: Models::Components::CardBrand, card_details: ::String, fingerprint: ::String, expiration: Models::Components::CardExpiration, issuer_country: T.nilable(::String)).void }
29
- def initialize(brand:, card_details:, fingerprint:, expiration:, issuer_country: nil)
39
+ sig { params(token_id: ::String, brand: Models::Components::CardBrand, card_type: Models::Components::CardType, card_display_name: ::String, fingerprint: ::String, expiration: Models::Components::CardExpiration, dynamic_last_four: ::String, issuer_country: T.nilable(::String), auth_method: T.nilable(Models::Components::AuthMethod)).void }
40
+ def initialize(token_id:, brand:, card_type:, card_display_name:, fingerprint:, expiration:, dynamic_last_four:, issuer_country: nil, auth_method: nil)
41
+ @token_id = token_id
30
42
  @brand = brand
31
- @card_details = card_details
43
+ @card_type = card_type
44
+ @card_display_name = card_display_name
32
45
  @fingerprint = fingerprint
33
46
  @expiration = expiration
47
+ @dynamic_last_four = dynamic_last_four
34
48
  @issuer_country = issuer_country
49
+ @auth_method = auth_method
35
50
  end
36
51
 
37
52
  sig { params(other: T.untyped).returns(T::Boolean) }
38
53
  def ==(other)
39
54
  return false unless other.is_a? self.class
55
+ return false unless @token_id == other.token_id
40
56
  return false unless @brand == other.brand
41
- return false unless @card_details == other.card_details
57
+ return false unless @card_type == other.card_type
58
+ return false unless @card_display_name == other.card_display_name
42
59
  return false unless @fingerprint == other.fingerprint
43
60
  return false unless @expiration == other.expiration
61
+ return false unless @dynamic_last_four == other.dynamic_last_four
44
62
  return false unless @issuer_country == other.issuer_country
63
+ return false unless @auth_method == other.auth_method
45
64
  true
46
65
  end
47
66
  end
@@ -8,14 +8,22 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Components::GooglePayResponse
11
+ def token_id(); end
12
+ def token_id=(str_); end
11
13
  def brand(); end
12
14
  def brand=(str_); end
13
- def card_details(); end
14
- def card_details=(str_); end
15
+ def card_type(); end
16
+ def card_type=(str_); end
17
+ def card_display_name(); end
18
+ def card_display_name=(str_); end
15
19
  def fingerprint(); end
16
20
  def fingerprint=(str_); end
17
21
  def expiration(); end
18
22
  def expiration=(str_); end
23
+ def dynamic_last_four(); end
24
+ def dynamic_last_four=(str_); end
19
25
  def issuer_country(); end
20
26
  def issuer_country=(str_); end
27
+ def auth_method(); end
28
+ def auth_method=(str_); end
21
29
  end
@@ -47,8 +47,6 @@ module Moov
47
47
  # In API version `2026.07.00` and beyond, this field is required for `fixed` payment amount types and omitted
48
48
  # for `open` payment amount types.
49
49
  field :amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amount') } }
50
- # Optional sales tax amount.
51
- field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
52
50
  # An optional limit on the number of times this payment link can be used.
53
51
  #
54
52
  # **For payouts, `maxUses` is always 1.**
@@ -62,15 +60,15 @@ module Moov
62
60
 
63
61
  field :payout, Crystalline::Nilable.new(Models::Components::PaymentLinkPayoutDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
64
62
  # An optional collection of line items for a payment link.
65
- # When line items are provided, their total plus sales tax must equal the payment link amount.
63
+ # When line items are provided, their total plus tax must equal the payment link amount.
66
64
  field :line_items, Crystalline::Nilable.new(Models::Components::PaymentLinkLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
67
65
 
68
66
  field :disabled_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('disabledOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
69
67
 
70
68
  field :amount_details, Crystalline::Nilable.new(Models::Components::PaymentLinkAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
71
69
 
72
- sig { params(code: ::String, payment_link_type: Models::Components::PaymentLinkType, mode: Models::Components::Mode, status: Models::Components::PaymentLinkStatus, partner_account_id: ::String, merchant_account_id: ::String, owner_account_id: ::String, merchant_payment_method_id: ::String, link: ::String, uses: ::Integer, display: Models::Components::PaymentLinkDisplayOptions, customer: Models::Components::PaymentLinkCustomerOptions, created_on: ::DateTime, updated_on: ::DateTime, amount: T.nilable(Models::Components::Amount), sales_tax_amount: T.nilable(Models::Components::Amount), max_uses: T.nilable(::Integer), last_used_on: T.nilable(::DateTime), expires_on: T.nilable(::DateTime), payment: T.nilable(Models::Components::PaymentLinkPaymentDetails), payout: T.nilable(Models::Components::PaymentLinkPayoutDetails), line_items: T.nilable(Models::Components::PaymentLinkLineItems), disabled_on: T.nilable(::DateTime), amount_details: T.nilable(Models::Components::PaymentLinkAmountDetails)).void }
73
- def initialize(code:, payment_link_type:, mode:, status:, partner_account_id:, merchant_account_id:, owner_account_id:, merchant_payment_method_id:, link:, uses:, display:, customer:, created_on:, updated_on:, amount: nil, sales_tax_amount: nil, max_uses: nil, last_used_on: nil, expires_on: nil, payment: nil, payout: nil, line_items: nil, disabled_on: nil, amount_details: nil)
70
+ sig { params(code: ::String, payment_link_type: Models::Components::PaymentLinkType, mode: Models::Components::Mode, status: Models::Components::PaymentLinkStatus, partner_account_id: ::String, merchant_account_id: ::String, owner_account_id: ::String, merchant_payment_method_id: ::String, link: ::String, uses: ::Integer, display: Models::Components::PaymentLinkDisplayOptions, customer: Models::Components::PaymentLinkCustomerOptions, created_on: ::DateTime, updated_on: ::DateTime, amount: T.nilable(Models::Components::Amount), max_uses: T.nilable(::Integer), last_used_on: T.nilable(::DateTime), expires_on: T.nilable(::DateTime), payment: T.nilable(Models::Components::PaymentLinkPaymentDetails), payout: T.nilable(Models::Components::PaymentLinkPayoutDetails), line_items: T.nilable(Models::Components::PaymentLinkLineItems), disabled_on: T.nilable(::DateTime), amount_details: T.nilable(Models::Components::PaymentLinkAmountDetails)).void }
71
+ def initialize(code:, payment_link_type:, mode:, status:, partner_account_id:, merchant_account_id:, owner_account_id:, merchant_payment_method_id:, link:, uses:, display:, customer:, created_on:, updated_on:, amount: nil, max_uses: nil, last_used_on: nil, expires_on: nil, payment: nil, payout: nil, line_items: nil, disabled_on: nil, amount_details: nil)
74
72
  @code = code
75
73
  @payment_link_type = payment_link_type
76
74
  @mode = mode
@@ -86,7 +84,6 @@ module Moov
86
84
  @created_on = created_on
87
85
  @updated_on = updated_on
88
86
  @amount = amount
89
- @sales_tax_amount = sales_tax_amount
90
87
  @max_uses = max_uses
91
88
  @last_used_on = last_used_on
92
89
  @expires_on = expires_on
@@ -115,7 +112,6 @@ module Moov
115
112
  return false unless @created_on == other.created_on
116
113
  return false unless @updated_on == other.updated_on
117
114
  return false unless @amount == other.amount
118
- return false unless @sales_tax_amount == other.sales_tax_amount
119
115
  return false unless @max_uses == other.max_uses
120
116
  return false unless @last_used_on == other.last_used_on
121
117
  return false unless @expires_on == other.expires_on
@@ -38,8 +38,6 @@ class Moov::Models::Components::PaymentLink
38
38
  def updated_on=(str_); end
39
39
  def amount(); end
40
40
  def amount=(str_); end
41
- def sales_tax_amount(); end
42
- def sales_tax_amount=(str_); end
43
41
  def max_uses(); end
44
42
  def max_uses=(str_); end
45
43
  def last_used_on(); end
@@ -12,17 +12,21 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
+ # The amount of tax applied to the payment link.
16
+ field :tax, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
15
17
  # The amount of surcharge applied to the payment link.
16
18
  field :surcharge, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
17
19
 
18
- sig { params(surcharge: T.nilable(Models::Components::AmountDecimal)).void }
19
- def initialize(surcharge: nil)
20
+ sig { params(tax: T.nilable(Models::Components::AmountDecimal), surcharge: T.nilable(Models::Components::AmountDecimal)).void }
21
+ def initialize(tax: nil, surcharge: nil)
22
+ @tax = tax
20
23
  @surcharge = surcharge
21
24
  end
22
25
 
23
26
  sig { params(other: T.untyped).returns(T::Boolean) }
24
27
  def ==(other)
25
28
  return false unless other.is_a? self.class
29
+ return false unless @tax == other.tax
26
30
  return false unless @surcharge == other.surcharge
27
31
  true
28
32
  end
@@ -8,6 +8,8 @@ end
8
8
 
9
9
 
10
10
  class Moov::Models::Components::PaymentLinkAmountDetails
11
+ def tax(); end
12
+ def tax=(str_); end
11
13
  def surcharge(); end
12
14
  def surcharge=(str_); end
13
15
  end
@@ -8,7 +8,7 @@ module Moov
8
8
  module Models
9
9
  module Components
10
10
  # An optional collection of line items for a payment link.
11
- # When line items are provided, their total plus sales tax must equal the payment link amount.
11
+ # When line items are provided, their total plus tax must equal the payment link amount.
12
12
  class PaymentLinkLineItems
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -62,12 +62,10 @@ 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
-
66
- field :sales_tax_amount, Crystalline::Nilable.new(Models::Components::Amount), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('salesTaxAmount') } }
67
65
  # Optional alias from a foreign/external system which can be used to reference this resource.
68
66
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
69
67
  # An optional collection of line items for a transfer.
70
- # When line items are provided, their total plus sales tax must equal the transfer amount.
68
+ # When line items are provided, their total plus tax must equal the transfer amount.
71
69
  field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
72
70
  # ID of the invoice that the transfer is associated with.
73
71
  field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
@@ -76,8 +74,8 @@ module Moov
76
74
  # The card authorization and capture IDs associated with a transfer.
77
75
  field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
78
76
 
79
- sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), sales_tax_amount: T.nilable(Models::Components::Amount), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails), capture: T.nilable(Models::Components::TransferCapture)).void }
80
- def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, sales_tax_amount: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil, capture: nil)
77
+ sig { params(transfer_id: ::String, created_on: ::DateTime, source: Models::Components::TransferSource, destination: Models::Components::TransferDestination, status: Models::Components::TransferStatus, amount: Models::Components::Amount, completed_on: T.nilable(::DateTime), failure_reason: T.nilable(Models::Components::TransferFailureReason), description: T.nilable(::String), metadata: T.nilable(T::Hash[Symbol, ::String]), facilitator_fee: T.nilable(Models::Components::FacilitatorFee), moov_fee: T.nilable(::Integer), moov_fee_decimal: T.nilable(::String), moov_fee_details: T.nilable(Models::Components::MoovFeeDetails), moov_fees: T.nilable(T::Array[Models::Components::MoovFee]), group_id: T.nilable(::String), cancellations: T.nilable(T::Array[Models::Components::Cancellation]), refunded_amount: T.nilable(Models::Components::Amount), refunds: T.nilable(T::Array[Models::Components::CardAcquiringRefund]), disputed_amount: T.nilable(Models::Components::Amount), disputes: T.nilable(T::Array[Models::Components::CardAcquiringDispute]), sweep_id: T.nilable(::String), schedule_id: T.nilable(::String), occurrence_id: T.nilable(::String), payment_link_code: T.nilable(::String), foreign_id: T.nilable(::String), line_items: T.nilable(Models::Components::TransferLineItems), invoice_id: T.nilable(::String), amount_details: T.nilable(Models::Components::TransferAmountDetails), capture: T.nilable(Models::Components::TransferCapture)).void }
78
+ def initialize(transfer_id:, created_on:, source:, destination:, status:, amount:, completed_on: nil, failure_reason: nil, description: nil, metadata: nil, facilitator_fee: nil, moov_fee: nil, moov_fee_decimal: nil, moov_fee_details: nil, moov_fees: nil, group_id: nil, cancellations: nil, refunded_amount: nil, refunds: nil, disputed_amount: nil, disputes: nil, sweep_id: nil, schedule_id: nil, occurrence_id: nil, payment_link_code: nil, foreign_id: nil, line_items: nil, invoice_id: nil, amount_details: nil, capture: nil)
81
79
  @transfer_id = transfer_id
82
80
  @created_on = created_on
83
81
  @source = source
@@ -103,7 +101,6 @@ module Moov
103
101
  @schedule_id = schedule_id
104
102
  @occurrence_id = occurrence_id
105
103
  @payment_link_code = payment_link_code
106
- @sales_tax_amount = sales_tax_amount
107
104
  @foreign_id = foreign_id
108
105
  @line_items = line_items
109
106
  @invoice_id = invoice_id
@@ -139,7 +136,6 @@ module Moov
139
136
  return false unless @schedule_id == other.schedule_id
140
137
  return false unless @occurrence_id == other.occurrence_id
141
138
  return false unless @payment_link_code == other.payment_link_code
142
- return false unless @sales_tax_amount == other.sales_tax_amount
143
139
  return false unless @foreign_id == other.foreign_id
144
140
  return false unless @line_items == other.line_items
145
141
  return false unless @invoice_id == other.invoice_id