checkout_sdk 1.8.0 → 1.8.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: e874d400bc746ae69745bb115abe339f65794ae26da3dbad9cda50f06d1ee6ae
4
- data.tar.gz: 0c3a867f5112af78fe5226904b933e63fd71bc18a212944a6b49edb399a6bda6
3
+ metadata.gz: 3689b98f6d220440e2e75b038b7bbb64938c5062bf4e15eab2a770041f6275c0
4
+ data.tar.gz: a2131eb2374f649e3270106b315219119f6e7021e8db0f802b9a1e8ff5a51c28
5
5
  SHA512:
6
- metadata.gz: 793ec64a35428ae6184c6b377c845e24210c44c74bac147fca8abe633d933d6c8166283b3a4dad42b48e783d9e65c5270f35e1000bea15c45cebbdd6d836f256
7
- data.tar.gz: a9c72282100667bef51dd7879ab64eda2a584f75f633b873b6ef7108aa66b06917d54b34d20e79df7afb6a53c47e80920d480c298136f5e3d9942b25fff747ea
6
+ metadata.gz: dddbe1c81db5861d9c06ed7eb1a9f331187115d239e375d2d7099cf8b34effe0009d91cc6ae8343b39bd620db94047deb9feec938834aa36dbd2a064c1533c0e
7
+ data.tar.gz: 4a9b8a8d03263d98e475d0f73e5c83110b9f1e23217e2bc32264b69d83e9b7a22fb0bfcdc9fe9b9d0c61b13eb4324616e7fcdb5de2c2e65e4c1d13c97fa5b0a7
@@ -8,6 +8,8 @@ require 'checkout_sdk/payments/payout_request'
8
8
  require 'checkout_sdk/payments/user_action'
9
9
  require 'checkout_sdk/payments/three_ds_request'
10
10
  require 'checkout_sdk/payments/product_type'
11
+ require 'checkout_sdk/payments/product_item_type'
12
+ require 'checkout_sdk/payments/product_sub_type'
11
13
  require 'checkout_sdk/payments/payout_billing_descriptor'
12
14
  require 'checkout_sdk/payments/shipping_details'
13
15
  require 'checkout_sdk/payments/payer'
@@ -3,9 +3,13 @@
3
3
  module CheckoutSdk
4
4
  module Payments
5
5
  # @!attribute type
6
- # @return [String]
6
+ # The item type. For example, +physical+ or +digital+.
7
+ # [Optional]
8
+ # @return [String, nil] {ProductItemType}
7
9
  # @!attribute sub_type
8
- # @return [String] {ProductSubType}
10
+ # The digital item type. Required if +type+ is set to +digital+.
11
+ # [Optional]
12
+ # @return [String, nil] {ProductSubType}
9
13
  # @!attribute name
10
14
  # @return [String]
11
15
  # @!attribute quantity
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CheckoutSdk
4
+ module Payments
5
+ module ProductItemType
6
+ DIGITAL = 'digital'
7
+ DISCOUNT = 'discount'
8
+ PHYSICAL = 'physical'
9
+ end
10
+ end
11
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CheckoutSdk
4
- VERSION = '1.8.0'
4
+ VERSION = '1.8.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.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Checkout
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-06-23 00:00:00.000000000 Z
11
+ date: 2026-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -487,6 +487,7 @@ files:
487
487
  - lib/checkout_sdk/payments/processing_data.rb
488
488
  - lib/checkout_sdk/payments/processing_settings.rb
489
489
  - lib/checkout_sdk/payments/product.rb
490
+ - lib/checkout_sdk/payments/product_item_type.rb
490
491
  - lib/checkout_sdk/payments/product_sub_type.rb
491
492
  - lib/checkout_sdk/payments/product_type.rb
492
493
  - lib/checkout_sdk/payments/refund_order.rb