cybersource_rest_client 0.0.53 → 0.0.55

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +2 -2
  3. data/lib/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb +6 -6
  4. data/lib/AuthenticationSDK/core/MerchantConfig.rb +6 -0
  5. data/lib/AuthenticationSDK/util/Cache.rb +15 -1
  6. data/lib/AuthenticationSDK/util/Constants.rb +1 -1
  7. data/lib/AuthenticationSDK/util/JWEUtility.rb +14 -0
  8. data/lib/cybersource_rest_client/api/batches_api.rb +12 -12
  9. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +231 -0
  10. data/lib/cybersource_rest_client/api/decision_manager_api.rb +142 -0
  11. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +2 -2
  12. data/lib/cybersource_rest_client/api/invoices_api.rb +6 -6
  13. data/lib/cybersource_rest_client/api/keymanagement_api.rb +3 -3
  14. data/lib/cybersource_rest_client/api/payments_api.rb +2 -2
  15. data/lib/cybersource_rest_client/api/plans_api.rb +32 -32
  16. data/lib/cybersource_rest_client/api/subscriptions_api.rb +32 -32
  17. data/lib/cybersource_rest_client/api/void_api.rb +2 -2
  18. data/lib/cybersource_rest_client/models/access_token_response.rb +244 -244
  19. data/lib/cybersource_rest_client/models/activate_deactivate_plan_response.rb +239 -0
  20. data/lib/cybersource_rest_client/models/{inline_response_200_9.rb → activate_subscription_response.rb} +2 -2
  21. data/lib/cybersource_rest_client/models/{inline_response_200_9_subscription_information.rb → activate_subscription_response_subscription_information.rb} +1 -1
  22. data/lib/cybersource_rest_client/models/bad_request_error.rb +192 -192
  23. data/lib/cybersource_rest_client/models/{inline_response_202_1.rb → cancel_subscription_response.rb} +2 -2
  24. data/lib/cybersource_rest_client/models/{inline_response_202_subscription_information.rb → cancel_subscription_response_subscription_information.rb} +1 -1
  25. data/lib/cybersource_rest_client/models/case_management_actions_request.rb +200 -0
  26. data/lib/cybersource_rest_client/models/case_management_comments_request.rb +206 -0
  27. data/lib/cybersource_rest_client/models/create_access_token_request.rb +254 -254
  28. data/lib/cybersource_rest_client/models/{inline_response_200_14.rb → create_billing_agreement.rb} +65 -88
  29. data/lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb +15 -5
  30. data/lib/cybersource_rest_client/models/create_plan_response.rb +239 -0
  31. data/lib/cybersource_rest_client/models/{inline_response_201_plan_information.rb → create_plan_response_plan_information.rb} +1 -1
  32. data/lib/cybersource_rest_client/models/create_subscription_request.rb +1 -1
  33. data/lib/cybersource_rest_client/models/{inline_response_201_1.rb → create_subscription_response.rb} +3 -3
  34. data/lib/cybersource_rest_client/models/{inline_response_201_1__links.rb → create_subscription_response__links.rb} +1 -1
  35. data/lib/cybersource_rest_client/models/{inline_response_201_1_subscription_information.rb → create_subscription_response_subscription_information.rb} +1 -1
  36. data/lib/cybersource_rest_client/models/delete_plan_response.rb +202 -0
  37. data/lib/cybersource_rest_client/models/{inline_response_202_2.rb → get_all_plans_response.rb} +31 -18
  38. data/lib/cybersource_rest_client/models/{inline_response_200__links.rb → get_all_plans_response__links.rb} +1 -1
  39. data/lib/cybersource_rest_client/models/{inline_response_200_order_information.rb → get_all_plans_response_order_information.rb} +2 -2
  40. data/lib/cybersource_rest_client/models/{inline_response_200_order_information_amount_details.rb → get_all_plans_response_order_information_amount_details.rb} +1 -1
  41. data/lib/cybersource_rest_client/models/{inline_response_200_plan_information.rb → get_all_plans_response_plan_information.rb} +3 -3
  42. data/lib/cybersource_rest_client/models/{inline_response_200_plan_information_billing_cycles.rb → get_all_plans_response_plan_information_billing_cycles.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{inline_response_200_plan_information_billing_period.rb → get_all_plans_response_plan_information_billing_period.rb} +1 -1
  44. data/lib/cybersource_rest_client/models/{inline_response_200_plans.rb → get_all_plans_response_plans.rb} +3 -3
  45. data/lib/cybersource_rest_client/models/{inline_response_200_6.rb → get_all_subscriptions_response.rb} +3 -3
  46. data/lib/cybersource_rest_client/models/{inline_response_200_6__links.rb → get_all_subscriptions_response__links.rb} +1 -1
  47. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_order_information.rb +200 -0
  48. data/lib/cybersource_rest_client/models/{inline_response_200_6_order_information_bill_to.rb → get_all_subscriptions_response_order_information_bill_to.rb} +1 -1
  49. data/lib/cybersource_rest_client/models/{inline_response_200_6_payment_information.rb → get_all_subscriptions_response_payment_information.rb} +2 -2
  50. data/lib/cybersource_rest_client/models/{inline_response_200_6_payment_information_customer.rb → get_all_subscriptions_response_payment_information_customer.rb} +1 -1
  51. data/lib/cybersource_rest_client/models/{inline_response_200_6_plan_information.rb → get_all_subscriptions_response_plan_information.rb} +3 -3
  52. data/lib/cybersource_rest_client/models/{inline_response_200_6_plan_information_billing_cycles.rb → get_all_subscriptions_response_plan_information_billing_cycles.rb} +1 -1
  53. data/lib/cybersource_rest_client/models/{inline_response_200_6_subscription_information.rb → get_all_subscriptions_response_subscription_information.rb} +1 -1
  54. data/lib/cybersource_rest_client/models/{inline_response_200_6_subscriptions.rb → get_all_subscriptions_response_subscriptions.rb} +6 -6
  55. data/lib/cybersource_rest_client/models/{inline_response_200_5.rb → get_plan_code_response.rb} +1 -1
  56. data/lib/cybersource_rest_client/models/get_plan_response.rb +238 -0
  57. data/lib/cybersource_rest_client/models/{inline_response_200_10.rb → get_subscription_code_response.rb} +1 -1
  58. data/lib/cybersource_rest_client/models/{inline_response_200_7.rb → get_subscription_response.rb} +6 -6
  59. data/lib/cybersource_rest_client/models/inline_response_200.rb +30 -25
  60. data/lib/cybersource_rest_client/models/inline_response_200_1.rb +50 -40
  61. data/lib/cybersource_rest_client/models/{inline_response_200_11_keys.rb → inline_response_200_1_keys.rb} +1 -1
  62. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +67 -17
  63. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded.rb → inline_response_200_2__embedded.rb} +2 -2
  64. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded__links.rb → inline_response_200_2__embedded__links.rb} +2 -2
  65. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded__links_reports.rb → inline_response_200_2__embedded__links_reports.rb} +1 -1
  66. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded_batches.rb → inline_response_200_2__embedded_batches.rb} +3 -3
  67. data/lib/cybersource_rest_client/models/{inline_response_200_12__embedded_totals.rb → inline_response_200_2__embedded_totals.rb} +1 -1
  68. data/lib/cybersource_rest_client/models/{inline_response_200_12__links.rb → inline_response_200_2__links.rb} +1 -1
  69. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +81 -29
  70. data/lib/cybersource_rest_client/models/{inline_response_200_13__links.rb → inline_response_200_3__links.rb} +3 -3
  71. data/lib/cybersource_rest_client/models/{inline_response_202_2__links_status.rb → inline_response_200_3__links_report.rb} +1 -1
  72. data/lib/cybersource_rest_client/models/{inline_response_200_13_billing.rb → inline_response_200_3_billing.rb} +1 -1
  73. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +96 -42
  74. data/lib/cybersource_rest_client/models/{inline_response_200_14_records.rb → inline_response_200_4_records.rb} +3 -3
  75. data/lib/cybersource_rest_client/models/{inline_response_200_14_response_record.rb → inline_response_200_4_response_record.rb} +2 -2
  76. data/lib/cybersource_rest_client/models/{inline_response_200_14_response_record_additional_updates.rb → inline_response_200_4_response_record_additional_updates.rb} +1 -1
  77. data/lib/cybersource_rest_client/models/{inline_response_200_14_source_record.rb → inline_response_200_4_source_record.rb} +1 -1
  78. data/lib/cybersource_rest_client/models/inline_response_200__embedded.rb +201 -0
  79. data/lib/cybersource_rest_client/models/inline_response_200__embedded_capture.rb +202 -0
  80. data/lib/cybersource_rest_client/models/inline_response_200__embedded_capture__links.rb +191 -0
  81. data/lib/cybersource_rest_client/models/inline_response_200__embedded_capture__links_self.rb +203 -0
  82. data/lib/cybersource_rest_client/models/inline_response_200__embedded_reversal.rb +202 -0
  83. data/lib/cybersource_rest_client/models/inline_response_200__embedded_reversal__links.rb +191 -0
  84. data/lib/cybersource_rest_client/models/inline_response_200__embedded_reversal__links_self.rb +203 -0
  85. data/lib/cybersource_rest_client/models/inline_response_201.rb +7 -27
  86. data/lib/cybersource_rest_client/models/inline_response_202.rb +17 -45
  87. data/lib/cybersource_rest_client/models/{inline_response_202_2__links.rb → inline_response_202__links.rb} +2 -2
  88. data/lib/cybersource_rest_client/models/{inline_response_200_13__links_report.rb → inline_response_202__links_status.rb} +1 -1
  89. data/lib/cybersource_rest_client/models/inline_response_400_1.rb +3 -3
  90. data/lib/cybersource_rest_client/models/inline_response_400_2.rb +1 -1
  91. data/lib/cybersource_rest_client/models/inline_response_400_3.rb +37 -60
  92. data/lib/cybersource_rest_client/models/inline_response_400_4.rb +61 -37
  93. data/lib/cybersource_rest_client/models/{inline_response_400_3_fields.rb → inline_response_400_4_fields.rb} +1 -1
  94. data/lib/cybersource_rest_client/models/inline_response_400_5.rb +10 -11
  95. data/lib/cybersource_rest_client/models/inline_response_400_6.rb +35 -75
  96. data/lib/cybersource_rest_client/models/inline_response_400_7.rb +276 -0
  97. data/lib/cybersource_rest_client/models/{inline_response_400_6_details.rb → inline_response_400_7_details.rb} +1 -1
  98. data/lib/cybersource_rest_client/models/inline_response_403_1.rb +236 -0
  99. data/lib/cybersource_rest_client/models/inline_response_422.rb +236 -0
  100. data/lib/cybersource_rest_client/models/inline_response_500_1.rb +20 -8
  101. data/lib/cybersource_rest_client/models/inline_response_500_2.rb +224 -0
  102. data/lib/cybersource_rest_client/models/inline_response_502.rb +13 -12
  103. data/lib/cybersource_rest_client/models/inline_response_502_1.rb +235 -0
  104. data/lib/cybersource_rest_client/models/inline_response_503.rb +236 -0
  105. data/lib/cybersource_rest_client/models/{inline_response_200_12.rb → intimate_billing_agreement.rb} +37 -59
  106. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response.rb +1 -1
  107. data/lib/cybersource_rest_client/models/modify_billing_agreement.rb +270 -0
  108. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_1.rb +239 -0
  109. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_1_installment_information.rb +197 -0
  110. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_1_processor_information.rb +214 -0
  111. data/lib/cybersource_rest_client/models/ptsv2billingagreements_aggregator_information.rb +207 -0
  112. data/lib/cybersource_rest_client/models/ptsv2billingagreements_consumer_authentication_information.rb +242 -0
  113. data/lib/cybersource_rest_client/models/ptsv2billingagreements_device_information.rb +231 -0
  114. data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +327 -0
  115. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +235 -0
  116. data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +242 -0
  117. data/lib/cybersource_rest_client/models/{inline_response_200_6_order_information.rb → ptsv2billingagreements_order_information.rb} +3 -3
  118. data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +401 -0
  119. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information.rb +200 -0
  120. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_card.rb +259 -0
  121. data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +276 -0
  122. data/lib/cybersource_rest_client/models/ptsv2billingagreements_processing_information.rb +210 -0
  123. data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +12 -1
  124. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +16 -5
  125. data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +1 -1
  126. data/lib/cybersource_rest_client/models/rbsv1plansid_plan_information.rb +1 -1
  127. data/lib/cybersource_rest_client/models/rbsv1subscriptions_plan_information.rb +1 -1
  128. data/lib/cybersource_rest_client/models/resource_not_found_error.rb +192 -192
  129. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +1 -1
  130. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_token_information.rb +22 -5
  131. data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +12 -1
  132. data/lib/cybersource_rest_client/models/riskv1decisions_processing_information.rb +1 -1
  133. data/lib/cybersource_rest_client/models/riskv1decisions_token_information.rb +197 -0
  134. data/lib/cybersource_rest_client/models/riskv1decisionsidactions_decision_information.rb +208 -0
  135. data/lib/cybersource_rest_client/models/riskv1decisionsidactions_processing_information.rb +193 -0
  136. data/lib/cybersource_rest_client/models/suspend_subscription_response.rb +239 -0
  137. data/lib/cybersource_rest_client/models/{inline_response_202_1_subscription_information.rb → suspend_subscription_response_subscription_information.rb} +1 -1
  138. data/lib/cybersource_rest_client/models/unauthorized_client_error.rb +192 -192
  139. data/lib/cybersource_rest_client/models/update_plan_request.rb +1 -1
  140. data/lib/cybersource_rest_client/models/update_plan_response.rb +239 -0
  141. data/lib/cybersource_rest_client/models/{inline_response_200_3_plan_information.rb → update_plan_response_plan_information.rb} +1 -1
  142. data/lib/cybersource_rest_client/models/{inline_response_200_8.rb → update_subscription_response.rb} +3 -3
  143. data/lib/cybersource_rest_client/models/validate_request.rb +15 -5
  144. data/lib/cybersource_rest_client/utilities/jwe_utility.rb +12 -0
  145. data/lib/cybersource_rest_client.rb +95 -54
  146. metadata +112 -57
  147. data/lib/cybersource_rest_client/models/inline_response_200_11.rb +0 -248
  148. data/lib/cybersource_rest_client/models/inline_response_200_13.rb +0 -291
