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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6cf325d4c9916d7efc1b657f7288a24000afaa08c68e2d52460a5e4e195a82c9
4
- data.tar.gz: c461325399b9156dea335d5499931737fe80517ff8f41ee1adc41c135830ebd4
3
+ metadata.gz: 38b2f02f83be9cbd18a4bb1f7645a7488bba1360bef71d24d49b9e97732fbfb1
4
+ data.tar.gz: 2155e556e934238ade8cdbdf1d96a7cbc672f17719f9f3704de020861893c519
5
5
  SHA512:
6
- metadata.gz: f18be88460f8c24dc51fc94dade8aec790391b38c624db7e728617aeb471f195792acbe521e4d939b9d50c7a4a945b18343a5145c5fea09a13348b82330829a1
7
- data.tar.gz: 0db8a29f663e8b455b0e268f9be805ae6d0b667bdb3308cd65658c5e60a962f99c33b04707a73547547d55393a889cc2b1d5db8b8812558e2f6640f8c9a55d38
6
+ metadata.gz: 1b32f0cac51f9f135fabb4ffef069b9da45869f8d84546402e21fd0fd0e53bff9fe093beeb14904ee04624e2378f155bdbe78516cb58a7880c36726d6ec66349
7
+ data.tar.gz: 5dcc57338ad7b57e92400afb48e99a81fa93f69b7723bc66f49d7bf767df86219b43b55ec5c94fcf5b2eb939333ac71103b3b71056dd07a6d1ad3a99dcef7087
@@ -37,7 +37,7 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- '599eb397-c17a-4db3-aba3-b69b39db99c3' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder/{payment-id}/cancel", "create", [], []),
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("599eb397-c17a-4db3-aba3-b69b39db99c3", CancelPayment.new(mapObj))
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 CardedRateAPI < MasterCard::Core::Model::BaseObject
35
+ class CardedRate < MasterCard::Core::Model::BaseObject
36
36
  include MasterCard::Core::Model
37
37
  #
38
38
 
39
39
  @__store = {
40
- '11d1aca7-8d8f-431b-af50-89e188fc3dd4' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder/rates", "query", [], []),
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.fXRateAPIPull(criteria)
65
+ def self.fXRatePull(criteria)
66
66
  #
67
- #Query objects of type CardedRateAPI by id and optional criteria
67
+ #Query objects of type CardedRate by id and optional criteria
68
68
  #@param [Dict] criteria
69
- #@return [CardedRateAPI] object representing the response.
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("11d1aca7-8d8f-431b-af50-89e188fc3dd4",CardedRateAPI.new(criteria))
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
- 'fe4e4843-c321-494b-8b96-21aa57ba5f51' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder/payment", "create", [], []),
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("fe4e4843-c321-494b-8b96-21aa57ba5f51", Payment.new(mapObj))
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
- '886fd450-670a-4538-a5c7-0adcd23f5712' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder/quotes", "create", [], []),
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("886fd450-670a-4538-a5c7-0adcd23f5712", Quotes.new(mapObj))
67
+ return self.execute("11f8896d-911a-4a23-8640-3afaa6596c94", Quotes.new(mapObj))
68
68
  end
69
69
 
70
70
 
@@ -71,7 +71,7 @@ module MasterCard
71
71
  end
72
72
 
73
73
  def getVersion
74
- return "crossborder:2.0.0"
74
+ return "crossborder:2.0.1"
75
75
  end
76
76
 
77
77
  def getJsonNative
@@ -37,8 +37,8 @@ module MasterCard
37
37
  #
38
38
 
39
39
  @__store = {
40
- 'ef5c034c-aeff-491b-b48d-12eeadccd94d' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder/{payment-id}", "read", [], []),
41
- '51d95fcb-34c8-405d-b294-09fa07e2d9de' => OperationConfig.new("/send/v1/partners/{partner-id}/crossborder", "query", [], ["ref"]),
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("ef5c034c-aeff-491b-b48d-12eeadccd94d",RetrievePayment.new(mapObj))
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("51d95fcb-34c8-405d-b294-09fa07e2d9de",RetrievePayment.new(criteria))
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/cardedrateapi'
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.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-09 00:00:00.000000000 Z
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/cardedrateapi.rb
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