mastercard_crossborder 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mastercard/api/crossborder/cancelpayment.rb +2 -2
- data/lib/mastercard/api/crossborder/{cardedrateapi.rb → cardedrate.rb} +6 -6
- data/lib/mastercard/api/crossborder/payment.rb +2 -2
- data/lib/mastercard/api/crossborder/quotes.rb +2 -2
- data/lib/mastercard/api/crossborder/resourceconfig.rb +1 -1
- data/lib/mastercard/api/crossborder/retrievepayment.rb +4 -4
- data/lib/mastercard_crossborder.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38b2f02f83be9cbd18a4bb1f7645a7488bba1360bef71d24d49b9e97732fbfb1
|
4
|
+
data.tar.gz: 2155e556e934238ade8cdbdf1d96a7cbc672f17719f9f3704de020861893c519
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b32f0cac51f9f135fabb4ffef069b9da45869f8d84546402e21fd0fd0e53bff9fe093beeb14904ee04624e2378f155bdbe78516cb58a7880c36726d6ec66349
|
7
|
+
data.tar.gz: 5dcc57338ad7b57e92400afb48e99a81fa93f69b7723bc66f49d7bf767df86219b43b55ec5c94fcf5b2eb939333ac71103b3b71056dd07a6d1ad3a99dcef7087
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'75b9a9e8-806b-4c99-9547-5c894269d072' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder/{payment-id}/cancel", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [CancelPayment] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("75b9a9e8-806b-4c99-9547-5c894269d072", CancelPayment.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -32,12 +32,12 @@ require "mastercard/core/baseobject"
|
|
32
32
|
module MasterCard
|
33
33
|
module API
|
34
34
|
module Crossborder
|
35
|
-
class
|
35
|
+
class CardedRate < MasterCard::Core::Model::BaseObject
|
36
36
|
include MasterCard::Core::Model
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'8c83298a-55f8-4b43-8e7d-960cfb1de60b' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder/rates", "query", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -62,15 +62,15 @@ module MasterCard
|
|
62
62
|
|
63
63
|
|
64
64
|
|
65
|
-
def self.
|
65
|
+
def self.fXRatePull(criteria)
|
66
66
|
#
|
67
|
-
#Query objects of type
|
67
|
+
#Query objects of type CardedRate by id and optional criteria
|
68
68
|
#@param [Dict] criteria
|
69
|
-
#@return [
|
69
|
+
#@return [CardedRate] object representing the response.
|
70
70
|
#@raise [APIException] an exception from the response status
|
71
71
|
#
|
72
72
|
|
73
|
-
return self.execute("
|
73
|
+
return self.execute("8c83298a-55f8-4b43-8e7d-960cfb1de60b",CardedRate.new(criteria))
|
74
74
|
end
|
75
75
|
|
76
76
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'caa23b54-c21c-4212-9c1f-214562f1d05a' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder/payment", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [Payment] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("caa23b54-c21c-4212-9c1f-214562f1d05a", Payment.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,7 +37,7 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
40
|
+
'11f8896d-911a-4a23-8640-3afaa6596c94' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder/quotes", "create", [], []),
|
41
41
|
|
42
42
|
}
|
43
43
|
|
@@ -64,7 +64,7 @@ module MasterCard
|
|
64
64
|
#@param Dict mapObj, containing the required parameters to create a new object
|
65
65
|
#@return [Quotes] of the response of created instance.
|
66
66
|
#@raise [APIException] an exception from the response status
|
67
|
-
return self.execute("
|
67
|
+
return self.execute("11f8896d-911a-4a23-8640-3afaa6596c94", Quotes.new(mapObj))
|
68
68
|
end
|
69
69
|
|
70
70
|
|
@@ -37,8 +37,8 @@ module MasterCard
|
|
37
37
|
#
|
38
38
|
|
39
39
|
@__store = {
|
40
|
-
'
|
41
|
-
'
|
40
|
+
'cb5be22f-cd94-4c35-9d1f-15ed9bd57742' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder/{payment-id}", "read", [], []),
|
41
|
+
'19f56957-43e4-4569-a116-b770cbce6d20' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder", "query", [], ["ref"]),
|
42
42
|
|
43
43
|
}
|
44
44
|
|
@@ -82,7 +82,7 @@ module MasterCard
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
|
85
|
-
return self.execute("
|
85
|
+
return self.execute("cb5be22f-cd94-4c35-9d1f-15ed9bd57742",RetrievePayment.new(mapObj))
|
86
86
|
end
|
87
87
|
|
88
88
|
|
@@ -100,7 +100,7 @@ module MasterCard
|
|
100
100
|
#@raise [APIException] an exception from the response status
|
101
101
|
#
|
102
102
|
|
103
|
-
return self.execute("
|
103
|
+
return self.execute("19f56957-43e4-4569-a116-b770cbce6d20",RetrievePayment.new(criteria))
|
104
104
|
end
|
105
105
|
|
106
106
|
|
@@ -3,7 +3,7 @@ require 'mastercard_api_core'
|
|
3
3
|
require 'mastercard/api/crossborder/resourceconfig'
|
4
4
|
|
5
5
|
require 'mastercard/api/crossborder/cancelpayment'
|
6
|
-
require 'mastercard/api/crossborder/
|
6
|
+
require 'mastercard/api/crossborder/cardedrate'
|
7
7
|
require 'mastercard/api/crossborder/payment'
|
8
8
|
require 'mastercard/api/crossborder/quotes'
|
9
9
|
require 'mastercard/api/crossborder/retrievepayment'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastercard_crossborder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MasterCard Worldwide
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|
@@ -52,7 +52,7 @@ extensions: []
|
|
52
52
|
extra_rdoc_files: []
|
53
53
|
files:
|
54
54
|
- lib/mastercard/api/crossborder/cancelpayment.rb
|
55
|
-
- lib/mastercard/api/crossborder/
|
55
|
+
- lib/mastercard/api/crossborder/cardedrate.rb
|
56
56
|
- lib/mastercard/api/crossborder/payment.rb
|
57
57
|
- lib/mastercard/api/crossborder/quotes.rb
|
58
58
|
- lib/mastercard/api/crossborder/resourceconfig.rb
|