@@ -0,0 +1,239 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class UpdatePlanResponse
17
+ attr_accessor :_links
18
+
19
+ # An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.
20
+ attr_accessor :id
21
+
22
+ # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
23
+ attr_accessor :submit_time_utc
24
+
25
+ # The status of the submitted transaction. Possible values: - COMPLETED
26
+ attr_accessor :status
27
+
28
+ attr_accessor :plan_information
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+ :'_links' => :'_links',
34
+ :'id' => :'id',
35
+ :'submit_time_utc' => :'submitTimeUtc',
36
+ :'status' => :'status',
37
+ :'plan_information' => :'planInformation'
38
+ }
39
+ end
40
+
41
+ # Attribute mapping from JSON key to ruby-style variable name.
42
+ def self.json_map
43
+ {
44
+ :'_links' => :'_links',
45
+ :'id' => :'id',
46
+ :'submit_time_utc' => :'submit_time_utc',
47
+ :'status' => :'status',
48
+ :'plan_information' => :'plan_information'
49
+ }
50
+ end
51
+
52
+ # Attribute type mapping.
53
+ def self.swagger_types
54
+ {
55
+ :'_links' => :'PtsV2IncrementalAuthorizationPatch201ResponseLinks',
56
+ :'id' => :'String',
57
+ :'submit_time_utc' => :'String',
58
+ :'status' => :'String',
59
+ :'plan_information' => :'UpdatePlanResponsePlanInformation'
60
+ }
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param [Hash] attributes Model attributes in the form of hash
65
+ def initialize(attributes = {})
66
+ return unless attributes.is_a?(Hash)
67
+
68
+ # convert string to symbol for hash key
69
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
70
+
71
+ if attributes.has_key?(:'_links')
72
+ self._links = attributes[:'_links']
73
+ end
74
+
75
+ if attributes.has_key?(:'id')
76
+ self.id = attributes[:'id']
77
+ end
78
+
79
+ if attributes.has_key?(:'submitTimeUtc')
80
+ self.submit_time_utc = attributes[:'submitTimeUtc']
81
+ end
82
+
83
+ if attributes.has_key?(:'status')
84
+ self.status = attributes[:'status']
85
+ end
86
+
87
+ if attributes.has_key?(:'planInformation')
88
+ self.plan_information = attributes[:'planInformation']
89
+ end
90
+ end
91
+
92
+ # Show invalid properties with the reasons. Usually used together with valid?
93
+ # @return Array for valid properties with the reasons
94
+ def list_invalid_properties
95
+ invalid_properties = Array.new
96
+ invalid_properties
97
+ end
98
+
99
+ # Check to see if the all the properties in the model are valid
100
+ # @return true if the model is valid
101
+ def valid?
102
+ true
103
+ end
104
+
105
+ # Custom attribute writer method with validation
106
+ # @param [Object] id Value to be assigned
107
+ def id=(id)
108
+ @id = id
109
+ end
110
+
111
+ # Checks equality by comparing each attribute.
112
+ # @param [Object] Object to be compared
113
+ def ==(o)
114
+ return true if self.equal?(o)
115
+ self.class == o.class &&
116
+ _links == o._links &&
117
+ id == o.id &&
118
+ submit_time_utc == o.submit_time_utc &&
119
+ status == o.status &&
120
+ plan_information == o.plan_information
121
+ end
122
+
123
+ # @see the `==` method
124
+ # @param [Object] Object to be compared
125
+ def eql?(o)
126
+ self == o
127
+ end
128
+
129
+ # Calculates hash code according to all attributes.
130
+ # @return [Fixnum] Hash code
131
+ def hash
132
+ [_links, id, submit_time_utc, status, plan_information].hash
133
+ end
134
+
135
+ # Builds the object from hash
136
+ # @param [Hash] attributes Model attributes in the form of hash
137
+ # @return [Object] Returns the model itself
138
+ def build_from_hash(attributes)
139
+ return nil unless attributes.is_a?(Hash)
140
+ self.class.swagger_types.each_pair do |key, type|
141
+ if type =~ /\AArray<(.*)>/i
142
+ # check to ensure the input is an array given that the the attribute
143
+ # is documented as an array but the input is not
144
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
145
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
146
+ end
147
+ elsif !attributes[self.class.attribute_map[key]].nil?
148
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
149
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
150
+ end
151
+
152
+ self
153
+ end
154
+
155
+ # Deserializes the data based on type
156
+ # @param string type Data type
157
+ # @param string value Value to be deserialized
158
+ # @return [Object] Deserialized data
159
+ def _deserialize(type, value)
160
+ case type.to_sym
161
+ when :DateTime
162
+ DateTime.parse(value)
163
+ when :Date
164
+ Date.parse(value)
165
+ when :String
166
+ value.to_s
167
+ when :Integer
168
+ value.to_i
169
+ when :Float
170
+ value.to_f
171
+ when :BOOLEAN
172
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
173
+ true
174
+ else
175
+ false
176
+ end
177
+ when :Object
178
+ # generic object (usually a Hash), return directly
179
+ value
180
+ when /\AArray<(?<inner_type>.+)>\z/
181
+ inner_type = Regexp.last_match[:inner_type]
182
+ value.map { |v| _deserialize(inner_type, v) }
183
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
184
+ k_type = Regexp.last_match[:k_type]
185
+ v_type = Regexp.last_match[:v_type]
186
+ {}.tap do |hash|
187
+ value.each do |k, v|
188
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
189
+ end
190
+ end
191
+ else # model
192
+ temp_model = CyberSource.const_get(type).new
193
+ temp_model.build_from_hash(value)
194
+ end
195
+ end
196
+
197
+ # Returns the string representation of the object
198
+ # @return [String] String presentation of the object
199
+ def to_s
200
+ to_hash.to_s
201
+ end
202
+
203
+ # to_body is an alias to to_hash (backward compatibility)
204
+ # @return [Hash] Returns the object in the form of hash
205
+ def to_body
206
+ to_hash
207
+ end
208
+
209
+ # Returns the object in the form of hash
210
+ # @return [Hash] Returns the object in the form of hash
211
+ def to_hash
212
+ hash = {}
213
+ self.class.attribute_map.each_pair do |attr, param|
214
+ value = self.send(attr)
215
+ next if value.nil?
216
+ hash[param] = _to_hash(value)
217
+ end
218
+ hash
219
+ end
220
+
221
+ # Outputs non-array value in the form of hash
222
+ # For object, use to_hash. Otherwise, just return the value
223
+ # @param [Object] value Any valid value
224
+ # @return [Hash] Returns the value in the form of hash
225
+ def _to_hash(value)
226
+ if value.is_a?(Array)
227
+ value.compact.map { |v| _to_hash(v) }
228
+ elsif value.is_a?(Hash)
229
+ {}.tap do |hash|
230
+ value.each { |k, v| hash[k] = _to_hash(v) }
231
+ end
232
+ elsif value.respond_to? :to_hash
233
+ value.to_hash
234
+ else
235
+ value
236
+ end
237
+ end
238
+ end
239
+ end
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2003PlanInformation
16
+ class UpdatePlanResponsePlanInformation
17
17
  # Plan code
