pcp-server-ruby-sdk 1.5.0 → 1.7.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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/Gemfile +1 -0
  4. data/api-definition.yaml +169 -18
  5. data/lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_header_information.rb +2 -0
  6. data/lib/PCP-server-Ruby-SDK/models/apple_payment_data_token_information.rb +6 -0
  7. data/lib/PCP-server-Ruby-SDK/models/bank_account_information.rb +0 -2
  8. data/lib/PCP-server-Ruby-SDK/models/bank_payout_method_specific_input.rb +0 -4
  9. data/lib/PCP-server-Ruby-SDK/models/capture_payment_request.rb +13 -4
  10. data/lib/PCP-server-Ruby-SDK/models/capture_payment_response.rb +13 -4
  11. data/lib/PCP-server-Ruby-SDK/models/cart_item_input.rb +13 -4
  12. data/lib/PCP-server-Ruby-SDK/models/cart_item_patch.rb +13 -4
  13. data/lib/PCP-server-Ruby-SDK/models/cart_item_result.rb +13 -4
  14. data/lib/PCP-server-Ruby-SDK/models/cart_item_supplier_references.rb +200 -0
  15. data/lib/PCP-server-Ruby-SDK/models/complete_payment_product840_specific_input.rb +2 -0
  16. data/lib/PCP-server-Ruby-SDK/models/create_payment_response.rb +13 -4
  17. data/lib/PCP-server-Ruby-SDK/models/deliver_request.rb +12 -4
  18. data/lib/PCP-server-Ruby-SDK/models/fund_distribution.rb +272 -0
  19. data/lib/PCP-server-Ruby-SDK/models/fund_split.rb +211 -0
  20. data/lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_input.rb +13 -4
  21. data/lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_output.rb +1 -1
  22. data/lib/PCP-server-Ruby-SDK/models/{network.rb → mobile_payment_network.rb} +4 -4
  23. data/lib/PCP-server-Ruby-SDK/models/order_request.rb +12 -4
  24. data/lib/PCP-server-Ruby-SDK/models/pause_payment_request.rb +5 -38
  25. data/lib/PCP-server-Ruby-SDK/models/payment_execution.rb +15 -4
  26. data/lib/PCP-server-Ruby-SDK/models/payment_execution_specific_input.rb +13 -4
  27. data/lib/PCP-server-Ruby-SDK/models/payment_product302_specific_input.rb +1 -1
  28. data/lib/PCP-server-Ruby-SDK/models/payment_product5002_specific_input.rb +209 -0
  29. data/lib/PCP-server-Ruby-SDK/models/refund_payment_response.rb +12 -4
  30. data/lib/PCP-server-Ruby-SDK/models/refund_request.rb +13 -4
  31. data/lib/PCP-server-Ruby-SDK/models/return_request.rb +204 -191
  32. data/lib/PCP-server-Ruby-SDK/transformer/apple_pay_transformer.rb +2 -2
  33. data/lib/PCP-server-Ruby-SDK/version.rb +1 -1
  34. data/lib/PCP-server-Ruby-SDK.rb +5 -1
  35. data/package-lock.json +17 -18
  36. data/package.json +1 -1
  37. data/scripts.sh +2 -2
  38. data/spec/transformer/apple_pay_transformer_spec.rb +1 -1
  39. metadata +11 -7
@@ -47,7 +47,7 @@ RSpec.describe 'PCPServerSDK::Transformer::transform_apple_pay_payment_to_mobile
47
47
  public_key_hash: 'publicKeyHash123',
48
48
  ephemeral_key: 'ephemeralPublicKey123',
