tessitura_rest 1.2.9 → 1.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a04569767581e4c1fa6e41aa2245220792d3a2ff9ae19a7906509bc33b999cd
|
4
|
+
data.tar.gz: c1460e19f9914dc471dced8b9aef2443785e3d9a903caefdb554f50f9e96dff8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a517fa329a6c6edb500830e0d1cc189390c71753163f6b0bf94437e5c8e70f969dbc92021aee82896d1b687c9a7ed2c9aaf17322e8ff67d4a0b473ebdc06b494
|
7
|
+
data.tar.gz: eda0abc9317c005b5a0230c12d51877ae767b33a225977ebaf6230cc201ba72c4225e82a79b5def7bc0e5ba7c99a52f19b5f7492e97684700fa19a52b0d643fc
|
@@ -25,4 +25,16 @@ module PaymentGateway
|
|
25
25
|
options.merge!(:body => parameters)
|
26
26
|
self.class.post(base_api_endpoint('PaymentGateway/Authorization/Finalize'), options)
|
27
27
|
end
|
28
|
-
|
28
|
+
|
29
|
+
def reversal_request(amount, reference_number, payment_id, options = {})
|
30
|
+
parameters = {
|
31
|
+
'Amount': amount,
|
32
|
+
'PaymentId': payment_id,
|
33
|
+
'TransactionOrigin': 'webapi',
|
34
|
+
'PaymentMethodId': 606,
|
35
|
+
}
|
36
|
+
options.merge!(basic_auth: @auth, headers: @headers)
|
37
|
+
options.merge!(:body => parameters)
|
38
|
+
self.class.post(base_api_endpoint("PaymentGateway/Authorization/#{reference_number}/Reverse"), options)
|
39
|
+
end
|
40
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tessitura_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: '1.3'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brittany Martin, Danielle Greaves, Craig Donavin, Patrick FitzGerald
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|