mastercard_masterpass_merchant 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +24 -0
  3. data/README.md +74 -0
  4. data/lib/mastercard_masterpass_merchant.rb +182 -0
  5. data/lib/mastercard_masterpass_merchant/api/checkout_api.rb +41 -0
  6. data/lib/mastercard_masterpass_merchant/api/decryption_api.rb +40 -0
  7. data/lib/mastercard_masterpass_merchant/api/express_checkout_api.rb +42 -0
  8. data/lib/mastercard_masterpass_merchant/api/merchant_initialization_api.rb +40 -0
  9. data/lib/mastercard_masterpass_merchant/api/postback_api.rb +39 -0
  10. data/lib/mastercard_masterpass_merchant/api/precheckout_data_api.rb +42 -0
  11. data/lib/mastercard_masterpass_merchant/api/session_key_signing_api.rb +40 -0
  12. data/lib/mastercard_masterpass_merchant/api/shopping_cart_api.rb +40 -0
  13. data/lib/mastercard_masterpass_merchant/models/acceptance_option.rb +177 -0
  14. data/lib/mastercard_masterpass_merchant/models/address.rb +243 -0
  15. data/lib/mastercard_masterpass_merchant/models/address_extension_point.rb +176 -0
  16. data/lib/mastercard_masterpass_merchant/models/authentication_options.rb +265 -0
  17. data/lib/mastercard_masterpass_merchant/models/base_card.rb +221 -0
  18. data/lib/mastercard_masterpass_merchant/models/brands.rb +165 -0
  19. data/lib/mastercard_masterpass_merchant/models/card.rb +244 -0
  20. data/lib/mastercard_masterpass_merchant/models/card_extension.rb +189 -0
  21. data/lib/mastercard_masterpass_merchant/models/card_type.rb +174 -0
  22. data/lib/mastercard_masterpass_merchant/models/card_types.rb +166 -0
  23. data/lib/mastercard_masterpass_merchant/models/checkout.rb +259 -0
  24. data/lib/mastercard_masterpass_merchant/models/checkout_dsrp.rb +210 -0
  25. data/lib/mastercard_masterpass_merchant/models/checkout_extension.rb +259 -0
  26. data/lib/mastercard_masterpass_merchant/models/contact.rb +275 -0
  27. data/lib/mastercard_masterpass_merchant/models/date_of_birth.rb +199 -0
  28. data/lib/mastercard_masterpass_merchant/models/decryption_request.rb +199 -0
  29. data/lib/mastercard_masterpass_merchant/models/decryption_response.rb +165 -0
  30. data/lib/mastercard_masterpass_merchant/models/detail.rb +176 -0
  31. data/lib/mastercard_masterpass_merchant/models/details.rb +176 -0
  32. data/lib/mastercard_masterpass_merchant/models/dsrp.rb +199 -0
  33. data/lib/mastercard_masterpass_merchant/models/dsrp_extension.rb +189 -0
  34. data/lib/mastercard_masterpass_merchant/models/dsrp_options.rb +188 -0
  35. data/lib/mastercard_masterpass_merchant/models/error.rb +222 -0
  36. data/lib/mastercard_masterpass_merchant/models/errors.rb +174 -0
  37. data/lib/mastercard_masterpass_merchant/models/express_checkout_request.rb +276 -0
  38. data/lib/mastercard_masterpass_merchant/models/express_checkout_response.rb +201 -0
  39. data/lib/mastercard_masterpass_merchant/models/extension_point.rb +163 -0
  40. data/lib/mastercard_masterpass_merchant/models/installment.rb +221 -0
  41. data/lib/mastercard_masterpass_merchant/models/installment_option.rb +198 -0
  42. data/lib/mastercard_masterpass_merchant/models/installment_options.rb +166 -0
  43. data/lib/mastercard_masterpass_merchant/models/installments.rb +176 -0
  44. data/lib/mastercard_masterpass_merchant/models/issuers.rb +165 -0
  45. data/lib/mastercard_masterpass_merchant/models/merchant_initialization_extension.rb +201 -0
  46. data/lib/mastercard_masterpass_merchant/models/merchant_initialization_request.rb +199 -0
  47. data/lib/mastercard_masterpass_merchant/models/merchant_initialization_response.rb +177 -0
  48. data/lib/mastercard_masterpass_merchant/models/merchant_initialization_response_extension.rb +165 -0
  49. data/lib/mastercard_masterpass_merchant/models/merchant_transaction.rb +274 -0
  50. data/lib/mastercard_masterpass_merchant/models/merchant_transactions.rb +176 -0
  51. data/lib/mastercard_masterpass_merchant/models/option.rb +197 -0
  52. data/lib/mastercard_masterpass_merchant/models/pairing_data_type.rb +186 -0
  53. data/lib/mastercard_masterpass_merchant/models/pairing_data_types.rb +188 -0
  54. data/lib/mastercard_masterpass_merchant/models/payment_acceptance.rb +166 -0
  55. data/lib/mastercard_masterpass_merchant/models/payment_acceptance_types_extension.rb +166 -0
  56. data/lib/mastercard_masterpass_merchant/models/payment_options_extensions.rb +178 -0
  57. data/lib/mastercard_masterpass_merchant/models/precheckout_card.rb +288 -0
  58. data/lib/mastercard_masterpass_merchant/models/precheckout_cards.rb +188 -0
  59. data/lib/mastercard_masterpass_merchant/models/precheckout_data.rb +259 -0
  60. data/lib/mastercard_masterpass_merchant/models/precheckout_data_request.rb +178 -0
  61. data/lib/mastercard_masterpass_merchant/models/precheckout_data_response.rb +211 -0
  62. data/lib/mastercard_masterpass_merchant/models/precheckout_reward_program.rb +243 -0
  63. data/lib/mastercard_masterpass_merchant/models/precheckout_shipping_address.rb +298 -0
  64. data/lib/mastercard_masterpass_merchant/models/precheckout_shipping_addresses.rb +188 -0
  65. data/lib/mastercard_masterpass_merchant/models/private_data.rb +177 -0
  66. data/lib/mastercard_masterpass_merchant/models/private_datas.rb +166 -0
  67. data/lib/mastercard_masterpass_merchant/models/reward_program.rb +221 -0
  68. data/lib/mastercard_masterpass_merchant/models/reward_programs.rb +188 -0
  69. data/lib/mastercard_masterpass_merchant/models/risk_decisioning.rb +178 -0
  70. data/lib/mastercard_masterpass_merchant/models/session_key_signing_request.rb +199 -0
  71. data/lib/mastercard_masterpass_merchant/models/session_key_signing_response.rb +210 -0
  72. data/lib/mastercard_masterpass_merchant/models/shipping_address.rb +265 -0
  73. data/lib/mastercard_masterpass_merchant/models/shopping_cart.rb +210 -0
  74. data/lib/mastercard_masterpass_merchant/models/shopping_cart_item.rb +210 -0
  75. data/lib/mastercard_masterpass_merchant/models/shopping_cart_request.rb +189 -0
  76. data/lib/mastercard_masterpass_merchant/models/shopping_cart_request_extension_point.rb +165 -0
  77. data/lib/mastercard_masterpass_merchant/models/shopping_cart_response.rb +177 -0
  78. data/lib/mastercard_masterpass_merchant/models/tokenization.rb +188 -0
  79. data/lib/mastercard_masterpass_merchant/models/types.rb +174 -0
  80. data/lib/mastercard_masterpass_merchant/models/wallet.rb +177 -0
  81. data/lib/mastercard_masterpass_merchant/tracker/sdk_api_tracker.rb +57 -0
  82. data/lib/mastercard_masterpass_merchant/version.rb +3 -0
  83. metadata +240 -0
