pcp-server-ruby-sdk 1.10.0 → 1.11.0

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: 482f280c7f678eb053e4b60b6b598efd83f822598825c40b036fda794d8ea931
4
- data.tar.gz: ee91952a8e82ca06fb099357ff371e074158db1818cd7edabf63c6c8d303e468
3
+ metadata.gz: e89a0ce54e0a015e5d996c8254813071f3e05b2621fe075944b9e9f2ea40a239
4
+ data.tar.gz: 7076f0fcb063887f9076ce2798702dc7fa5e25b8eef7b910c871477806c7fefd
5
5
  SHA512:
6
- metadata.gz: 1fec4a3be2887f4ae41bdb3f4c77e4cf88b0ea65d4deb62f2275f8df12c194997cfe18fa8b8754c58d309d5b48afc22e82372d4d3a2f892c4f85e0946aa5ffe2
7
- data.tar.gz: f9689ef5abca20c6c4fb2029abf485f2f45ee7b6557ae6f84637539b0ed37b432b958e29c4f661a5babd64e0810b93f3ecee81a2a8113535d5a486f89ad88f95
6
+ metadata.gz: cbfa4b1bf86b4ed13035f6e2a898ec80560d2a08d7bb95f771eb662176f7faa58ca6fef75408b1c74e05dd188880ee69f38970d6fffb029a67adc0f354c00e48
7
+ data.tar.gz: fa301ebac3dc0f2cb457fa2cbca283e0e300b08f10d17457064a75feebf6948cc73500de91dbdbadb0a827151edc353ce964c6fb9a476a8555227d259f0b8203
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # [1.11.0](https://github.com/PAYONE-GmbH/PCP-ServerSDK-ruby/compare/v1.10.0...v1.11.0) (2026-06-15)
2
+
3
+ ### Features
4
+
5
+ * feat: update API version to 1.56.0 ([a70747bcc908f5f27798eb24770f4e2d015a8977](https://github.com/PAYONE-GmbH/PCP-ServerSDK-ruby/commit/a70747bcc908f5f27798eb24770f4e2d015a8977))
6
+
1
7
  # [1.10.0](https://github.com/PAYONE-GmbH/PCP-ServerSDK-ruby/compare/v1.9.0...v1.10.0) (2026-05-22)
2
8
 
3
9
  ### Features
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  ![PyPI - Downloads](https://img.shields.io/gem/dv/pcp-server-ruby-sdk/1.1.0)
7
7
 
8
8
 
9
- Welcome to the Ruby SDK for the PAYONE Commerce Platform (api-version 1.55.0)! This repository contains a powerful, easy-to-use software development kit (SDK) designed to simplify the integration of online payment processing into your applications.
9
+ Welcome to the Ruby SDK for the PAYONE Commerce Platform (api-version 1.56.0)! This repository contains a powerful, easy-to-use software development kit (SDK) designed to simplify the integration of online payment processing into your applications.
10
10
 
11
11
  ## Requirements
12
12
 
data/api-definition.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: "3.0.3"
2
2
 
3
3
  info:
4
- version: 1.55.0
4
+ version: 1.56.0
5
5
  title: "Commerce Platform API"
6
6
  description: |
7
7
  RESTful API for the creation of Commerce Cases with Checkouts and the execution of Payments.
@@ -2579,7 +2579,7 @@ components:
2579
2579
  type: string
2580
2580
  description: |
2581
2581
  Shopping cart item description.
2582
- The description will also be displayed in the portal as the product name.
2582
+ The description will also be displayed in the portal as the product name if orderLineDetails.productName is not set.
2583
2583
  example: Smartwatch
2584
2584
  x-trim-at: 116
2585
2585
  CartItemPatch:
@@ -3703,6 +3703,12 @@ components:
3703
3703
  Click & Collect or Click & Reserve).
3704
3704
  x-trim-at: 50
3705
3705
  example: Store-12345
3706
+ productName:
3707
+ type: string
3708
+ description: |-
3709
+ The name of the product, will be displayed in Portal if set.
3710
+ maxLength: 116
3711
+ example: Smartwatch-123
3706
3712
  required:
3707
3713
  - productPrice
3708
3714
  - quantity
@@ -5,7 +5,8 @@ module PCPServerSDK
5
5
  module Models
6
6
  # Object containing the line items of the invoice or shopping cart.
7
7
  class CartItemInvoiceData
8
- # Shopping cart item description. The description will also be displayed in the portal as the product name.
8
+ # Shopping cart item description. The description will also be displayed in the portal as the product name
9
+ # if orderLineDetails.productName is not set.
9
10
  attr_accessor :description
10
11
 
11
12
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -34,6 +34,9 @@ module PCPServerSDK
34
34
  # Optional parameter to define the delivery shop or touchpoint where an item has been collected (e.g. for Click & Collect or Click & Reserve).
35
35
  attr_accessor :merchant_shop_delivery_reference
36
36
 
37
+ # The name of the product, will be displayed in Portal if set.
38
+ attr_accessor :product_name
39
+
37
40
  class EnumAttributeValidator
38
41
  attr_reader :datatype
39
42
  attr_reader :allowable_values
@@ -68,7 +71,8 @@ module PCPServerSDK
68
71
  :'product_url' => :'productUrl',
69
72
  :'product_image_url' => :'productImageUrl',
70
73
  :'product_category_path' => :'productCategoryPath',
71
- :'merchant_shop_delivery_reference' => :'merchantShopDeliveryReference'
74
+ :'merchant_shop_delivery_reference' => :'merchantShopDeliveryReference',
75
+ :'product_name' => :'productName'
72
76
  }
73
77
  end
74
78
 
@@ -89,7 +93,8 @@ module PCPServerSDK
89
93
  :'product_url' => :'String',
90
94
  :'product_image_url' => :'String',
91
95
  :'product_category_path' => :'String',
92
- :'merchant_shop_delivery_reference' => :'String'
96
+ :'merchant_shop_delivery_reference' => :'String',
97
+ :'product_name' => :'String'
93
98
  }