18
18
  attr_accessor :code
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2008
16
+ class UpdateSubscriptionResponse
17
17
  attr_accessor :_links
18
18
 
19
19
  # An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.
@@ -52,11 +52,11 @@ module CyberSource
52
52
  # Attribute type mapping.
53
53
  def self.swagger_types
54
54
  {
55
- :'_links' => :'InlineResponse2006Links',
55
+ :'_links' => :'GetAllSubscriptionsResponseLinks',
56
56
  :'id' => :'String',
57
57
  :'submit_time_utc' => :'String',
58
58
  :'status' => :'String',
59
- :'subscription_information' => :'InlineResponse2011SubscriptionInformation'
59
+ :'subscription_information' => :'CreateSubscriptionResponseSubscriptionInformation'
60
60
  }
61
61
  end
62
62
 
@@ -26,6 +26,8 @@ module CyberSource
26
26
 
27
27
  attr_accessor :device_information
28
28
 
29
+ attr_accessor :token_information
30
+
29
31
  # Attribute mapping from ruby-style variable name to JSON key.
30
32
  def self.attribute_map
31
33
  {
@@ -34,7 +36,8 @@ module CyberSource
34
36
  :'order_information' => :'orderInformation',
35
37
  :'payment_information' => :'paymentInformation',
36
38
  :'consumer_authentication_information' => :'consumerAuthenticationInformation',
37
- :'device_information' => :'deviceInformation'
39
+ :'device_information' => :'deviceInformation',
40
+ :'token_information' => :'tokenInformation'
38
41
  }