@@ -0,0 +1,174 @@
1
+ require 'date'
2
+ require 'roxml'
3
+
4
+
5
+ module MastercardMasterpassMerchant
6
+ # This class contains methods to set different types.
7
+ class Types
8
+ include ROXML
9
+
10
+ xml_name "Types"
11
+
12
+ # @!attribute type
13
+ # @return [String] the type.
14
+ xml_accessor :type, :from =>"Type"
15
+
16
+
17
+ # Attribute mapping from ruby-style variable name to JSON key.
18
+ def self.attribute_map
19
+ {
20
+ :type => :Type
21
+
22
+ }
23
+ end
24
+
25
+ def initialize(attributes = {})
26
+ return unless attributes.is_a?(Hash)
27
+
28
+ # convert string to symbol for hash key
29
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
30
+
31
+
32
+ if attributes.has_key?(:Type) || attributes.has_key?(:type)
33
+ self.type = attributes[:Type] || attributes[:type]
34
+ end
35
+
36
+ end
37
+
38
+
39
+
40
+
41
+ # Custom attribute writer method checking allowed values (enum).
42
+ def type=(type)
43
+ allowed_values = ["CREDIT", "DEBIT"]
44
+ if type && !allowed_values.include?(type)
45
+ fail "invalid value for 'type', must be one of #{allowed_values}"
46
+ end
47
+ @type = type
48
+ end
49
+
50
+ # Check equality by comparing each attribute.
51
+ def ==(o)
52
+ return true if self.equal?(o)
53
+ self.class == o.class &&
54
+ type == o.type
55
+ end
56
+
57
+ # @see the `==` method
58
+ def eql?(o)
59
+ self == o
60
+ end
61
+
62
+ # Calculate hash code according to all attributes.
63
+ def hash
64
+ [type].hash
65
+ end
66
+
67
+ # build the object from hash
68
+ def build_from_hash(attributes)
69
+ return nil unless attributes.is_a?(Hash)
70
+ self.class.datatype_map.each_pair do |key, type|
71
+ if type =~ /^Array<(.*)>/i
72
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
73
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
74
+ else
75
+ #TODO show warning in debug mode
76
+ end
77
+ elsif !attributes[self.class.attribute_map[key]].nil?
78
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
79
+ else
80
+ # data not found in attributes(hash), not an issue as the data can be optional
81
+ end
82
+ end
83
+
84
+ self
85
+ end
86
+
87
+ def _deserialize(type, value)
88
+ case type.to_sym
89
+ when :DateTime
90
+ DateTime.parse(value)
91
+ when :Date
92
+ Date.parse(value)
93
+ when :String
94
+ value.to_s
95
+ when :Integer
96
+ value.to_i
97
+ when :Float
98
+ value.to_f
99
+ when :BOOLEAN
100
+ if value =~ /^(true|t|yes|y|1)$/i
101
+ true
102
+ else
103
+ false
104
+ end
105
+ when /\AArray<(?<inner_type>.+)>\z/
106
+ inner_type = Regexp.last_match[:inner_type]
107
+ value.map { |v| _deserialize(inner_type, v) }
108
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
109
+ k_type = Regexp.last_match[:k_type]
110
+ v_type = Regexp.last_match[:v_type]
111
+ {}.tap do |hash|
112
+ value.each do |k, v|
113
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
114
+ end
115
+ end
116
+ else # model
117
+ _model = MastercardMasterpassMerchant.const_get(type).new
118
+ _model.build_from_hash(value)
119
+ end
120
+ end
121
+
122
+ def to_s
123
+ to_hash.to_s
124
+ end
125
+
126
+ # to_body is an alias to to_body (backward compatibility))
127
+ def to_body
128
+ to_hash
129
+ end
130
+
131
+ # return the object in the form of hash
132
+ def to_hash
133
+ hash = {}
134
+ self.class.attribute_map.each_pair do |attr, param|
135
+ value = self.send(attr)
136
+ next if value.nil?
137
+ hash[param] = _to_hash(value)
138
+ end
139
+ hash
140
+ end
141
+
142
+ # Method to output non-array value in the form of hash
143
+ # For object, use to_hash. Otherwise, just return the value
144
+ def _to_hash(value)
145
+ if value.is_a?(Array)
146
+ value.compact.map{ |v| _to_hash(v) }
147
+ elsif value.is_a?(Hash)
148
+ {}.tap do |hash|
149
+ value.each { |k, v| hash[k] = _to_hash(v) }
150
+ end
151
+ elsif value.respond_to? :to_hash
152
+ value.to_hash
153
+ else
154
+ value
155
+ end
156
+ end
157
+
158
+
159
+ private
160
+ def after_parse
161
+ self.send(:remove_instance_variable, :@roxml_references) if defined? self.roxml_references
162
+ end
163
+
164
+ # Attribute datatype mapping.
165
+ def self.datatype_map
166
+ {
167
+ :type => 'String'
168
+
169
+ }
170
+ end
171
+ end
172
+
173
+
174
+ end
@@ -0,0 +1,177 @@
1
+ require 'date'
2
+ require 'roxml'
3
+ require_relative '../../mastercard_masterpass_merchant/models/extension_point'
4
+
5
+
6
+ module MastercardMasterpassMerchant
7
+ # This class contains methods related to wallet details during DSRP.
8
+ class Wallet
9
+ include ROXML
10
+
11
+ xml_name "Wallet"
12
+
13
+ # @!attribute card_verification_status
14
+ # @return [String] the card verification status.
15
+ xml_accessor :card_verification_status, :from =>"CardVerificationStatus"
16
+
17
+ # @!attribute extension_point
18
+ # @return [ExtensionPoint] the ExtensionPoint for future enhancement.
19
+ xml_accessor :extension_point, :from =>"ExtensionPoint",:as => ExtensionPoint
20
+
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :card_verification_status => :CardVerificationStatus ,
26
+ :extension_point => :ExtensionPoint
27
+
28
+ }
29
+ end
30
+
31
+ def initialize(attributes = {})
32
+ return unless attributes.is_a?(Hash)
33
+
34
+ # convert string to symbol for hash key
35
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
36
+
37
+
38
+ if attributes.has_key?(:CardVerificationStatus) || attributes.has_key?(:card_verification_status)
39
+ self.card_verification_status = attributes[:CardVerificationStatus] || attributes[:card_verification_status]
40
+ end
41
+
42
+ if attributes.has_key?(:ExtensionPoint) || attributes.has_key?(:extension_point)
43
+ self.extension_point = attributes[:ExtensionPoint] || attributes[:extension_point]
44
+ end
45
+
46
+ end
47
+
48
+
49
+
50
+
51
+ # Check equality by comparing each attribute.
52
+ def ==(o)
53
+ return true if self.equal?(o)
54
+ self.class == o.class &&
55
+ card_verification_status == o.card_verification_status &&
56
+ extension_point == o.extension_point
57
+ end
58
+
59
+ # @see the `==` method
60
+ def eql?(o)
61
+ self == o
62
+ end
63
+
64
+ # Calculate hash code according to all attributes.
65
+ def hash
66
+ [card_verification_status, extension_point].hash
67
+ end
68
+
69
+ # build the object from hash
70
+ def build_from_hash(attributes)
71
+ return nil unless attributes.is_a?(Hash)
72
+ self.class.datatype_map.each_pair do |key, type|
73
+ if type =~ /^Array<(.*)>/i
74
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
75
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
76
+ else
77
+ #TODO show warning in debug mode
78
+ end
79
+ elsif !attributes[self.class.attribute_map[key]].nil?
80
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
81
+ else
82
+ # data not found in attributes(hash), not an issue as the data can be optional
83
+ end
84
+ end
85
+
86
+ self
87
+ end
88
+
89
+ def _deserialize(type, value)
90
+ case type.to_sym
91
+ when :DateTime
92
+ DateTime.parse(value)
93
+ when :Date
94
+ Date.parse(value)
95
+ when :String
96
+ value.to_s
97
+ when :Integer
98
+ value.to_i
99
+ when :Float
100
+ value.to_f
101
+ when :BOOLEAN
102
+ if value =~ /^(true|t|yes|y|1)$/i
103
+ true
104
+ else
105
+ false
106
+ end
107
+ when /\AArray<(?<inner_type>.+)>\z/
108
+ inner_type = Regexp.last_match[:inner_type]
109
+ value.map { |v| _deserialize(inner_type, v) }
110
+ when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
111
+ k_type = Regexp.last_match[:k_type]
112
+ v_type = Regexp.last_match[:v_type]
113
+ {}.tap do |hash|
114
+ value.each do |k, v|
115
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
116
+ end
117
+ end
118
+ else # model
119
+ _model = MastercardMasterpassMerchant.const_get(type).new
120
+ _model.build_from_hash(value)
121
+ end
122
+ end
123
+
124
+ def to_s
125
+ to_hash.to_s
126
+ end
127
+
128
+ # to_body is an alias to to_body (backward compatibility))
129
+ def to_body
130
+ to_hash
131
+ end
132
+
133
+ # return the object in the form of hash
134
+ def to_hash
135
+ hash = {}
136
+ self.class.attribute_map.each_pair do |attr, param|
137
+ value = self.send(attr)
138
+ next if value.nil?
139
+ hash[param] = _to_hash(value)
140
+ end
141
+ hash
142
+ end
143
+
144
+ # Method to output non-array value in the form of hash
145
+ # For object, use to_hash. Otherwise, just return the value
146
+ def _to_hash(value)
147
+ if value.is_a?(Array)
148
+ value.compact.map{ |v| _to_hash(v) }
149
+ elsif value.is_a?(Hash)
150
+ {}.tap do |hash|
151
+ value.each { |k, v| hash[k] = _to_hash(v) }
152
+ end
153
+ elsif value.respond_to? :to_hash
154
+ value.to_hash
155
+ else
156
+ value
157
+ end
158
+ end
159
+
160
+
161
+ private
162
+ def after_parse
163
+ self.send(:remove_instance_variable, :@roxml_references) if defined? self.roxml_references
164
+ end
165
+
166
+ # Attribute datatype mapping.
167
+ def self.datatype_map
168
+ {
169
+ :card_verification_status => 'String',
170
+ :extension_point => 'ExtensionPoint'
171
+
172
+ }
173
+ end
174
+ end
175
+
176
+
177
+ end
@@ -0,0 +1,57 @@
1
+ require 'mastercard_core_sdk'
2
+
3
+ module MastercardMasterpassMerchant
4
+ module Tracker
5
+ # Provides tracking api information and user-agent information.
6
+ class SdkApiTracker
7
+ include MastercardCoreSdk, MastercardCoreSdk::Core, MastercardCoreSdk::Tracker::ApiTracker
8
+
9
+ # Defines the programming language.
10
+ #
11
+ # @return [String]
12
+ attr_accessor :language
13
+
14
+ # Defines the programming language version.
15
+ #
16
+ # @return [String]
17
+ attr_accessor :language_version
18
+
19
+ # Defines the client sdk gem version.
20
+ #
21
+ # @return [String]
22
+ attr_accessor :client_sdk_version
23
+
24
+ # Defines the plugin version if any defined in MasterCardApiConfiguration as additional_properties.
25
+ #
26
+ # @return [String]
27
+ attr_reader :plugin_version
28
+
29
+ def initialize
30
+ @language = "Ruby"
31
+ @language_version = RUBY_VERSION
32
+ @client_sdk_version = MastercardMasterpassMerchant::VERSION
33
+
34
+ additional_track_info = MasterCardApiConfiguration.additional_properties
35
+ if (additional_track_info && additional_track_info.size > 0 && additional_track_info.key?(PLUGIN_VERSION))
36
+ @plugin_version = additional_track_info[PLUGIN_VERSION]
37
+ end
38
+ end
39
+
40
+ # Overriding ApiTracker#tracking_info method.
41
+ #
42
+ # @return [String]
43
+ def tracking_info
44
+ api_tracker_string = CLIENT_SDK_VERSION + client_sdk_version + SEPERATOR + LANG_NAME + language + SEPERATOR + LANG_VERSION + language_version
45
+ api_tracker_string += SEPERATOR + PLUGIN_VERSION + EQUAL + plugin_version unless plugin_version.nil?
46
+ return api_tracker_string
47
+ end
48
+
49
+ # Overriding ApiTracker#user_agent_info method.
50
+ #
51
+ # @return [String]
52
+ def user_agent_info
53
+ return USER_AGENT
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,3 @@
1
+ module MastercardMasterpassMerchant
2
+ VERSION = "1.0.0"
3
+ end
metadata ADDED
@@ -0,0 +1,240 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mastercard_masterpass_merchant
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - MasterCard
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-08-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: mastercard_core_sdk
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.1'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.1.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.1'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.1.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: typhoeus
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '0.8'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 0.8.0
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '0.8'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 0.8.0
53
+ - !ruby/object:Gem::Dependency
54
+ name: json
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '1.8'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 1.8.3
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.8'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 1.8.3
73
+ - !ruby/object:Gem::Dependency
74
+ name: roxml
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '3.3'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 3.3.1
83
+ type: :runtime
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.3'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 3.3.1
93
+ - !ruby/object:Gem::Dependency
94
+ name: logging
95
+ requirement: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '2.1'
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 2.1.0
103
+ type: :runtime
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '2.1'
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 2.1.0
113
+ - !ruby/object:Gem::Dependency
114
+ name: minitest
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: '5.0'
120
+ type: :development
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - "~>"
125
+ - !ruby/object:Gem::Version
126
+ version: '5.0'
127
+ description: MasterCard Masterpass Merchant Checkout API SDK. See https://developer.mastercard.com
128
+ email: openapi@mastercard.com
129
+ executables: []
130
+ extensions: []
131
+ extra_rdoc_files:
132
+ - LICENSE.txt
133
+ - README.md
134
+ files:
135
+ - LICENSE.txt
136
+ - README.md
137
+ - lib/mastercard_masterpass_merchant.rb
138
+ - lib/mastercard_masterpass_merchant/api/checkout_api.rb
139
+ - lib/mastercard_masterpass_merchant/api/decryption_api.rb
140
+ - lib/mastercard_masterpass_merchant/api/express_checkout_api.rb
141
+ - lib/mastercard_masterpass_merchant/api/merchant_initialization_api.rb
142
+ - lib/mastercard_masterpass_merchant/api/postback_api.rb
143
+ - lib/mastercard_masterpass_merchant/api/precheckout_data_api.rb
144
+ - lib/mastercard_masterpass_merchant/api/session_key_signing_api.rb
145
+ - lib/mastercard_masterpass_merchant/api/shopping_cart_api.rb
146
+ - lib/mastercard_masterpass_merchant/models/acceptance_option.rb
147
+ - lib/mastercard_masterpass_merchant/models/address.rb
148
+ - lib/mastercard_masterpass_merchant/models/address_extension_point.rb
149
+ - lib/mastercard_masterpass_merchant/models/authentication_options.rb
150
+ - lib/mastercard_masterpass_merchant/models/base_card.rb
151
+ - lib/mastercard_masterpass_merchant/models/brands.rb
152
+ - lib/mastercard_masterpass_merchant/models/card.rb
153
+ - lib/mastercard_masterpass_merchant/models/card_extension.rb
154
+ - lib/mastercard_masterpass_merchant/models/card_type.rb
155
+ - lib/mastercard_masterpass_merchant/models/card_types.rb
156
+ - lib/mastercard_masterpass_merchant/models/checkout.rb
157
+ - lib/mastercard_masterpass_merchant/models/checkout_dsrp.rb
158
+ - lib/mastercard_masterpass_merchant/models/checkout_extension.rb
159
+ - lib/mastercard_masterpass_merchant/models/contact.rb
160
+ - lib/mastercard_masterpass_merchant/models/date_of_birth.rb
161
+ - lib/mastercard_masterpass_merchant/models/decryption_request.rb
162
+ - lib/mastercard_masterpass_merchant/models/decryption_response.rb
163
+ - lib/mastercard_masterpass_merchant/models/detail.rb
164
+ - lib/mastercard_masterpass_merchant/models/details.rb
165
+ - lib/mastercard_masterpass_merchant/models/dsrp.rb
166
+ - lib/mastercard_masterpass_merchant/models/dsrp_extension.rb
167
+ - lib/mastercard_masterpass_merchant/models/dsrp_options.rb
168
+ - lib/mastercard_masterpass_merchant/models/error.rb
169
+ - lib/mastercard_masterpass_merchant/models/errors.rb
170
+ - lib/mastercard_masterpass_merchant/models/express_checkout_request.rb
171
+ - lib/mastercard_masterpass_merchant/models/express_checkout_response.rb
172
+ - lib/mastercard_masterpass_merchant/models/extension_point.rb
173
+ - lib/mastercard_masterpass_merchant/models/installment.rb
174
+ - lib/mastercard_masterpass_merchant/models/installment_option.rb
175
+ - lib/mastercard_masterpass_merchant/models/installment_options.rb
176
+ - lib/mastercard_masterpass_merchant/models/installments.rb
177
+ - lib/mastercard_masterpass_merchant/models/issuers.rb
178
+ - lib/mastercard_masterpass_merchant/models/merchant_initialization_extension.rb
179
+ - lib/mastercard_masterpass_merchant/models/merchant_initialization_request.rb
180
+ - lib/mastercard_masterpass_merchant/models/merchant_initialization_response.rb
181
+ - lib/mastercard_masterpass_merchant/models/merchant_initialization_response_extension.rb
182
+ - lib/mastercard_masterpass_merchant/models/merchant_transaction.rb
183
+ - lib/mastercard_masterpass_merchant/models/merchant_transactions.rb
184
+ - lib/mastercard_masterpass_merchant/models/option.rb
185
+ - lib/mastercard_masterpass_merchant/models/pairing_data_type.rb
186
+ - lib/mastercard_masterpass_merchant/models/pairing_data_types.rb
187
+ - lib/mastercard_masterpass_merchant/models/payment_acceptance.rb
188
+ - lib/mastercard_masterpass_merchant/models/payment_acceptance_types_extension.rb
189
+ - lib/mastercard_masterpass_merchant/models/payment_options_extensions.rb
190
+ - lib/mastercard_masterpass_merchant/models/precheckout_card.rb
191
+ - lib/mastercard_masterpass_merchant/models/precheckout_cards.rb
192
+ - lib/mastercard_masterpass_merchant/models/precheckout_data.rb
193
+ - lib/mastercard_masterpass_merchant/models/precheckout_data_request.rb
194
+ - lib/mastercard_masterpass_merchant/models/precheckout_data_response.rb
195
+ - lib/mastercard_masterpass_merchant/models/precheckout_reward_program.rb
196
+ - lib/mastercard_masterpass_merchant/models/precheckout_shipping_address.rb
197
+ - lib/mastercard_masterpass_merchant/models/precheckout_shipping_addresses.rb
198
+ - lib/mastercard_masterpass_merchant/models/private_data.rb
199
+ - lib/mastercard_masterpass_merchant/models/private_datas.rb
200
+ - lib/mastercard_masterpass_merchant/models/reward_program.rb
201
+ - lib/mastercard_masterpass_merchant/models/reward_programs.rb
202
+ - lib/mastercard_masterpass_merchant/models/risk_decisioning.rb
203
+ - lib/mastercard_masterpass_merchant/models/session_key_signing_request.rb
204
+ - lib/mastercard_masterpass_merchant/models/session_key_signing_response.rb
205
+ - lib/mastercard_masterpass_merchant/models/shipping_address.rb
206
+ - lib/mastercard_masterpass_merchant/models/shopping_cart.rb
207
+ - lib/mastercard_masterpass_merchant/models/shopping_cart_item.rb
208
+ - lib/mastercard_masterpass_merchant/models/shopping_cart_request.rb
209
+ - lib/mastercard_masterpass_merchant/models/shopping_cart_request_extension_point.rb
210
+ - lib/mastercard_masterpass_merchant/models/shopping_cart_response.rb
211
+ - lib/mastercard_masterpass_merchant/models/tokenization.rb
212
+ - lib/mastercard_masterpass_merchant/models/types.rb
213
+ - lib/mastercard_masterpass_merchant/models/wallet.rb
214
+ - lib/mastercard_masterpass_merchant/tracker/sdk_api_tracker.rb
215
+ - lib/mastercard_masterpass_merchant/version.rb
216
+ homepage: https://developer.mastercard.com
217
+ licenses:
218
+ - MasterCard
219
+ metadata: {}
220
+ post_install_message:
221
+ rdoc_options: []
222
+ require_paths:
223
+ - lib
224
+ required_ruby_version: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ version: '0'
229
+ required_rubygems_version: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - ">="
232
+ - !ruby/object:Gem::Version
233
+ version: '0'
234
+ requirements: []
235
+ rubyforge_project:
236
+ rubygems_version: 2.4.5.1
237
+ signing_key:
238
+ specification_version: 4
239
+ summary: MasterCard Masterpass Merchant Checkout API SDK
240
+ test_files: []