mangopay4-ruby-sdk 3.51.0 → 3.52.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: 7b63ea2f93f05821d77c50b02e536774d78f5e7f179cc4db8cd458e90f260570
4
- data.tar.gz: 04e80c2683e4ad7d22a134cb1dfb8d50ed07cb71b477d9802974003924295720
3
+ metadata.gz: aa5be31ede367e7321aaf3ce876a44f7ad4710f1c9018956090b05375c83c524
4
+ data.tar.gz: 0f54f26d8c657f517fd48b8b5e3c4f15686411703d3ff771cfd064dc1901c45c
5
5
  SHA512:
6
- metadata.gz: 7ad2ef1b7126ddb8dc8d0ef67406f3b73631132e721ec5b4896f77e345682d53180f56a13be758e17decdc7f71433f5082c7f636b75bce1a6a9eff13fe01db9f
7
- data.tar.gz: '0985e7d63ff431a41f3a1e766e2a52805e3e8145d499d1fbc017c185fbf69c7bbcabd5fbc948bed31f57e17e1966dc11c91830a95b758b57ce3eb40489377cb7'
6
+ metadata.gz: 1205f641ea430bd080449c56065fd461f11f2658e27f6f58e0d41a66759e059819dd38440ebf7c3d282f91be04ac74930db2d955240aca233dc456f4e47714ab
7
+ data.tar.gz: 657f0076c9a83d682d5773f31ff7e09cb5440243b5b4ecdab914decec90da5d9571d5b7f9992cc4ef67d6bffa61e079e85456dc0f4cd32f3bdc9086aff2a8768
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [3.52.0] - 2026-09-01
2
+ ### Added – Get PayPal Data Collection (Acquiring)
3
+ - Added `MangoPay::Acquiring::PayIn::PayPal::Web.get_data_collection` to fetch a PayPal data collection by id
4
+
1
5
  ## [3.51.0] - 2026-08-17
2
6
  ### Added – External providers list for PayIn Intents
3
7
  #342
@@ -50,6 +50,10 @@ module MangoPay
50
50
  def self.create_data_collection(params, idempotency_key = nil)
51
51
  MangoPay.request(:post, "#{MangoPay.api_path}/acquiring/payins/payment-methods/paypal/data-collection", params, {}, idempotency_key)
52
52
  end
53
+
54
+ def self.get_data_collection(data_collection_id)
55
+ MangoPay.request(:get, "#{MangoPay.api_path}/acquiring/payins/payment-methods/paypal/data-collection/#{data_collection_id}")
56
+ end
53
57
  end
54
58
  end
55
59
  end
@@ -1,3 +1,3 @@
1
1
  module MangoPay
2
- VERSION = '3.51.0'
2
+ VERSION = '3.52.0'
3
3
  end
@@ -140,6 +140,11 @@ xdescribe MangoPay::Acquiring do
140
140
  )
141
141
  expect(data_collection['dataCollectionId']).not_to be_nil
142
142
  end
143
+
144
+ it 'fetches PayPal DataCollection' do
145
+ data_collection = MangoPay::Acquiring::PayIn::PayPal::Web.get_data_collection('123456789')
146
+ expect(data_collection['dataCollectionId']).not_to be_nil
147
+ end
143
148
  end
144
149
 
145
150
  describe 'CARD VALIDATION' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mangopay4-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.51.0
4
+ version: 3.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoffroy Lorieux
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-08-18 00:00:00.000000000 Z
12
+ date: 2026-09-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: multi_json