moov_ruby 26.4.3 → 26.4.4

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: ae7b27f694384a53a4052519b9ea7efee03d274215236e95e69f7996560869f6
4
- data.tar.gz: 47046db1842875d3aefaa264be6ef7bd7be9299cf0d8312e10f5c0953efbe4c6
3
+ metadata.gz: 1f5316a45d1e3c83223bdc0e14f615245a5f2bd60e77d1c7825744a980a3942f
4
+ data.tar.gz: 5bbc052658f02ff38abd67bb176e05df5538518ce3a95e7807a62a9ce109b789
5
5
  SHA512:
6
- metadata.gz: c6bcf4b158886059eb25bbbe892d9d988403e750bd0b099fd3d36e3746338ade477d042eac6515cb85f5c2a88b6314fc3bcaed0cc4edf6d4b19851c45c71cc36
7
- data.tar.gz: d4f980122843e6070cb0c3e2e7befca045810b1361be1a998841c4ae0f8a8281a82dd4ec1cbb3913a97e47023a3e845493bf3851f7bdefb83059147432250c27
6
+ metadata.gz: 412fb275abe5066b1396319f1737e77d9015e0c2f9cb130c8849e4ea3e052c9fa7ccd50cb6dbad00e168a912935508dc04685f6cc9c6666e2155a33a3f942d71
7
+ data.tar.gz: fb03e00da450ea1ea293db07293b364815b201a1002e2c49f5add79d482652e048f80bdf626eb1f0553c796a54fe52548bb8b81cee9752fede74019ec730d5e3
@@ -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
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::AuthMethod
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::AuthMethod
11
+ end
@@ -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
@@ -10,7 +10,7 @@ module Moov
10
10
  # DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
11
11
  #
12
12
  # @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
13
- class RtpDetails
13
+ class RTPTransactionDetails
14
14
  extend T::Sig
15
15
  include Crystalline::MetadataFields
16
16
 
@@ -2,12 +2,12 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
 
5
- class Moov::Models::Components::RtpDetails
5
+ class Moov::Models::Components::RTPTransactionDetails
6
6
  extend ::Crystalline::MetadataFields::ClassMethods
7
7
  end
8
8
 
9
9
 
10
- class Moov::Models::Components::RtpDetails
10
+ class Moov::Models::Components::RTPTransactionDetails
11
11
  def status(); end
12
12
  def status=(str_); end
13
13
  def network_response_code(); end
@@ -32,12 +32,14 @@ module Moov
32
32
  field :google_pay, Crystalline::Nilable.new(Models::Components::GooglePayResponse), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('googlePay') } }
33
33
  # Card-specific details about the transaction.
34
34
  field :card_details, Crystalline::Nilable.new(Models::Components::CardTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardDetails') } }
35
+ # DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
36
+ #
35
37
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
36
- field :rtp_details, Crystalline::Nilable.new(Models::Components::RtpDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('rtpDetails') } }
38
+ field :rtp_details, Crystalline::Nilable.new(Models::Components::RTPTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('rtpDetails') } }
37
39
  # Instant-bank specific details about the transaction.
38
40
  field :instant_bank_details, Crystalline::Nilable.new(Models::Components::InstantBankTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('instantBankDetails') } }
39
41
 
40
- sig { params(payment_method_id: ::String, payment_method_type: Models::Components::TransferPaymentMethodType, account: Models::Components::TransferAccount, bank_account: T.nilable(Models::Components::TransferPaymentMethodsBankAccount), wallet: T.nilable(Models::Components::TransferPaymentMethodsWallet), card: T.nilable(Models::Components::TransferPaymentMethodsCard), ach_details: T.nilable(Models::Components::ACHTransactionDetails), apple_pay: T.nilable(Models::Components::ApplePayResponse), google_pay: T.nilable(Models::Components::GooglePayResponse), card_details: T.nilable(Models::Components::CardTransactionDetails), rtp_details: T.nilable(Models::Components::RtpDetails), instant_bank_details: T.nilable(Models::Components::InstantBankTransactionDetails)).void }
42
+ sig { params(payment_method_id: ::String, payment_method_type: Models::Components::TransferPaymentMethodType, account: Models::Components::TransferAccount, bank_account: T.nilable(Models::Components::TransferPaymentMethodsBankAccount), wallet: T.nilable(Models::Components::TransferPaymentMethodsWallet), card: T.nilable(Models::Components::TransferPaymentMethodsCard), ach_details: T.nilable(Models::Components::ACHTransactionDetails), apple_pay: T.nilable(Models::Components::ApplePayResponse), google_pay: T.nilable(Models::Components::GooglePayResponse), card_details: T.nilable(Models::Components::CardTransactionDetails), rtp_details: T.nilable(Models::Components::RTPTransactionDetails), instant_bank_details: T.nilable(Models::Components::InstantBankTransactionDetails)).void }
41
43
  def initialize(payment_method_id:, payment_method_type:, account:, bank_account: nil, wallet: nil, card: nil, ach_details: nil, apple_pay: nil, google_pay: nil, card_details: nil, rtp_details: nil, instant_bank_details: nil)
