pcp-server-ruby-sdk 1.7.0 → 1.8.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.
@@ -17,17 +17,13 @@ module PCPServerSDK
17
17
  # Token to identify the card in the reporting.
18
18
  attr_accessor :reporting_token
19
19
 
20
- # Indicates whether the PayPal JavaScript SDK flow was used for the redirect payment.
21
- attr_accessor :java_script_sdk_flow
22
-
23
20
  # Attribute mapping from ruby-style variable name to JSON key.
24
21
  def self.attribute_map
25
22
  {
26
23
  :'payment_product_id' => :'paymentProductId',
27
24
  :'payment_product840_specific_output' => :'paymentProduct840SpecificOutput',
28
25
  :'payment_processing_token' => :'paymentProcessingToken',
29
- :'reporting_token' => :'reportingToken',
30
- :'java_script_sdk_flow' => :'javaScriptSdkFlow'
26
+ :'reporting_token' => :'reportingToken'
31
27
  }
32
28
  end
33
29
 
@@ -42,8 +38,7 @@ module PCPServerSDK
42
38
  :'payment_product_id' => :'Integer',
43
39
  :'payment_product840_specific_output' => :'PaymentProduct840SpecificOutput',
44
40
  :'payment_processing_token' => :'String',
45
- :'reporting_token' => :'String',
46
- :'java_script_sdk_flow' => :'Boolean'
41
+ :'reporting_token' => :'String'
47
42
  }
48
43
  end
49
44
 
@@ -83,10 +78,6 @@ module PCPServerSDK
83
78
  if attributes.key?(:'reporting_token')
84
79
  self.reporting_token = attributes[:'reporting_token']
85
80
  end
86
-
87
- if attributes.key?(:'java_script_sdk_flow')
88
- self.java_script_sdk_flow = attributes[:'java_script_sdk_flow']
89
- end
90
81
  end
91
82
 
92
83
  # Checks equality by comparing each attribute.
@@ -97,8 +88,7 @@ module PCPServerSDK
97
88
  payment_product_id == o.payment_product_id &&
98
89
  payment_product840_specific_output == o.payment_product840_specific_output &&
99
90
  payment_processing_token == o.payment_processing_token &&
100
- reporting_token == o.reporting_token &&
101
- java_script_sdk_flow == o.java_script_sdk_flow
91
+ reporting_token == o.reporting_token
102
92
  end
103
93
 
104
94
  # @see the `==` method
@@ -110,7 +100,7 @@ module PCPServerSDK
110
100
  # Calculates hash code according to all attributes.
111
101
  # @return [Integer] Hash code
112
102
  def hash
113
- [payment_product_id, payment_product840_specific_output, payment_processing_token, reporting_token, java_script_sdk_flow].hash
103
+ [payment_product_id, payment_product840_specific_output, payment_processing_token, reporting_token].hash
114
104
  end
115
105
 
116
106
  # Builds the object from hash
@@ -33,7 +33,7 @@ module PCPServerSDK
33
33
  def self.openapi_types
34
34
  {
35
35
  :'amount_of_money' => :'PositiveAmountOfMoney',
36
- :'references' => :'PaymentReferences',
36
+ :'references' => :'PaymentReferencesForRefund',
37
37
  :'_return' => :'ReturnInformation',
38
38
  :'fund_split' => :'FundSplit'
39
39
  }
@@ -1,4 +1,4 @@
1
1
 
2
2
  module PCPServerSDK
3
- VERSION = '1.7.0'
3
+ VERSION = '1.8.0'
4
4
  end
@@ -54,6 +54,7 @@ require_relative 'PCP-server-Ruby-SDK/models/checkouts_response'
54
54
  require_relative 'PCP-server-Ruby-SDK/models/commerce_case_response'
55
55
  require_relative 'PCP-server-Ruby-SDK/models/company_information'
56
56
  require_relative 'PCP-server-Ruby-SDK/models/complete_financing_payment_method_specific_input'
57
+ require_relative 'PCP-server-Ruby-SDK/models/complete_order_request'
57
58
  require_relative 'PCP-server-Ruby-SDK/models/complete_payment_method_specific_input'
58
59
  require_relative 'PCP-server-Ruby-SDK/models/complete_payment_request'
59
60
  require_relative 'PCP-server-Ruby-SDK/models/complete_payment_response'
@@ -119,6 +120,7 @@ require_relative 'PCP-server-Ruby-SDK/models/payment_product771_specific_output'
119
120
  require_relative 'PCP-server-Ruby-SDK/models/payment_product840_customer_account'
120
121
  require_relative 'PCP-server-Ruby-SDK/models/payment_product840_specific_output'
121
122
  require_relative 'PCP-server-Ruby-SDK/models/payment_references'
123
+ require_relative 'PCP-server-Ruby-SDK/models/payment_references_for_refund'
122
124
  require_relative 'PCP-server-Ruby-SDK/models/payment_response'