94
99
  end
95
100
 
@@ -157,6 +162,10 @@ module PCPServerSDK
157
162
  if attributes.key?(:'merchant_shop_delivery_reference')
158
163
  self.merchant_shop_delivery_reference = attributes[:'merchant_shop_delivery_reference']
159
164
  end
165
+
166
+ if attributes.key?(:'product_name')
167
+ self.product_name = attributes[:'product_name']
168
+ end
160
169
  end
161
170
 
162
171
  # Checks equality by comparing each attribute.
@@ -173,7 +182,8 @@ module PCPServerSDK
173
182
  product_url == o.product_url &&
174
183
  product_image_url == o.product_image_url &&
175
184
  product_category_path == o.product_category_path &&
176
- merchant_shop_delivery_reference == o.merchant_shop_delivery_reference
185
+ merchant_shop_delivery_reference == o.merchant_shop_delivery_reference &&
186
+ product_name == o.product_name
177
187
  end
178
188
 
179
189
  # @see the `==` method
@@ -185,7 +195,7 @@ module PCPServerSDK
185
195
  # Calculates hash code according to all attributes.
186
196
  # @return [Integer] Hash code
187
197
  def hash
188
- [product_code, product_price, product_type, quantity, tax_amount, tax_amount_per_unit, product_url, product_image_url, product_category_path, merchant_shop_delivery_reference].hash
198
+ [product_code, product_price, product_type, quantity, tax_amount, tax_amount_per_unit, product_url, product_image_url, product_category_path, merchant_shop_delivery_reference, product_name].hash
189
199
  end
190
200
 
191
201
  # Builds the object from hash
@@ -1,4 +1,4 @@
1
1
 
2
2
  module PCPServerSDK
3
- VERSION = '1.10.0'
3
+ VERSION = '1.11.0'
4
4
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pcp-serversdk-ruby",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pcp-serversdk-ruby",
9
- "version": "1.10.0",
9
+ "version": "1.11.0",
10
10
  "devDependencies": {
11
11
  "@commitlint/cli": "19.4.0",
12
12
  "@commitlint/config-conventional": "19.2.2",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcp-serversdk-ruby",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "type": "commonjs",
5
5
  "scripts": {
6
6
  "changelog": "conventional-changelog -i CHANGELOG.md -s --config ./changelog.config.js"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pcp-server-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PAYONE GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-22 00:00:00.000000000 Z
11
+ date: 2026-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-http
@@ -335,19 +335,19 @@ specification_version: 4
335
335
  summary: Commerce Platform API Ruby Gem
336
336
  test_files:
337
337
  - spec/communicator_configuration_spec.rb
338
- - spec/endpoints/order_management_checkout_actions_api_client_spec.rb
339
- - spec/endpoints/base_api_client_spec.rb
340
338
  - spec/endpoints/payment_execution_api_client_spec.rb
339
+ - spec/endpoints/base_api_client_spec.rb
340
+ - spec/endpoints/commerce_case_api_client_spec.rb
341
+ - spec/endpoints/checkout_api_client_spec.rb
341
342
  - spec/endpoints/payment_information_api_client_spec.rb
343
+ - spec/endpoints/order_management_checkout_actions_api_client_spec.rb
342
344
  - spec/endpoints/authentication_api_client_spec.rb
343
- - spec/endpoints/checkout_api_client_spec.rb
344
- - spec/endpoints/commerce_case_api_client_spec.rb
345
- - spec/errors/api_response_retrieval_exception_spec.rb
346
- - spec/errors/api_exception_spec.rb
347
345
  - spec/errors/api_error_response_exception_spec.rb
346
+ - spec/errors/api_exception_spec.rb
347
+ - spec/errors/api_response_retrieval_exception_spec.rb
348
348
  - spec/models/required_field_validation_spec.rb
349
- - spec/queries/get_checkouts_query_spec.rb
350
349
  - spec/queries/get_commerce_cases_query_spec.rb
350
+ - spec/queries/get_checkouts_query_spec.rb
351
351
  - spec/request_header_generator_spec.rb
352
352
  - spec/spec_helper.rb
353
353
  - spec/transformer/apple_pay_transformer_spec.rb