42
44
  @payment_method_id = payment_method_id
43
45
  @payment_method_type = payment_method_type
@@ -485,6 +485,7 @@ module Moov
485
485
  autoload :RTPInstitution, 'moov/models/components/rtpinstitution.rb'
486
486
  autoload :RTPRejectionCode, 'moov/models/components/rtprejectioncode.rb'
487
487
  autoload :RTPServices, 'moov/models/components/rtpservices.rb'
488
+ autoload :RTPTransactionDetails, 'moov/models/components/rtptransactiondetails.rb'
488
489
  autoload :RTPTransactionStatus, 'moov/models/components/rtptransactionstatus.rb'
489
490
  autoload :ReceiptKind, 'moov/models/components/receiptkind.rb'
490
491
  autoload :ReceiptRequest, 'moov/models/components/receiptrequest.rb'
@@ -685,6 +686,7 @@ module Moov
685
686
  autoload :AchDetails, 'moov/models/components/achdetails.rb'
686
687
  autoload :AchPayment, 'moov/models/components/achpayment.rb'
687
688
  autoload :AdjustmentFees, 'moov/models/components/adjustmentfees.rb'
689
+ autoload :AuthMethod, 'moov/models/components/authmethod.rb'
688
690
  autoload :CardAcquiring, 'moov/models/components/cardacquiring.rb'
689
691
  autoload :CardDetails, 'moov/models/components/carddetails.rb'
690
692
  autoload :CardFundingSource, 'moov/models/components/cardfundingsource.rb'
@@ -697,7 +699,6 @@ module Moov
697
699
  autoload :OtherFees, 'moov/models/components/otherfees.rb'
698
700
  autoload :Phone, 'moov/models/components/phone.rb'
699
701
  autoload :Responsibilities, 'moov/models/components/responsibilities.rb'
700
- autoload :RtpDetails, 'moov/models/components/rtpdetails.rb'
701
702
  autoload :Status, 'moov/models/components/status.rb'
702
703
  autoload :TokenTypeHint, 'moov/models/components/token_type_hint.rb'
703
704
  autoload :Use, 'moov/models/components/use.rb'
@@ -88,9 +88,9 @@ module Moov
88
88
  end
89
89
  @language = 'ruby'
90
90
  @openapi_doc_version = 'v2026.04.00'
91
- @sdk_version = '26.4.3'
91
+ @sdk_version = '26.4.4'
92
92
  @gen_version = '2.882.0'
93
- @user_agent = 'speakeasy-sdk/ruby 26.4.3 2.882.0 v2026.04.00 moov_ruby'
93
+ @user_agent = 'speakeasy-sdk/ruby 26.4.4 2.882.0 v2026.04.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: 26.4.3
4
+ version: 26.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-07 00:00:00.000000000 Z
11
+ date: 2026-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -390,6 +390,8 @@ files:
390
390
  - lib/moov/models/components/asynccreatedrefund.rbi
391
391
  - lib/moov/models/components/asynctransfer.rb
392
392
  - lib/moov/models/components/asynctransfer.rbi
393
+ - lib/moov/models/components/authmethod.rb
394
+ - lib/moov/models/components/authmethod.rbi
393
395
  - lib/moov/models/components/authorizeduser.rb
394
396
  - lib/moov/models/components/authorizeduser.rbi
395
397
  - lib/moov/models/components/authtoken.rb
@@ -1306,8 +1308,6 @@ files:
1306
1308
  - lib/moov/models/components/rtpcredittransferpaymentmethod.rbi
1307
1309
  - lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rb
1308
1310
  - lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rbi
1309
- - lib/moov/models/components/rtpdetails.rb
1310
- - lib/moov/models/components/rtpdetails.rbi
1311
1311
  - lib/moov/models/components/rtpfailurecode.rb
1312
1312
  - lib/moov/models/components/rtpfailurecode.rbi
1313
1313
  - lib/moov/models/components/rtpinstitution.rb
@@ -1316,6 +1316,8 @@ files:
1316
1316
  - lib/moov/models/components/rtprejectioncode.rbi
1317
1317
  - lib/moov/models/components/rtpservices.rb
1318
1318
  - lib/moov/models/components/rtpservices.rbi
1319
+ - lib/moov/models/components/rtptransactiondetails.rb
1320
+ - lib/moov/models/components/rtptransactiondetails.rbi
1319
1321
  - lib/moov/models/components/rtptransactionstatus.rb
1320
1322
  - lib/moov/models/components/rtptransactionstatus.rbi
1321
1323
  - lib/moov/models/components/runtransfer.rb