123
125
  require_relative 'PCP-server-Ruby-SDK/models/payment_status_output'
124
126
  require_relative 'PCP-server-Ruby-SDK/models/payment_type'
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pcp-serversdk-ruby",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pcp-serversdk-ruby",
9
- "version": "1.7.0",
9
+ "version": "1.8.0",
10
10
  "devDependencies": {
11
11
  "@commitlint/cli": "19.4.0",
12
12
  "@commitlint/config-conventional": "19.2.2",
@@ -306,6 +306,20 @@
306
306
  "node": ">=10.13.0"
307
307
  }
308
308
  },
309
+ "node_modules/@simple-libs/stream-utils": {
310
+ "version": "1.2.0",
311
+ "resolved": "https://registry.npmjs.org/@simple-libs/stream-utils/-/stream-utils-1.2.0.tgz",
312
+ "integrity": "sha512-KxXvfapcixpz6rVEB6HPjOUZT22yN6v0vI0urQSk1L8MlEWPDFCZkhw2xmkyoTGYeFw7tWTZd7e3lVzRZRN/EA==",
313
+ "dev": true,
314
+ "license": "MIT",
315
+ "optional": true,
316
+ "engines": {
317
+ "node": ">=18"
318
+ },
319
+ "funding": {
320
+ "url": "https://ko-fi.com/dangreen"
321
+ }
322
+ },
309
323
  "node_modules/@types/conventional-commits-parser": {
310
324
  "version": "5.0.2",
311
325
  "resolved": "https://registry.npmjs.org/@types/conventional-commits-parser/-/conventional-commits-parser-5.0.2.tgz",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcp-serversdk-ruby",
3
- "version": "1.7.0",
3
+ "version": "1.8.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.7.0
4
+ version: 1.8.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-02-26 00:00:00.000000000 Z
11
+ date: 2026-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-http
@@ -163,6 +163,7 @@ files:
163
163
  - lib/PCP-server-Ruby-SDK/models/commerce_case_response.rb
164
164
  - lib/PCP-server-Ruby-SDK/models/company_information.rb
165
165
  - lib/PCP-server-Ruby-SDK/models/complete_financing_payment_method_specific_input.rb
166
+ - lib/PCP-server-Ruby-SDK/models/complete_order_request.rb
166
167
  - lib/PCP-server-Ruby-SDK/models/complete_payment_method_specific_input.rb
167
168
  - lib/PCP-server-Ruby-SDK/models/complete_payment_product840_specific_input.rb
168
169
  - lib/PCP-server-Ruby-SDK/models/complete_payment_request.rb
@@ -231,6 +232,7 @@ files:
231
232
  - lib/PCP-server-Ruby-SDK/models/payment_product840_customer_account.rb
232
233
  - lib/PCP-server-Ruby-SDK/models/payment_product840_specific_output.rb
233
234
  - lib/PCP-server-Ruby-SDK/models/payment_references.rb
235
+ - lib/PCP-server-Ruby-SDK/models/payment_references_for_refund.rb
234
236
  - lib/PCP-server-Ruby-SDK/models/payment_response.rb
235
237
  - lib/PCP-server-Ruby-SDK/models/payment_status_output.rb
236
238
  - lib/PCP-server-Ruby-SDK/models/payment_type.rb
@@ -327,18 +329,18 @@ specification_version: 4
327
329
  summary: Commerce Platform API Ruby Gem
328
330
  test_files:
329
331
  - spec/communicator_configuration_spec.rb
330
- - spec/endpoints/order_management_checkout_actions_api_client_spec.rb
331
- - spec/endpoints/base_api_client_spec.rb
332
332
  - spec/endpoints/payment_information_api_client_spec.rb
333
- - spec/endpoints/payment_execution_api_client_spec.rb
333
+ - spec/endpoints/authentication_api_client_spec.rb
334
+ - spec/endpoints/base_api_client_spec.rb
334
335
  - spec/endpoints/commerce_case_api_client_spec.rb
336
+ - spec/endpoints/order_management_checkout_actions_api_client_spec.rb
335
337
  - spec/endpoints/checkout_api_client_spec.rb
336
- - spec/endpoints/authentication_api_client_spec.rb
337
- - spec/errors/api_error_response_exception_spec.rb
338
+ - spec/endpoints/payment_execution_api_client_spec.rb
338
339
  - spec/errors/api_response_retrieval_exception_spec.rb
339
340
  - spec/errors/api_exception_spec.rb
340
- - spec/queries/get_checkouts_query_spec.rb
341
+ - spec/errors/api_error_response_exception_spec.rb
341
342
  - spec/queries/get_commerce_cases_query_spec.rb
343
+ - spec/queries/get_checkouts_query_spec.rb
342
344
  - spec/request_header_generator_spec.rb
343
345
  - spec/spec_helper.rb
344
346
  - spec/transformer/apple_pay_transformer_spec.rb