39
42
  end
40
43
 
@@ -46,7 +49,8 @@ module CyberSource
46
49
  :'order_information' => :'order_information',
47
50
  :'payment_information' => :'payment_information',
48
51
  :'consumer_authentication_information' => :'consumer_authentication_information',
49
- :'device_information' => :'device_information'
52
+ :'device_information' => :'device_information',
53
+ :'token_information' => :'token_information'
50
54
  }
51
55
  end
52
56
 
@@ -58,7 +62,8 @@ module CyberSource
58
62
  :'order_information' => :'Riskv1authenticationresultsOrderInformation',
59
63
  :'payment_information' => :'Riskv1authenticationresultsPaymentInformation',
60
64
  :'consumer_authentication_information' => :'Riskv1authenticationresultsConsumerAuthenticationInformation',
61
- :'device_information' => :'Riskv1authenticationresultsDeviceInformation'
65
+ :'device_information' => :'Riskv1authenticationresultsDeviceInformation',
66
+ :'token_information' => :'Riskv1decisionsTokenInformation'
62
67
  }
63
68
  end
64
69
 
@@ -93,6 +98,10 @@ module CyberSource
93
98
  if attributes.has_key?(:'deviceInformation')
94
99
  self.device_information = attributes[:'deviceInformation']
95
100
  end
