moov_ruby 0.3.3 → 0.3.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dfa16e9f1c2f37e429a659ec02b50187fd2979ddc2cd64a50ff7d8d91e1e8d8f
|
|
4
|
+
data.tar.gz: 8a181b2cf636862a88713378ea7393405cc5c2a50c148d8d7cab19c8519c5fc0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0959204e57c95fed148e465cb6d6900e56c1224bb72db9a2e3115fe5d104c25e27ba591e985f73679203b12dd1135e0a1e36043e305ef3bc5f2bad03f4de2e53'
|
|
7
|
+
data.tar.gz: 11fdebf94e506b43f00d7bc05eadea29cfa5827929bd72d25f34942539352f732629bb6c689d5098804a1aa1c2e46bc5214cd24ccb402493d895e33b62383e63
|
|
@@ -25,6 +25,8 @@ module Moov
|
|
|
25
25
|
field :partner_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('partnerAccountID'), required: true } }
|
|
26
26
|
# The merchant's Moov account ID.
|
|
27
27
|
field :merchant_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantAccountID'), required: true } }
|
|
28
|
+
# The payment link's owner's Moov account ID.
|
|
29
|
+
field :owner_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('ownerAccountID'), required: true } }
|
|
28
30
|
# The merchant's preferred payment method ID. Must be a wallet payment method.
|
|
29
31
|
field :merchant_payment_method_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('merchantPaymentMethodID'), required: true } }
|
|
30
32
|
# Link to the payment landing page for this payment link.
|
|
@@ -59,14 +61,15 @@ module Moov
|
|
|
59
61
|
|
|
60
62
|
field :disabled_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('disabledOn'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
|
61
63
|
|
|
62
|
-
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, merchant_payment_method_id: ::String, link: ::String, amount: Models::Components::Amount, uses: ::Integer, display: Models::Components::PaymentLinkDisplayOptions, customer: Models::Components::PaymentLinkCustomerOptions, created_on: ::DateTime, updated_on: ::DateTime, 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)).void }
|
|
63
|
-
def initialize(code:, payment_link_type:, mode:, status:, partner_account_id:, merchant_account_id:, merchant_payment_method_id:, link:, amount:, uses:, display:, customer:, created_on:, updated_on:, max_uses: nil, last_used_on: nil, expires_on: nil, payment: nil, payout: nil, line_items: nil, disabled_on: nil)
|
|
64
|
+
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, amount: Models::Components::Amount, uses: ::Integer, display: Models::Components::PaymentLinkDisplayOptions, customer: Models::Components::PaymentLinkCustomerOptions, created_on: ::DateTime, updated_on: ::DateTime, 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)).void }
|
|
65
|
+
def initialize(code:, payment_link_type:, mode:, status:, partner_account_id:, merchant_account_id:, owner_account_id:, merchant_payment_method_id:, link:, amount:, uses:, display:, customer:, created_on:, updated_on:, max_uses: nil, last_used_on: nil, expires_on: nil, payment: nil, payout: nil, line_items: nil, disabled_on: nil)
|
|
64
66
|
@code = code
|
|
65
67
|
@payment_link_type = payment_link_type
|
|
66
68
|
@mode = mode
|
|
67
69
|
@status = status
|
|
68
70
|
@partner_account_id = partner_account_id
|
|
69
71
|
@merchant_account_id = merchant_account_id
|
|
72
|
+
@owner_account_id = owner_account_id
|
|
70
73
|
@merchant_payment_method_id = merchant_payment_method_id
|
|
71
74
|
@link = link
|
|
72
75
|
@amount = amount
|
|
@@ -93,6 +96,7 @@ module Moov
|
|
|
93
96
|
return false unless @status == other.status
|
|
94
97
|
return false unless @partner_account_id == other.partner_account_id
|
|
95
98
|
return false unless @merchant_account_id == other.merchant_account_id
|
|
99
|
+
return false unless @owner_account_id == other.owner_account_id
|
|
96
100
|
return false unless @merchant_payment_method_id == other.merchant_payment_method_id
|
|
97
101
|
return false unless @link == other.link
|
|
98
102
|
return false unless @amount == other.amount
|
|
@@ -20,6 +20,8 @@ class Moov::Models::Components::PaymentLink
|
|
|
20
20
|
def partner_account_id=(str_); end
|
|
21
21
|
def merchant_account_id(); end
|
|
22
22
|
def merchant_account_id=(str_); end
|
|
23
|
+
def owner_account_id(); end
|
|
24
|
+
def owner_account_id=(str_); end
|
|
23
25
|
def merchant_payment_method_id(); end
|
|
24
26
|
def merchant_payment_method_id=(str_); end
|
|
25
27
|
def link(); end
|
|
@@ -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.
|
|
98
|
+
@sdk_version = '0.3.4'
|
|
99
99
|
@gen_version = '2.755.9'
|
|
100
|
-
@user_agent = 'speakeasy-sdk/ruby 0.3.
|
|
100
|
+
@user_agent = 'speakeasy-sdk/ruby 0.3.4 2.755.9 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.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|