49
49
  payment_product302_specific_input: PCPServerSDK::Models::PaymentProduct302SpecificInput.new(
50
- network: PCPServerSDK::Models::Network.from_string('VISA'),
50
+ network: PCPServerSDK::Models::MobilePaymentNetwork.from_string('VISA'),
51
51
  token: PCPServerSDK::Models::ApplePaymentDataTokenInformation.new(
52
52
  version: PCPServerSDK::Models::ApplePaymentTokenVersion.from_string('EC_V1'),
53
53
  signature: 'signature123',
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.5.0
4
+ version: 1.7.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: 2025-12-12 00:00:00.000000000 Z
11
+ date: 2026-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-http
@@ -156,6 +156,7 @@ files:
156
156
  - lib/PCP-server-Ruby-SDK/models/cart_item_patch.rb
157
157
  - lib/PCP-server-Ruby-SDK/models/cart_item_result.rb
158
158
  - lib/PCP-server-Ruby-SDK/models/cart_item_status.rb
159
+ - lib/PCP-server-Ruby-SDK/models/cart_item_supplier_references.rb
159
160
  - lib/PCP-server-Ruby-SDK/models/checkout_references.rb
160
161
  - lib/PCP-server-Ruby-SDK/models/checkout_response.rb
161
162
  - lib/PCP-server-Ruby-SDK/models/checkouts_response.rb
@@ -185,14 +186,16 @@ files:
185
186
  - lib/PCP-server-Ruby-SDK/models/extended_checkout_status.rb
186
187
  - lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_input.rb
187
188
  - lib/PCP-server-Ruby-SDK/models/financing_payment_method_specific_output.rb
189
+ - lib/PCP-server-Ruby-SDK/models/fund_distribution.rb
190
+ - lib/PCP-server-Ruby-SDK/models/fund_split.rb
188
191
  - lib/PCP-server-Ruby-SDK/models/installment_option.rb
189
192
  - lib/PCP-server-Ruby-SDK/models/link_information.rb
190
193
  - lib/PCP-server-Ruby-SDK/models/mandate_recurrence_type.rb
191
194
  - lib/PCP-server-Ruby-SDK/models/merchant_action.rb
192
195
  - lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_input.rb
193
196
  - lib/PCP-server-Ruby-SDK/models/mobile_payment_method_specific_output.rb
197
+ - lib/PCP-server-Ruby-SDK/models/mobile_payment_network.rb
194
198
  - lib/PCP-server-Ruby-SDK/models/mobile_payment_three_dsecure.rb
195
- - lib/PCP-server-Ruby-SDK/models/network.rb
196
199
  - lib/PCP-server-Ruby-SDK/models/order.rb
197
200
  - lib/PCP-server-Ruby-SDK/models/order_item.rb
198
201
  - lib/PCP-server-Ruby-SDK/models/order_line_details_input.rb
@@ -223,6 +226,7 @@ files:
223
226
  - lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_input.rb
224
227
  - lib/PCP-server-Ruby-SDK/models/payment_product3391_specific_output.rb
225
228
  - lib/PCP-server-Ruby-SDK/models/payment_product3392_specific_input.rb
229
+ - lib/PCP-server-Ruby-SDK/models/payment_product5002_specific_input.rb
226
230
  - lib/PCP-server-Ruby-SDK/models/payment_product771_specific_output.rb
227
231
  - lib/PCP-server-Ruby-SDK/models/payment_product840_customer_account.rb
228
232
  - lib/PCP-server-Ruby-SDK/models/payment_product840_specific_output.rb
@@ -323,16 +327,16 @@ specification_version: 4
323
327
  summary: Commerce Platform API Ruby Gem
324
328
  test_files:
325
329
  - spec/communicator_configuration_spec.rb
326
- - spec/endpoints/payment_execution_api_client_spec.rb
327
330
  - spec/endpoints/order_management_checkout_actions_api_client_spec.rb
328
- - spec/endpoints/payment_information_api_client_spec.rb
329
331
  - spec/endpoints/base_api_client_spec.rb
332
+ - spec/endpoints/payment_information_api_client_spec.rb
333
+ - spec/endpoints/payment_execution_api_client_spec.rb
330
334
  - spec/endpoints/commerce_case_api_client_spec.rb
331
- - spec/endpoints/authentication_api_client_spec.rb
332
335
  - spec/endpoints/checkout_api_client_spec.rb
336
+ - spec/endpoints/authentication_api_client_spec.rb
337
+ - spec/errors/api_error_response_exception_spec.rb
333
338
  - spec/errors/api_response_retrieval_exception_spec.rb
334
339
  - spec/errors/api_exception_spec.rb
335
- - spec/errors/api_error_response_exception_spec.rb
336
340
  - spec/queries/get_checkouts_query_spec.rb
337
341
  - spec/queries/get_commerce_cases_query_spec.rb
338
342
  - spec/request_header_generator_spec.rb