101
+
102
+ if attributes.has_key?(:'tokenInformation')
103
+ self.token_information = attributes[:'tokenInformation']
104
+ end
96
105
  end
97
106
 
98
107
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -118,7 +127,8 @@ module CyberSource
118
127
  order_information == o.order_information &&
119
128
  payment_information == o.payment_information &&
120
129
  consumer_authentication_information == o.consumer_authentication_information &&
121
- device_information == o.device_information
130
+ device_information == o.device_information &&
131
+ token_information == o.token_information
122
132
  end
123
133
 
124
134
  # @see the `==` method
@@ -130,7 +140,7 @@ module CyberSource
130
140
  # Calculates hash code according to all attributes.
131
141
  # @return [Fixnum] Hash code
132
142
  def hash
133
- [client_reference_information, processing_information, order_information, payment_information, consumer_authentication_information, device_information].hash
143
+ [client_reference_information, processing_information, order_information, payment_information, consumer_authentication_information, device_information, token_information].hash
134
144
  end
135
145
 
136
146
  # Builds the object from hash
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../AuthenticationSDK/util/JWEUtility'
4
+ module CyberSource
5
+
6
+ public
7
+ class JWEUtility
8
+ def self.decryptJWEResponse(encoded_response, merchant_config)
9
+ return AuthJWEUtility.decrypt_jwe_using_pem(merchant_config, encoded_response)
10
+ end
11
+ end
12
+ end
@@ -41,97 +41,105 @@ require 'cybersource_rest_client/models/bad_request_error'
41
41
  require 'cybersource_rest_client/models/create_access_token_request'
42
42
  require 'cybersource_rest_client/models/accountupdaterv1batches_included'
43
43
  require 'cybersource_rest_client/models/accountupdaterv1batches_included_tokens'
44
+ require 'cybersource_rest_client/models/activate_deactivate_plan_response'
45
+ require 'cybersource_rest_client/models/activate_subscription_response'
46
+ require 'cybersource_rest_client/models/activate_subscription_response_subscription_information'
44
47
  require 'cybersource_rest_client/models/add_negative_list_request'
45
48
  require 'cybersource_rest_client/models/auth_reversal_request'
46
49
  require 'cybersource_rest_client/models/body'
50
+ require 'cybersource_rest_client/models/cancel_subscription_response'
51
+ require 'cybersource_rest_client/models/cancel_subscription_response_subscription_information'
47
52
  require 'cybersource_rest_client/models/capture_payment_request'
53
+ require 'cybersource_rest_client/models/case_management_actions_request'
54
+ require 'cybersource_rest_client/models/case_management_comments_request'
48
55
  require 'cybersource_rest_client/models/check_payer_auth_enrollment_request'
49
56
  require 'cybersource_rest_client/models/create_adhoc_report_request'
57
+ require 'cybersource_rest_client/models/create_billing_agreement'
50
58
  require 'cybersource_rest_client/models/create_bundled_decision_manager_case_request'
51
59
  require 'cybersource_rest_client/models/create_credit_request'
52
60
  require 'cybersource_rest_client/models/create_invoice_request'
53
61
  require 'cybersource_rest_client/models/create_p12_keys_request'
54
62
  require 'cybersource_rest_client/models/create_payment_request'
55
63
  require 'cybersource_rest_client/models/create_plan_request'
64
+ require 'cybersource_rest_client/models/create_plan_response'
65
+ require 'cybersource_rest_client/models/create_plan_response_plan_information'
56
66
  require 'cybersource_rest_client/models/create_report_subscription_request'
57
67
  require 'cybersource_rest_client/models/create_search_request'
58
68
  require 'cybersource_rest_client/models/create_shared_secret_keys_request'
59
69
  require 'cybersource_rest_client/models/create_shared_secret_keys_verifi_request'
60
70
  require 'cybersource_rest_client/models/create_subscription_request'
71
+ require 'cybersource_rest_client/models/create_subscription_response'
72
+ require 'cybersource_rest_client/models/create_subscription_response__links'
73
+ require 'cybersource_rest_client/models/create_subscription_response_subscription_information'
61
74
  require 'cybersource_rest_client/models/delete_bulk_p12_keys_request'
62
75
  require 'cybersource_rest_client/models/delete_bulk_symmetric_keys_request'
76
+ require 'cybersource_rest_client/models/delete_plan_response'
63
77
  require 'cybersource_rest_client/models/fraud_marking_action_request'
64
78
  require 'cybersource_rest_client/models/generate_capture_context_request'
65
79
  require 'cybersource_rest_client/models/generate_unified_checkout_capture_context_request'
