mastercard_installmentsfi 0.0.1 → 0.0.2
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 +4 -4
- data/lib/mastercard/api/installmentsfi/{installmentconfiguartiondata.rb → backgroundconfiguration.rb} +5 -5
- data/lib/mastercard/api/installmentsfi/{calculateinstallmentdata.rb → eligibilityandcalculator.rb} +5 -5
- data/lib/mastercard/api/installmentsfi/{createinstallmentplan.rb → eligibilityandinstallmentplan.rb} +5 -5
- data/lib/mastercard/api/installmentsfi/resourceconfig.rb +1 -1
- data/lib/mastercard_installmentsfi.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fee0cc3fa9916a635437526d550ef448882d2e2
|
4
|
+
data.tar.gz: a98d7fcd01f0b2aff6c752a44f5ca6f41c0d7050
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f18691d336df9be55f83637d21c8a01f54cab6c36125fa69c5e64c9104deda72664fb2b9d7f55ac40f67073697fcc7f6b1e2ae89a0c5a0c1c89448e67be9780a
|
7
|
+
data.tar.gz: 1436b00042ccfe7d72a60003f7e5242fdaf4e3558e3b35732a5317427459852b5308f31b1792d696865604d209dc7d66a217d291321031e712470bb177f11c91
|
@@ -31,12 +31,12 @@ require "mastercard/core/model"
|
|
31
31
|
module MasterCard
|
32
32
|
module API
|
33
33
|
module InstallmentsFi
|
34
|
-
class
|
34
|
+
class BackgroundConfiguration < MasterCard::Core::Model::BaseObject
|
35
35
|
include MasterCard::Core::Model
|
36
36
|
#
|
37
37
|
|
38
38
|
@__store = {
|
39
|
-
'
|
39
|
+
'82a07928-bb15-46bb-8545-a3867de75e93' => OperationConfig.new("/installmentapi/service/{:env}/v1/instalmentConfigdata", "create", [], []),
|
40
40
|
|
41
41
|
}
|
42
42
|
|
@@ -57,12 +57,12 @@ module MasterCard
|
|
57
57
|
|
58
58
|
def self.create(mapObj)
|
59
59
|
#
|
60
|
-
#Creates object of type
|
60
|
+
#Creates object of type BackgroundConfiguration
|
61
61
|
#
|
62
62
|
#@param Dict mapObj, containing the required parameters to create a new object
|
63
|
-
#@return
|
63
|
+
#@return BackgroundConfiguration of the response of created instance.
|
64
64
|
#
|
65
|
-
return self.execute("
|
65
|
+
return self.execute("82a07928-bb15-46bb-8545-a3867de75e93", BackgroundConfiguration.new(mapObj))
|
66
66
|
end
|
67
67
|
|
68
68
|
|
data/lib/mastercard/api/installmentsfi/{calculateinstallmentdata.rb → eligibilityandcalculator.rb}
RENAMED
@@ -31,12 +31,12 @@ require "mastercard/core/model"
|
|
31
31
|
module MasterCard
|
32
32
|
module API
|
33
33
|
module InstallmentsFi
|
34
|
-
class
|
34
|
+
class EligibilityAndCalculator < MasterCard::Core::Model::BaseObject
|
35
35
|
include MasterCard::Core::Model
|
36
36
|
#
|
37
37
|
|
38
38
|
@__store = {
|
39
|
-
'
|
39
|
+
'ee782b92-c771-41cb-bd2a-9dbf10cf7778' => OperationConfig.new("/installmentapi/service/{:env}/v1/calculateInstalment", "create", [], []),
|
40
40
|
|
41
41
|
}
|
42
42
|
|
@@ -57,12 +57,12 @@ module MasterCard
|
|
57
57
|
|
58
58
|
def self.create(mapObj)
|
59
59
|
#
|
60
|
-
#Creates object of type
|
60
|
+
#Creates object of type EligibilityAndCalculator
|
61
61
|
#
|
62
62
|
#@param Dict mapObj, containing the required parameters to create a new object
|
63
|
-
#@return
|
63
|
+
#@return EligibilityAndCalculator of the response of created instance.
|
64
64
|
#
|
65
|
-
return self.execute("
|
65
|
+
return self.execute("ee782b92-c771-41cb-bd2a-9dbf10cf7778", EligibilityAndCalculator.new(mapObj))
|
66
66
|
end
|
67
67
|
|
68
68
|
|
data/lib/mastercard/api/installmentsfi/{createinstallmentplan.rb → eligibilityandinstallmentplan.rb}
RENAMED
@@ -31,12 +31,12 @@ require "mastercard/core/model"
|
|
31
31
|
module MasterCard
|
32
32
|
module API
|
33
33
|
module InstallmentsFi
|
34
|
-
class
|
34
|
+
class EligibilityAndInstallmentPlan < MasterCard::Core::Model::BaseObject
|
35
35
|
include MasterCard::Core::Model
|
36
36
|
#
|
37
37
|
|
38
38
|
@__store = {
|
39
|
-
'
|
39
|
+
'02d0ad9c-5173-4cc4-b117-39671052be71' => OperationConfig.new("/installmentapi/service/{:env}/v1/processInstalment", "create", [], []),
|
40
40
|
|
41
41
|
}
|
42
42
|
|
@@ -57,12 +57,12 @@ module MasterCard
|
|
57
57
|
|
58
58
|
def self.create(mapObj)
|
59
59
|
#
|
60
|
-
#Creates object of type
|
60
|
+
#Creates object of type EligibilityAndInstallmentPlan
|
61
61
|
#
|
62
62
|
#@param Dict mapObj, containing the required parameters to create a new object
|
63
|
-
#@return
|
63
|
+
#@return EligibilityAndInstallmentPlan of the response of created instance.
|
64
64
|
#
|
65
|
-
return self.execute("
|
65
|
+
return self.execute("02d0ad9c-5173-4cc4-b117-39671052be71", EligibilityAndInstallmentPlan.new(mapObj))
|
66
66
|
end
|
67
67
|
|
68
68
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'mastercard_api_core'
|
2
|
-
require 'mastercard/api/installmentsfi/
|
3
|
-
require 'mastercard/api/installmentsfi/
|
2
|
+
require 'mastercard/api/installmentsfi/eligibilityandinstallmentplan'
|
3
|
+
require 'mastercard/api/installmentsfi/backgroundconfiguration'
|
4
|
+
require 'mastercard/api/installmentsfi/eligibilityandcalculator'
|
4
5
|
require 'mastercard/api/installmentsfi/resourceconfig'
|
5
|
-
require 'mastercard/api/installmentsfi/calculateinstallmentdata'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mastercard_installmentsfi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MasterCard Worldwide
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mastercard_api_core
|
@@ -51,9 +51,9 @@ executables: []
|
|
51
51
|
extensions: []
|
52
52
|
extra_rdoc_files: []
|
53
53
|
files:
|
54
|
-
- lib/mastercard/api/installmentsfi/
|
55
|
-
- lib/mastercard/api/installmentsfi/
|
56
|
-
- lib/mastercard/api/installmentsfi/
|
54
|
+
- lib/mastercard/api/installmentsfi/backgroundconfiguration.rb
|
55
|
+
- lib/mastercard/api/installmentsfi/eligibilityandcalculator.rb
|
56
|
+
- lib/mastercard/api/installmentsfi/eligibilityandinstallmentplan.rb
|
57
57
|
- lib/mastercard/api/installmentsfi/resourceconfig.rb
|
58
58
|
- lib/mastercard_installmentsfi.rb
|
59
59
|
homepage: https://developer.mastercard.com
|