checkout_sdk 1.4.0 → 1.4.1

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: 7eaf0e31423e11480363f98307c62e05526fd5b08278054afe51c519f0be6693
4
- data.tar.gz: db532611e11ae196393c372eb2e578ddd633ceec2136403c46ea2d15632694d3
3
+ metadata.gz: e1972baffa08559a77eba645b790a981552144c4b5af7450936161b677e080c8
4
+ data.tar.gz: dfa0d1690acc596cb7108304c7704bb606fa1bd082bb99ab6ec4f8c381615de8
5
5
  SHA512:
6
- metadata.gz: 25e1a330e214cedd7de9137033d99b4c22cd9f3e306431c8bbe4ebf7ea7f098aa8734e813d9b31ad287151f259c3d20a78cc79d825aa9359c69a6f3e119e6022
7
- data.tar.gz: 37f0915dd19a1b337ea03aaae0732ba884455e42ccb86d2188d7e3e9cc0e449ebca9be9c4c70ba67f34f3411be9a68006f4ec34365fc4a6cabb7caf5b41c2012
6
+ metadata.gz: 2d93aa8c8e91d1e51935ce338ccfecc87bb663ee9f806edc28a77d239340653b20c68389d2c9f8752f37d02f540bcac5f418bbef11538559a22d12d7d7b78227
7
+ data.tar.gz: 68295d7212f13138cb404df36bd8aca3b78ed0db7950d12d87a7590da8f04b8426e12c49deae821296a8826918a2da906d4962328ccf78169480c3d8973b2f68
@@ -68,6 +68,10 @@ module CheckoutSdk
68
68
  # @return [SenderInformation]
69
69
  # @!attribute purpose
70
70
  # @return [String]
71
+ # @!attribute affiliate_id
72
+ # @return [string]
73
+ # @!attribute affiliate_url
74
+ # @return [string]
71
75
  class ProcessingSettings
72
76
  attr_accessor :order_id,
73
77
  :tax_amount,
@@ -101,7 +105,9 @@ module CheckoutSdk
101
105
  :shipping_info,
102
106
  :dlocal,
103
107
  :senderInformation,
104
- :purpose
108
+ :purpose,
109
+ :affiliate_id,
110
+ :affiliate_url
105
111
  end
106
112
  end
107
113
  end
@@ -2,6 +2,10 @@
2
2
 
3
3
  module CheckoutSdk
4
4
  module Payments
5
+ # @!attribute type
6
+ # @return [String]
7
+ # @!attribute sub_type
8
+ # @return [String] {ProductSubType}
5
9
  # @!attribute name
6
10
  # @return [String]
7
11
  # @!attribute quantity
@@ -31,7 +35,9 @@ module CheckoutSdk
31
35
  # @!attribute sku
32
36
  # @return [String]
33
37
  class Product
34
- attr_accessor :name,
38
+ attr_accessor :type,
39
+ :sub_type,
40
+ :name,
35
41
  :quantity,
36
42
  :unit_price,
37
43
  :reference,
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ module ProductSubType
6
+ BLOCKCHAIN = 'blockchain'
7
+ CBDC = 'cbdc'
8
+ CRYPTOCURRENCY = 'cryptocurrency'
9
+ NFT = 'nft'
10
+ STABLECOIN = 'stablecoin'
11
+ end
12
+ end
13
+ end
@@ -5,6 +5,7 @@ module CheckoutSdk
5
5
  module StorePaymentDetailsType
6
6
  DISABLED = 'disabled'
7
7
  ENABLED = 'enabled'
8
+ COLLECT_CONSENT = 'collect_consent'
8
9
  end
9
10
  end
10
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CheckoutSdk
4
- VERSION = '1.4.0'
4
+ VERSION = '1.4.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkout_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Checkout
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-06-23 00:00:00.000000000 Z
11
+ date: 2025-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -386,6 +386,7 @@ files:
386
386
  - lib/checkout_sdk/payments/previous/source/token_source.rb
387
387
  - lib/checkout_sdk/payments/processing_settings.rb
388
388
  - lib/checkout_sdk/payments/product.rb
389
+ - lib/checkout_sdk/payments/product_sub_type.rb
389
390
  - lib/checkout_sdk/payments/product_type.rb
390
391
  - lib/checkout_sdk/payments/refund_order.rb
391
392
  - lib/checkout_sdk/payments/refund_request.rb