80
+ require 'cybersource_rest_client/models/get_all_plans_response'
81
+ require 'cybersource_rest_client/models/get_all_plans_response__links'
82
+ require 'cybersource_rest_client/models/get_all_plans_response_order_information'
83
+ require 'cybersource_rest_client/models/get_all_plans_response_order_information_amount_details'
84
+ require 'cybersource_rest_client/models/get_all_plans_response_plan_information'
85
+ require 'cybersource_rest_client/models/get_all_plans_response_plan_information_billing_cycles'
86
+ require 'cybersource_rest_client/models/get_all_plans_response_plan_information_billing_period'
87
+ require 'cybersource_rest_client/models/get_all_plans_response_plans'
88
+ require 'cybersource_rest_client/models/get_all_subscriptions_response'
89
+ require 'cybersource_rest_client/models/get_all_subscriptions_response__links'
90
+ require 'cybersource_rest_client/models/get_all_subscriptions_response_order_information'
91
+ require 'cybersource_rest_client/models/get_all_subscriptions_response_order_information_bill_to'
92
+ require 'cybersource_rest_client/models/get_all_subscriptions_response_payment_information'
93
+ require 'cybersource_rest_client/models/get_all_subscriptions_response_payment_information_customer'
94
+ require 'cybersource_rest_client/models/get_all_subscriptions_response_plan_information'
95
+ require 'cybersource_rest_client/models/get_all_subscriptions_response_plan_information_billing_cycles'
96
+ require 'cybersource_rest_client/models/get_all_subscriptions_response_subscription_information'
97
+ require 'cybersource_rest_client/models/get_all_subscriptions_response_subscriptions'
98
+ require 'cybersource_rest_client/models/get_plan_code_response'
99
+ require 'cybersource_rest_client/models/get_plan_response'
100
+ require 'cybersource_rest_client/models/get_subscription_code_response'
101
+ require 'cybersource_rest_client/models/get_subscription_response'
66
102
  require 'cybersource_rest_client/models/increment_auth_request'
67
103
  require 'cybersource_rest_client/models/inline_response_200'
68
104
  require 'cybersource_rest_client/models/inline_response_200_1'
69
- require 'cybersource_rest_client/models/inline_response_200_10'
70
- require 'cybersource_rest_client/models/inline_response_200_11'
71
- require 'cybersource_rest_client/models/inline_response_200_11_keys'
72
- require 'cybersource_rest_client/models/inline_response_200_12'
73
- require 'cybersource_rest_client/models/inline_response_200_12__embedded'
74
- require 'cybersource_rest_client/models/inline_response_200_12__embedded_batches'
75
- require 'cybersource_rest_client/models/inline_response_200_12__embedded__links'
76
- require 'cybersource_rest_client/models/inline_response_200_12__embedded__links_reports'
77
- require 'cybersource_rest_client/models/inline_response_200_12__embedded_totals'
78
- require 'cybersource_rest_client/models/inline_response_200_12__links'
79
- require 'cybersource_rest_client/models/inline_response_200_13'
80
- require 'cybersource_rest_client/models/inline_response_200_13_billing'
81
- require 'cybersource_rest_client/models/inline_response_200_13__links'
82
- require 'cybersource_rest_client/models/inline_response_200_13__links_report'
83
- require 'cybersource_rest_client/models/inline_response_200_14'
84
- require 'cybersource_rest_client/models/inline_response_200_14_records'
85
- require 'cybersource_rest_client/models/inline_response_200_14_response_record'
86
- require 'cybersource_rest_client/models/inline_response_200_14_response_record_additional_updates'
87
- require 'cybersource_rest_client/models/inline_response_200_14_source_record'
105
+ require 'cybersource_rest_client/models/inline_response_200_1_keys'
88
106
  require 'cybersource_rest_client/models/inline_response_200_2'
107
+ require 'cybersource_rest_client/models/inline_response_200_2__embedded'
108
+ require 'cybersource_rest_client/models/inline_response_200_2__embedded_batches'
109
+ require 'cybersource_rest_client/models/inline_response_200_2__embedded__links'
110
+ require 'cybersource_rest_client/models/inline_response_200_2__embedded__links_reports'
111
+ require 'cybersource_rest_client/models/inline_response_200_2__embedded_totals'
112
+ require 'cybersource_rest_client/models/inline_response_200_2__links'
89
113
  require 'cybersource_rest_client/models/inline_response_200_3'
90
- require 'cybersource_rest_client/models/inline_response_200_3_plan_information'
114
+ require 'cybersource_rest_client/models/inline_response_200_3_billing'
115
+ require 'cybersource_rest_client/models/inline_response_200_3__links'
116
+ require 'cybersource_rest_client/models/inline_response_200_3__links_report'
91
117
  require 'cybersource_rest_client/models/inline_response_200_4'
92
- require 'cybersource_rest_client/models/inline_response_200_5'
93
- require 'cybersource_rest_client/models/inline_response_200_6'
94
- require 'cybersource_rest_client/models/inline_response_200_6__links'
95
- require 'cybersource_rest_client/models/inline_response_200_6_order_information'
96
- require 'cybersource_rest_client/models/inline_response_200_6_order_information_bill_to'
97
- require 'cybersource_rest_client/models/inline_response_200_6_payment_information'
98
- require 'cybersource_rest_client/models/inline_response_200_6_payment_information_customer'
99
- require 'cybersource_rest_client/models/inline_response_200_6_plan_information'
100
- require 'cybersource_rest_client/models/inline_response_200_6_plan_information_billing_cycles'
101
- require 'cybersource_rest_client/models/inline_response_200_6_subscription_information'
102
- require 'cybersource_rest_client/models/inline_response_200_6_subscriptions'
103
- require 'cybersource_rest_client/models/inline_response_200_7'
104
- require 'cybersource_rest_client/models/inline_response_200_8'
105
- require 'cybersource_rest_client/models/inline_response_200_9'
106
- require 'cybersource_rest_client/models/inline_response_200_9_subscription_information'
107
- require 'cybersource_rest_client/models/inline_response_200__links'
108
- require 'cybersource_rest_client/models/inline_response_200_order_information'
109
- require 'cybersource_rest_client/models/inline_response_200_order_information_amount_details'
110
- require 'cybersource_rest_client/models/inline_response_200_plan_information'
111
- require 'cybersource_rest_client/models/inline_response_200_plan_information_billing_cycles'
112
- require 'cybersource_rest_client/models/inline_response_200_plan_information_billing_period'
113
- require 'cybersource_rest_client/models/inline_response_200_plans'
118
+ require 'cybersource_rest_client/models/inline_response_200_4_records'
119
+ require 'cybersource_rest_client/models/inline_response_200_4_response_record'
120
+ require 'cybersource_rest_client/models/inline_response_200_4_response_record_additional_updates'
121
+ require 'cybersource_rest_client/models/inline_response_200_4_source_record'
122
+ require 'cybersource_rest_client/models/inline_response_200__embedded'
123
+ require 'cybersource_rest_client/models/inline_response_200__embedded_capture'
124
+ require 'cybersource_rest_client/models/inline_response_200__embedded_capture__links'
125
+ require 'cybersource_rest_client/models/inline_response_200__embedded_capture__links_self'
126
+ require 'cybersource_rest_client/models/inline_response_200__embedded_reversal'
127
+ require 'cybersource_rest_client/models/inline_response_200__embedded_reversal__links'
128
+ require 'cybersource_rest_client/models/inline_response_200__embedded_reversal__links_self'
114
129
  require 'cybersource_rest_client/models/inline_response_201'
115
- require 'cybersource_rest_client/models/inline_response_201_1'
116
- require 'cybersource_rest_client/models/inline_response_201_1__links'
117
- require 'cybersource_rest_client/models/inline_response_201_1_subscription_information'
118
- require 'cybersource_rest_client/models/inline_response_201_plan_information'
119
130
  require 'cybersource_rest_client/models/inline_response_202'
120
- require 'cybersource_rest_client/models/inline_response_202_1'
121
- require 'cybersource_rest_client/models/inline_response_202_1_subscription_information'
122
- require 'cybersource_rest_client/models/inline_response_202_2'
123
- require 'cybersource_rest_client/models/inline_response_202_2__links'
124
- require 'cybersource_rest_client/models/inline_response_202_2__links_status'
125
- require 'cybersource_rest_client/models/inline_response_202_subscription_information'
131
+ require 'cybersource_rest_client/models/inline_response_202__links'
132
+ require 'cybersource_rest_client/models/inline_response_202__links_status'
126
133
  require 'cybersource_rest_client/models/inline_response_400'
127
134
  require 'cybersource_rest_client/models/inline_response_400_1'
128
135
  require 'cybersource_rest_client/models/inline_response_400_2'
129
136
  require 'cybersource_rest_client/models/inline_response_400_3'
130
- require 'cybersource_rest_client/models/inline_response_400_3_fields'
131
137
  require 'cybersource_rest_client/models/inline_response_400_4'
138
+ require 'cybersource_rest_client/models/inline_response_400_4_fields'
132
139
  require 'cybersource_rest_client/models/inline_response_400_5'
133
140
  require 'cybersource_rest_client/models/inline_response_400_6'
134
- require 'cybersource_rest_client/models/inline_response_400_6_details'
141
+ require 'cybersource_rest_client/models/inline_response_400_7'
142
+ require 'cybersource_rest_client/models/inline_response_400_7_details'
135
143
  require 'cybersource_rest_client/models/inline_response_400_details'
136
144
  require 'cybersource_rest_client/models/inline_response_400_errors'
137
145
  require 'cybersource_rest_client/models/inline_response_401'
@@ -139,6 +147,7 @@ require 'cybersource_rest_client/models/inline_response_401_fields'
139
147
  require 'cybersource_rest_client/models/inline_response_401__links'
140
148
  require 'cybersource_rest_client/models/inline_response_401__links_self'
141
149
  require 'cybersource_rest_client/models/inline_response_403'
150
+ require 'cybersource_rest_client/models/inline_response_403_1'
142
151
  require 'cybersource_rest_client/models/inline_response_403_errors'
143
152
  require 'cybersource_rest_client/models/inline_response_404'
144
153
  require 'cybersource_rest_client/models/inline_response_409'
@@ -147,17 +156,22 @@ require 'cybersource_rest_client/models/inline_response_410'
147
156
  require 'cybersource_rest_client/models/inline_response_410_errors'
148
157
  require 'cybersource_rest_client/models/inline_response_412'
149
158
  require 'cybersource_rest_client/models/inline_response_412_errors'
159
+ require 'cybersource_rest_client/models/inline_response_422'
150
160
  require 'cybersource_rest_client/models/inline_response_424'
151
161
  require 'cybersource_rest_client/models/inline_response_424_errors'
152
162
  require 'cybersource_rest_client/models/inline_response_500'
153
163
  require 'cybersource_rest_client/models/inline_response_500_1'
164
+ require 'cybersource_rest_client/models/inline_response_500_2'
154
165
  require 'cybersource_rest_client/models/inline_response_500_errors'
155
166
  require 'cybersource_rest_client/models/inline_response_502'
167
+ require 'cybersource_rest_client/models/inline_response_502_1'
168
+ require 'cybersource_rest_client/models/inline_response_503'
156
169
  require 'cybersource_rest_client/models/inline_response_default'
157
170
  require 'cybersource_rest_client/models/inline_response_default__links'
158
171
  require 'cybersource_rest_client/models/inline_response_default__links_next'
159
172
  require 'cybersource_rest_client/models/inline_response_default_response_status'
160
173
  require 'cybersource_rest_client/models/inline_response_default_response_status_details'
174
+ require 'cybersource_rest_client/models/intimate_billing_agreement'
161
175
  require 'cybersource_rest_client/models/invoice_settings_request'
162
176
  require 'cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response'
163
177
  require 'cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information'
@@ -212,6 +226,7 @@ require 'cybersource_rest_client/models/kmsv2keyssymverifi_key_information'
212
226
  require 'cybersource_rest_client/models/microformv2sessions_checkout_api_initialization'
213
227
  require 'cybersource_rest_client/models/mit_reversal_request'
214
228
  require 'cybersource_rest_client/models/mit_void_request'
229
+ require 'cybersource_rest_client/models/modify_billing_agreement'
215
230
  require 'cybersource_rest_client/models/oct_create_payment_request'
216
231
  require 'cybersource_rest_client/models/patch_customer_payment_instrument_request'
217
232
  require 'cybersource_rest_client/models/patch_customer_request'
@@ -247,6 +262,9 @@ require 'cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_res
247
262
  require 'cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links'
248
263
  require 'cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response__links_transactions'
249
264
  require 'cybersource_rest_client/models/pts_v2_credits_post201_response'
265
+ require 'cybersource_rest_client/models/pts_v2_credits_post201_response_1'
266
+ require 'cybersource_rest_client/models/pts_v2_credits_post201_response_1_installment_information'
267
+ require 'cybersource_rest_client/models/pts_v2_credits_post201_response_1_processor_information'
250
268
  require 'cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details'
251
269
  require 'cybersource_rest_client/models/pts_v2_credits_post201_response_payment_information'
252
270
  require 'cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information'
@@ -407,6 +425,18 @@ require 'cybersource_rest_client/models/ptsv1pushfundstransfer_sender_informatio
407
425
  require 'cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information'
408
426
  require 'cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card'
409
427
  require 'cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification'
428
+ require 'cybersource_rest_client/models/ptsv2billingagreements_aggregator_information'
429
+ require 'cybersource_rest_client/models/ptsv2billingagreements_consumer_authentication_information'
430
+ require 'cybersource_rest_client/models/ptsv2billingagreements_device_information'
431
+ require 'cybersource_rest_client/models/ptsv2billingagreements_installment_information'
432
+ require 'cybersource_rest_client/models/ptsv2billingagreements_merchant_information'
433
+ require 'cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor'
434
+ require 'cybersource_rest_client/models/ptsv2billingagreements_order_information'
435
+ require 'cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to'
436
+ require 'cybersource_rest_client/models/ptsv2billingagreements_payment_information'
437
+ require 'cybersource_rest_client/models/ptsv2billingagreements_payment_information_card'
438
+ require 'cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card'
439
+ require 'cybersource_rest_client/models/ptsv2billingagreements_processing_information'
410
440
  require 'cybersource_rest_client/models/ptsv2credits_installment_information'
411
441
  require 'cybersource_rest_client/models/ptsv2credits_processing_information'
412
442
  require 'cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options'
@@ -752,9 +782,12 @@ require 'cybersource_rest_client/models/riskv1decisions_processor_information'
752
782
  require 'cybersource_rest_client/models/riskv1decisions_processor_information_avs'
753
783
  require 'cybersource_rest_client/models/riskv1decisions_processor_information_card_verification'
754
784
  require 'cybersource_rest_client/models/riskv1decisions_risk_information'
785
+ require 'cybersource_rest_client/models/riskv1decisions_token_information'
755
786
  require 'cybersource_rest_client/models/riskv1decisions_travel_information'
756
787
  require 'cybersource_rest_client/models/riskv1decisions_travel_information_legs'
757
788
  require 'cybersource_rest_client/models/riskv1decisions_travel_information_passengers'
789
+ require 'cybersource_rest_client/models/riskv1decisionsidactions_decision_information'
790
+ require 'cybersource_rest_client/models/riskv1decisionsidactions_processing_information'
758
791
  require 'cybersource_rest_client/models/riskv1decisionsidmarking_risk_information'
759
792
  require 'cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details'
760
793
  require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information'
@@ -786,6 +819,8 @@ require 'cybersource_rest_client/models/shipping_address_list_for_customer__link
786
819
  require 'cybersource_rest_client/models/shipping_address_list_for_customer__links_next'
787
820
  require 'cybersource_rest_client/models/shipping_address_list_for_customer__links_prev'
788
821
  require 'cybersource_rest_client/models/shipping_address_list_for_customer__links_self'
822
+ require 'cybersource_rest_client/models/suspend_subscription_response'
823
+ require 'cybersource_rest_client/models/suspend_subscription_response_subscription_information'
789
824
  require 'cybersource_rest_client/models/tax_request'
790
825
  require 'cybersource_rest_client/models/tms_v2_customers_response'
791
826
  require 'cybersource_rest_client/models/tmsv2customers_buyer_information'
@@ -937,7 +972,10 @@ require 'cybersource_rest_client/models/update_pgp_keys_request'
937
972
  require 'cybersource_rest_client/models/update_pgp_keys_request_1'
938
973
  require 'cybersource_rest_client/models/update_password_keys_request'
939
974
  require 'cybersource_rest_client/models/update_plan_request'
975
+ require 'cybersource_rest_client/models/update_plan_response'
976
+ require 'cybersource_rest_client/models/update_plan_response_plan_information'
940
977
  require 'cybersource_rest_client/models/update_subscription'
978
+ require 'cybersource_rest_client/models/update_subscription_response'
941
979
  require 'cybersource_rest_client/models/upv1capturecontexts_capture_mandate'
942
980
  require 'cybersource_rest_client/models/upv1capturecontexts_checkout_api_initialization'
943
981
  require 'cybersource_rest_client/models/upv1capturecontexts_order_information'
@@ -988,6 +1026,7 @@ require 'cybersource_rest_client/models/void_tax_request'
988
1026
  require 'cybersource_rest_client/api/o_auth_api'
989
1027
  require 'cybersource_rest_client/api/asymmetric_key_management_api'
990
1028
  require 'cybersource_rest_client/api/batches_api'
1029
+ require 'cybersource_rest_client/api/billing_agreements_api'
991
1030
  require 'cybersource_rest_client/api/capture_api'
992
1031
  require 'cybersource_rest_client/api/chargeback_details_api'
993
1032
  require 'cybersource_rest_client/api/chargeback_summaries_api'
@@ -1044,6 +1083,8 @@ require 'cybersource_rest_client/api/void_api'
1044
1083
 
1045
1084
  # Utilities
1046
1085
  require 'cybersource_rest_client/utilities/flex/token_verification'
1086
+ require 'cybersource_rest_client/utilities/jwe_utility'
1087
+
1047
1088
 
1048
1089
  module CyberSource
1049
1090
  class << self