cybersource_rest_client 0.0.70 → 0.0.71
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/cybersource_rest_client/api/batches_api.rb +9 -9
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +3 -149
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +20 -261
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +75 -0
- data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +64 -26
- data/lib/cybersource_rest_client/models/{inline_response_200_5__embedded.rb → inline_response_200_2__embedded.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_5__embedded__links.rb → inline_response_200_2__embedded__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_5__embedded__links_reports.rb → inline_response_200_2__embedded__links_reports.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_5__embedded_batches.rb → inline_response_200_2__embedded_batches.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_5__embedded_totals.rb → inline_response_200_2__embedded_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_5__links.rb → inline_response_200_2__links.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +75 -120
- data/lib/cybersource_rest_client/models/{inline_response_200_6__links.rb → inline_response_200_3__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_6__links_report.rb → inline_response_200_3__links_report.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_6_billing.rb → inline_response_200_3_billing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +83 -126
- data/lib/cybersource_rest_client/models/{inline_response_200_7_records.rb → inline_response_200_4_records.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_200_7_response_record.rb → inline_response_200_4_response_record.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_200_7_response_record_additional_updates.rb → inline_response_200_4_response_record_additional_updates.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_7_source_record.rb → inline_response_200_4_source_record.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +64 -134
- data/lib/cybersource_rest_client/models/inline_response_201_4_payloads.rb +189 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4_payloads_test_payload.rb +190 -0
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +5 -25
- data/lib/cybersource_rest_client/models/model_400_upload_batch_file_response.rb +199 -0
- data/lib/cybersource_rest_client/models/payments_strong_auth_issuer_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1.rb +25 -5
- data/lib/cybersource_rest_client/models/{inline_response_404_2.rb → pts_v2_payments_post201_response_1_error_information.rb} +4 -2
- data/lib/cybersource_rest_client/models/{inline_response_404_2_details.rb → pts_v2_payments_post201_response_1_error_information_details.rb} +3 -12
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_issuer_information.rb +213 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information.rb +15 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_amount_details.rb +196 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information.rb +11 -1
- data/lib/cybersource_rest_client/models/{notificationsubscriptionsv1webhooks_security_policy_1.rb → pts_v2_payments_post201_response_1_payment_information_e_wallet.rb} +30 -29
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +41 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +1 -1
- data/lib/cybersource_rest_client/models/save_asym_egress_key.rb +0 -10
- data/lib/cybersource_rest_client/models/save_sym_egress_key.rb +0 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_issuer_information.rb +22 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb +12 -1
- data/lib/cybersource_rest_client.rb +21 -32
- metadata +23 -34
- data/lib/cybersource_rest_client/api/replay_webhooks_api.rb +0 -98
- data/lib/cybersource_rest_client/models/create_webhook_request.rb +0 -289
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +0 -251
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +0 -290
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +0 -292
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1productsorganization_id_event_types.rb +0 -233
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_notification_scope.rb +0 -205
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_products.rb +0 -202
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_retry_policy.rb +0 -270
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy.rb +0 -201
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config.rb +0 -223
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config_additional_config.rb +0 -220
- data/lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_config.rb +0 -213
- data/lib/cybersource_rest_client/models/nrtfv1webhookswebhook_idreplays_by_delivery_status.rb +0 -243
- data/lib/cybersource_rest_client/models/replay_webhooks_request.rb +0 -201
- data/lib/cybersource_rest_client/models/update_webhook_request.rb +0 -314
@@ -25,13 +25,17 @@ module CyberSource
|
|
25
25
|
# This field contains the customer service phone number for the issuer.
|
26
26
|
attr_accessor :phone_number
|
27
27
|
|
28
|
+
# In a Mastercard Transaction, this field contains the unique identifier (Transaction Link ID) for the first transaction in a transaction life cycle. This ID is crucial for maintaining continuity and linking subsequent operations to the original transaction.
|
29
|
+
attr_accessor :transaction_information
|
30
|
+
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
34
|
:'name' => :'name',
|
32
35
|
:'country' => :'country',
|
33
36
|
:'bin_length' => :'binLength',
|
34
|
-
:'phone_number' => :'phoneNumber'
|
37
|
+
:'phone_number' => :'phoneNumber',
|
38
|
+
:'transaction_information' => :'transactionInformation'
|
35
39
|
}
|
36
40
|
end
|
37
41
|
|
@@ -41,7 +45,8 @@ module CyberSource
|
|
41
45
|
:'name' => :'name',
|
42
46
|
:'country' => :'country',
|
43
47
|
:'bin_length' => :'bin_length',
|
44
|
-
:'phone_number' => :'phone_number'
|
48
|
+
:'phone_number' => :'phone_number',
|
49
|
+
:'transaction_information' => :'transaction_information'
|
45
50
|
}
|
46
51
|
end
|
47
52
|
|
@@ -51,7 +56,8 @@ module CyberSource
|
|
51
56
|
:'name' => :'String',
|
52
57
|
:'country' => :'String',
|
53
58
|
:'bin_length' => :'String',
|
54
|
-
:'phone_number' => :'String'
|
59
|
+
:'phone_number' => :'String',
|
60
|
+
:'transaction_information' => :'String'
|
55
61
|
}
|
56
62
|
end
|
57
63
|
|
@@ -78,6 +84,10 @@ module CyberSource
|
|
78
84
|
if attributes.has_key?(:'phoneNumber')
|
79
85
|
self.phone_number = attributes[:'phoneNumber']
|
80
86
|
end
|
87
|
+
|
88
|
+
if attributes.has_key?(:'transactionInformation')
|
89
|
+
self.transaction_information = attributes[:'transactionInformation']
|
90
|
+
end
|
81
91
|
end
|
82
92
|
|
83
93
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -117,6 +127,12 @@ module CyberSource
|
|
117
127
|
@phone_number = phone_number
|
118
128
|
end
|
119
129
|
|
130
|
+
# Custom attribute writer method with validation
|
131
|
+
# @param [Object] transaction_information Value to be assigned
|
132
|
+
def transaction_information=(transaction_information)
|
133
|
+
@transaction_information = transaction_information
|
134
|
+
end
|
135
|
+
|
120
136
|
# Checks equality by comparing each attribute.
|
121
137
|
# @param [Object] Object to be compared
|
122
138
|
def ==(o)
|
@@ -125,7 +141,8 @@ module CyberSource
|
|
125
141
|
name == o.name &&
|
126
142
|
country == o.country &&
|
127
143
|
bin_length == o.bin_length &&
|
128
|
-
phone_number == o.phone_number
|
144
|
+
phone_number == o.phone_number &&
|
145
|
+
transaction_information == o.transaction_information
|
129
146
|
end
|
130
147
|
|
131
148
|
# @see the `==` method
|
@@ -137,7 +154,7 @@ module CyberSource
|
|
137
154
|
# Calculates hash code according to all attributes.
|
138
155
|
# @return [Fixnum] Hash code
|
139
156
|
def hash
|
140
|
-
[name, country, bin_length, phone_number].hash
|
157
|
+
[name, country, bin_length, phone_number, transaction_information].hash
|
141
158
|
end
|
142
159
|
|
143
160
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ module CyberSource
|
|
15
15
|
class TssV2TransactionsPost201ResponseEmbeddedProcessorInformation
|
16
16
|
attr_accessor :processor
|
17
17
|
|
18
|
+
# Unique ID [codigo] generated by the processor for real-time payments processed directly by the Iugu processor.
|
19
|
+
attr_accessor :provider_transaction_id
|
20
|
+
|
18
21
|
# Authorization code. Returned only when the processor returns this value. The length of this value depends on your processor. Returned by authorization service. #### PIN debit Authorization code that is returned by the processor. Returned by PIN debit credit. #### Elavon Encrypted Account Number Program The returned value is OFFLINE. #### TSYS Acquiring Solutions The returned value for a successful zero amount authorization is 000000.
|
19
22
|
attr_accessor :approval_code
|
20
23
|
|
@@ -25,6 +28,7 @@ module CyberSource
|
|
25
28
|
def self.attribute_map
|
26
29
|
{
|
27
30
|
:'processor' => :'processor',
|
31
|
+
:'provider_transaction_id' => :'providerTransactionId',
|
28
32
|
:'approval_code' => :'approvalCode',
|
29
33
|
:'retrieval_reference_number' => :'retrievalReferenceNumber'
|
30
34
|
}
|
@@ -34,6 +38,7 @@ module CyberSource
|
|
34
38
|
def self.json_map
|
35
39
|
{
|
36
40
|
:'processor' => :'processor',
|
41
|
+
:'provider_transaction_id' => :'provider_transaction_id',
|
37
42
|
:'approval_code' => :'approval_code',
|
38
43
|
:'retrieval_reference_number' => :'retrieval_reference_number'
|
39
44
|
}
|
@@ -43,6 +48,7 @@ module CyberSource
|
|
43
48
|
def self.swagger_types
|
44
49
|
{
|
45
50
|
:'processor' => :'TssV2TransactionsGet200ResponseProcessorInformationProcessor',
|
51
|
+
:'provider_transaction_id' => :'String',
|
46
52
|
:'approval_code' => :'String',
|
47
53
|
:'retrieval_reference_number' => :'String'
|
48
54
|
}
|
@@ -60,6 +66,10 @@ module CyberSource
|
|
60
66
|
self.processor = attributes[:'processor']
|
61
67
|
end
|
62
68
|
|
69
|
+
if attributes.has_key?(:'providerTransactionId')
|
70
|
+
self.provider_transaction_id = attributes[:'providerTransactionId']
|
71
|
+
end
|
72
|
+
|
63
73
|
if attributes.has_key?(:'approvalCode')
|
64
74
|
self.approval_code = attributes[:'approvalCode']
|
65
75
|
end
|
@@ -100,6 +110,7 @@ module CyberSource
|
|
100
110
|
return true if self.equal?(o)
|
101
111
|
self.class == o.class &&
|
102
112
|
processor == o.processor &&
|
113
|
+
provider_transaction_id == o.provider_transaction_id &&
|
103
114
|
approval_code == o.approval_code &&
|
104
115
|
retrieval_reference_number == o.retrieval_reference_number
|
105
116
|
end
|
@@ -113,7 +124,7 @@ module CyberSource
|
|
113
124
|
# Calculates hash code according to all attributes.
|
114
125
|
# @return [Fixnum] Hash code
|
115
126
|
def hash
|
116
|
-
[processor, approval_code, retrieval_reference_number].hash
|
127
|
+
[processor, provider_transaction_id, approval_code, retrieval_reference_number].hash
|
117
128
|
end
|
118
129
|
|
119
130
|
# Builds the object from hash
|
@@ -123,7 +123,6 @@ require 'cybersource_rest_client/models/create_subscription_request'
|
|
123
123
|
require 'cybersource_rest_client/models/create_subscription_response'
|
124
124
|
require 'cybersource_rest_client/models/create_subscription_response__links'
|
125
125
|
require 'cybersource_rest_client/models/create_subscription_response_subscription_information'
|
126
|
-
require 'cybersource_rest_client/models/create_webhook_request'
|
127
126
|
require 'cybersource_rest_client/models/delete_plan_response'
|
128
127
|
require 'cybersource_rest_client/models/dm_config'
|
129
128
|
require 'cybersource_rest_client/models/dm_config_organization'
|
@@ -194,24 +193,21 @@ require 'cybersource_rest_client/models/inline_response_200_1'
|
|
194
193
|
require 'cybersource_rest_client/models/inline_response_200_1_integration_information'
|
195
194
|
require 'cybersource_rest_client/models/inline_response_200_1_integration_information_tenant_configurations'
|
196
195
|
require 'cybersource_rest_client/models/inline_response_200_2'
|
196
|
+
require 'cybersource_rest_client/models/inline_response_200_2__embedded'
|
197
|
+
require 'cybersource_rest_client/models/inline_response_200_2__embedded_batches'
|
198
|
+
require 'cybersource_rest_client/models/inline_response_200_2__embedded__links'
|
199
|
+
require 'cybersource_rest_client/models/inline_response_200_2__embedded__links_reports'
|
200
|
+
require 'cybersource_rest_client/models/inline_response_200_2__embedded_totals'
|
201
|
+
require 'cybersource_rest_client/models/inline_response_200_2__links'
|
197
202
|
require 'cybersource_rest_client/models/inline_response_200_3'
|
203
|
+
require 'cybersource_rest_client/models/inline_response_200_3_billing'
|
204
|
+
require 'cybersource_rest_client/models/inline_response_200_3__links'
|
205
|
+
require 'cybersource_rest_client/models/inline_response_200_3__links_report'
|
198
206
|
require 'cybersource_rest_client/models/inline_response_200_4'
|
199
|
-
require 'cybersource_rest_client/models/
|
200
|
-
require 'cybersource_rest_client/models/
|
201
|
-
require 'cybersource_rest_client/models/
|
202
|
-
require 'cybersource_rest_client/models/
|
203
|
-
require 'cybersource_rest_client/models/inline_response_200_5__embedded__links_reports'
|
204
|
-
require 'cybersource_rest_client/models/inline_response_200_5__embedded_totals'
|
205
|
-
require 'cybersource_rest_client/models/inline_response_200_5__links'
|
206
|
-
require 'cybersource_rest_client/models/inline_response_200_6'
|
207
|
-
require 'cybersource_rest_client/models/inline_response_200_6_billing'
|
208
|
-
require 'cybersource_rest_client/models/inline_response_200_6__links'
|
209
|
-
require 'cybersource_rest_client/models/inline_response_200_6__links_report'
|
210
|
-
require 'cybersource_rest_client/models/inline_response_200_7'
|
211
|
-
require 'cybersource_rest_client/models/inline_response_200_7_records'
|
212
|
-
require 'cybersource_rest_client/models/inline_response_200_7_response_record'
|
213
|
-
require 'cybersource_rest_client/models/inline_response_200_7_response_record_additional_updates'
|
214
|
-
require 'cybersource_rest_client/models/inline_response_200_7_source_record'
|
207
|
+
require 'cybersource_rest_client/models/inline_response_200_4_records'
|
208
|
+
require 'cybersource_rest_client/models/inline_response_200_4_response_record'
|
209
|
+
require 'cybersource_rest_client/models/inline_response_200_4_response_record_additional_updates'
|
210
|
+
require 'cybersource_rest_client/models/inline_response_200_4_source_record'
|
215
211
|
require 'cybersource_rest_client/models/inline_response_200__embedded'
|
216
212
|
require 'cybersource_rest_client/models/inline_response_200__embedded_capture'
|
217
213
|
require 'cybersource_rest_client/models/inline_response_200__embedded_capture__links'
|
@@ -244,6 +240,8 @@ require 'cybersource_rest_client/models/inline_response_201_3_key_information'
|
|
244
240
|
require 'cybersource_rest_client/models/inline_response_201_3_key_information_error_information'
|
245
241
|
require 'cybersource_rest_client/models/inline_response_201_3_key_information_error_information_details'
|
246
242
|
require 'cybersource_rest_client/models/inline_response_201_4'
|
243
|
+
require 'cybersource_rest_client/models/inline_response_201_4_payloads'
|
244
|
+
require 'cybersource_rest_client/models/inline_response_201_4_payloads_test_payload'
|
247
245
|
require 'cybersource_rest_client/models/inline_response_201_5'
|
248
246
|
require 'cybersource_rest_client/models/inline_response_202'
|
249
247
|
require 'cybersource_rest_client/models/inline_response_202__links'
|
@@ -269,8 +267,6 @@ require 'cybersource_rest_client/models/inline_response_403_1'
|
|
269
267
|
require 'cybersource_rest_client/models/inline_response_403_errors'
|
270
268
|
require 'cybersource_rest_client/models/inline_response_404'
|
271
269
|
require 'cybersource_rest_client/models/inline_response_404_1'
|
272
|
-
require 'cybersource_rest_client/models/inline_response_404_2'
|
273
|
-
require 'cybersource_rest_client/models/inline_response_404_2_details'
|
274
270
|
require 'cybersource_rest_client/models/inline_response_409'
|
275
271
|
require 'cybersource_rest_client/models/inline_response_409_errors'
|
276
272
|
require 'cybersource_rest_client/models/inline_response_410'
|
@@ -333,21 +329,12 @@ require 'cybersource_rest_client/models/merchant_initiated_transaction_object'
|
|
333
329
|
require 'cybersource_rest_client/models/microformv2sessions_transient_token_response_options'
|
334
330
|
require 'cybersource_rest_client/models/mit_reversal_request'
|
335
331
|
require 'cybersource_rest_client/models/mit_void_request'
|
332
|
+
require 'cybersource_rest_client/models/model_400_upload_batch_file_response'
|
336
333
|
require 'cybersource_rest_client/models/modify_billing_agreement'
|
337
334
|
require 'cybersource_rest_client/models/network_token_enrollment'
|
338
335
|
require 'cybersource_rest_client/models/network_token_services_enablement'
|
339
336
|
require 'cybersource_rest_client/models/network_token_services_enablement_mastercard_digital_enablement_service'
|
340
337
|
require 'cybersource_rest_client/models/network_token_services_enablement_visa_token_service'
|
341
|
-
require 'cybersource_rest_client/models/notificationsubscriptionsv1productsorganization_id_event_types'
|
342
|
-
require 'cybersource_rest_client/models/notificationsubscriptionsv1webhooks_notification_scope'
|
343
|
-
require 'cybersource_rest_client/models/notificationsubscriptionsv1webhooks_products'
|
344
|
-
require 'cybersource_rest_client/models/notificationsubscriptionsv1webhooks_retry_policy'
|
345
|
-
require 'cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy'
|
346
|
-
require 'cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1'
|
347
|
-
require 'cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config'
|
348
|
-
require 'cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config_additional_config'
|
349
|
-
require 'cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_config'
|
350
|
-
require 'cybersource_rest_client/models/nrtfv1webhookswebhook_idreplays_by_delivery_status'
|
351
338
|
require 'cybersource_rest_client/models/oct_create_payment_request'
|
352
339
|
require 'cybersource_rest_client/models/order_payment_request'
|
353
340
|
require 'cybersource_rest_client/models/patch_customer_payment_instrument_request'
|
@@ -506,12 +493,17 @@ require 'cybersource_rest_client/models/pts_v2_payments_order_post201_response_p
|
|
506
493
|
require 'cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information_seller_protection'
|
507
494
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response'
|
508
495
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1'
|
496
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_error_information'
|
497
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_error_information_details'
|
498
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_issuer_information'
|
509
499
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information'
|
500
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_amount_details'
|
510
501
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to'
|
511
502
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to'
|
512
503
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information'
|
513
504
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_bank'
|
514
505
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_bank_account'
|
506
|
+
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_e_wallet'
|
515
507
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type'
|
516
508
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type_method'
|
517
509
|
require 'cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information'
|
@@ -979,7 +971,6 @@ require 'cybersource_rest_client/models/rbsv1subscriptionsid_subscription_inform
|
|
979
971
|
require 'cybersource_rest_client/models/refresh_payment_status_request'
|
980
972
|
require 'cybersource_rest_client/models/refund_capture_request'
|
981
973
|
require 'cybersource_rest_client/models/refund_payment_request'
|
982
|
-
require 'cybersource_rest_client/models/replay_webhooks_request'
|
983
974
|
require 'cybersource_rest_client/models/reporting_v3_chargeback_details_get200_response'
|
984
975
|
require 'cybersource_rest_client/models/reporting_v3_chargeback_details_get200_response_chargeback_details'
|
985
976
|
require 'cybersource_rest_client/models/reporting_v3_chargeback_summaries_get200_response'
|
@@ -1353,7 +1344,6 @@ require 'cybersource_rest_client/models/update_plan_response'
|
|
1353
1344
|
require 'cybersource_rest_client/models/update_plan_response_plan_information'
|
1354
1345
|
require 'cybersource_rest_client/models/update_subscription'
|
1355
1346
|
require 'cybersource_rest_client/models/update_subscription_response'
|
1356
|
-
require 'cybersource_rest_client/models/update_webhook_request'
|
1357
1347
|
require 'cybersource_rest_client/models/upv1capturecontexts_capture_mandate'
|
1358
1348
|
require 'cybersource_rest_client/models/upv1capturecontexts_order_information'
|
1359
1349
|
require 'cybersource_rest_client/models/upv1capturecontexts_order_information_amount_details'
|
@@ -1448,7 +1438,6 @@ require 'cybersource_rest_client/api/plans_api'
|
|
1448
1438
|
require 'cybersource_rest_client/api/purchase_and_refund_details_api'
|
1449
1439
|
require 'cybersource_rest_client/api/push_funds_api'
|
1450
1440
|
require 'cybersource_rest_client/api/refund_api'
|
1451
|
-
require 'cybersource_rest_client/api/replay_webhooks_api'
|
1452
1441
|
require 'cybersource_rest_client/api/report_definitions_api'
|
1453
1442
|
require 'cybersource_rest_client/api/report_downloads_api'
|
1454
1443
|
require 'cybersource_rest_client/api/report_subscriptions_api'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cybersource_rest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.71
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberSource
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -349,7 +349,6 @@ files:
|
|
349
349
|
- lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb
|
350
350
|
- lib/cybersource_rest_client/api/push_funds_api.rb
|
351
351
|
- lib/cybersource_rest_client/api/refund_api.rb
|
352
|
-
- lib/cybersource_rest_client/api/replay_webhooks_api.rb
|
353
352
|
- lib/cybersource_rest_client/api/report_definitions_api.rb
|
354
353
|
- lib/cybersource_rest_client/api/report_downloads_api.rb
|
355
354
|
- lib/cybersource_rest_client/api/report_subscriptions_api.rb
|
@@ -461,7 +460,6 @@ files:
|
|
461
460
|
- lib/cybersource_rest_client/models/create_subscription_response.rb
|
462
461
|
- lib/cybersource_rest_client/models/create_subscription_response__links.rb
|
463
462
|
- lib/cybersource_rest_client/models/create_subscription_response_subscription_information.rb
|
464
|
-
- lib/cybersource_rest_client/models/create_webhook_request.rb
|
465
463
|
- lib/cybersource_rest_client/models/delete_plan_response.rb
|
466
464
|
- lib/cybersource_rest_client/models/dm_config.rb
|
467
465
|
- lib/cybersource_rest_client/models/dm_config_organization.rb
|
@@ -532,24 +530,21 @@ files:
|
|
532
530
|
- lib/cybersource_rest_client/models/inline_response_200_1_integration_information.rb
|
533
531
|
- lib/cybersource_rest_client/models/inline_response_200_1_integration_information_tenant_configurations.rb
|
534
532
|
- lib/cybersource_rest_client/models/inline_response_200_2.rb
|
533
|
+
- lib/cybersource_rest_client/models/inline_response_200_2__embedded.rb
|
534
|
+
- lib/cybersource_rest_client/models/inline_response_200_2__embedded__links.rb
|
535
|
+
- lib/cybersource_rest_client/models/inline_response_200_2__embedded__links_reports.rb
|
536
|
+
- lib/cybersource_rest_client/models/inline_response_200_2__embedded_batches.rb
|
537
|
+
- lib/cybersource_rest_client/models/inline_response_200_2__embedded_totals.rb
|
538
|
+
- lib/cybersource_rest_client/models/inline_response_200_2__links.rb
|
535
539
|
- lib/cybersource_rest_client/models/inline_response_200_3.rb
|
540
|
+
- lib/cybersource_rest_client/models/inline_response_200_3__links.rb
|
541
|
+
- lib/cybersource_rest_client/models/inline_response_200_3__links_report.rb
|
542
|
+
- lib/cybersource_rest_client/models/inline_response_200_3_billing.rb
|
536
543
|
- lib/cybersource_rest_client/models/inline_response_200_4.rb
|
537
|
-
- lib/cybersource_rest_client/models/
|
538
|
-
- lib/cybersource_rest_client/models/
|
539
|
-
- lib/cybersource_rest_client/models/
|
540
|
-
- lib/cybersource_rest_client/models/
|
541
|
-
- lib/cybersource_rest_client/models/inline_response_200_5__embedded_batches.rb
|
542
|
-
- lib/cybersource_rest_client/models/inline_response_200_5__embedded_totals.rb
|
543
|
-
- lib/cybersource_rest_client/models/inline_response_200_5__links.rb
|
544
|
-
- lib/cybersource_rest_client/models/inline_response_200_6.rb
|
545
|
-
- lib/cybersource_rest_client/models/inline_response_200_6__links.rb
|
546
|
-
- lib/cybersource_rest_client/models/inline_response_200_6__links_report.rb
|
547
|
-
- lib/cybersource_rest_client/models/inline_response_200_6_billing.rb
|
548
|
-
- lib/cybersource_rest_client/models/inline_response_200_7.rb
|
549
|
-
- lib/cybersource_rest_client/models/inline_response_200_7_records.rb
|
550
|
-
- lib/cybersource_rest_client/models/inline_response_200_7_response_record.rb
|
551
|
-
- lib/cybersource_rest_client/models/inline_response_200_7_response_record_additional_updates.rb
|
552
|
-
- lib/cybersource_rest_client/models/inline_response_200_7_source_record.rb
|
544
|
+
- lib/cybersource_rest_client/models/inline_response_200_4_records.rb
|
545
|
+
- lib/cybersource_rest_client/models/inline_response_200_4_response_record.rb
|
546
|
+
- lib/cybersource_rest_client/models/inline_response_200_4_response_record_additional_updates.rb
|
547
|
+
- lib/cybersource_rest_client/models/inline_response_200_4_source_record.rb
|
553
548
|
- lib/cybersource_rest_client/models/inline_response_200__embedded.rb
|
554
549
|
- lib/cybersource_rest_client/models/inline_response_200__embedded_capture.rb
|
555
550
|
- lib/cybersource_rest_client/models/inline_response_200__embedded_capture__links.rb
|
@@ -582,6 +577,8 @@ files:
|
|
582
577
|
- lib/cybersource_rest_client/models/inline_response_201_3_key_information_error_information.rb
|
583
578
|
- lib/cybersource_rest_client/models/inline_response_201_3_key_information_error_information_details.rb
|
584
579
|
- lib/cybersource_rest_client/models/inline_response_201_4.rb
|
580
|
+
- lib/cybersource_rest_client/models/inline_response_201_4_payloads.rb
|
581
|
+
- lib/cybersource_rest_client/models/inline_response_201_4_payloads_test_payload.rb
|
585
582
|
- lib/cybersource_rest_client/models/inline_response_201_5.rb
|
586
583
|
- lib/cybersource_rest_client/models/inline_response_202.rb
|
587
584
|
- lib/cybersource_rest_client/models/inline_response_202__links.rb
|
@@ -607,8 +604,6 @@ files:
|
|
607
604
|
- lib/cybersource_rest_client/models/inline_response_403_errors.rb
|
608
605
|
- lib/cybersource_rest_client/models/inline_response_404.rb
|
609
606
|
- lib/cybersource_rest_client/models/inline_response_404_1.rb
|
610
|
-
- lib/cybersource_rest_client/models/inline_response_404_2.rb
|
611
|
-
- lib/cybersource_rest_client/models/inline_response_404_2_details.rb
|
612
607
|
- lib/cybersource_rest_client/models/inline_response_409.rb
|
613
608
|
- lib/cybersource_rest_client/models/inline_response_409_errors.rb
|
614
609
|
- lib/cybersource_rest_client/models/inline_response_410.rb
|
@@ -671,21 +666,12 @@ files:
|
|
671
666
|
- lib/cybersource_rest_client/models/microformv2sessions_transient_token_response_options.rb
|
672
667
|
- lib/cybersource_rest_client/models/mit_reversal_request.rb
|
673
668
|
- lib/cybersource_rest_client/models/mit_void_request.rb
|
669
|
+
- lib/cybersource_rest_client/models/model_400_upload_batch_file_response.rb
|
674
670
|
- lib/cybersource_rest_client/models/modify_billing_agreement.rb
|
675
671
|
- lib/cybersource_rest_client/models/network_token_enrollment.rb
|
676
672
|
- lib/cybersource_rest_client/models/network_token_services_enablement.rb
|
677
673
|
- lib/cybersource_rest_client/models/network_token_services_enablement_mastercard_digital_enablement_service.rb
|
678
674
|
- lib/cybersource_rest_client/models/network_token_services_enablement_visa_token_service.rb
|
679
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv1productsorganization_id_event_types.rb
|
680
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_notification_scope.rb
|
681
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_products.rb
|
682
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_retry_policy.rb
|
683
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy.rb
|
684
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1.rb
|
685
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config.rb
|
686
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_1_config_additional_config.rb
|
687
|
-
- lib/cybersource_rest_client/models/notificationsubscriptionsv1webhooks_security_policy_config.rb
|
688
|
-
- lib/cybersource_rest_client/models/nrtfv1webhookswebhook_idreplays_by_delivery_status.rb
|
689
675
|
- lib/cybersource_rest_client/models/oct_create_payment_request.rb
|
690
676
|
- lib/cybersource_rest_client/models/order_payment_request.rb
|
691
677
|
- lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb
|
@@ -844,12 +830,17 @@ files:
|
|
844
830
|
- lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information_seller_protection.rb
|
845
831
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb
|
846
832
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1.rb
|
833
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_error_information.rb
|
834
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_error_information_details.rb
|
835
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_issuer_information.rb
|
847
836
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information.rb
|
837
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_amount_details.rb
|
848
838
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb
|
849
839
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb
|
850
840
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information.rb
|
851
841
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_bank.rb
|
852
842
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_bank_account.rb
|
843
|
+
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_e_wallet.rb
|
853
844
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type.rb
|
854
845
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb
|
855
846
|
- lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb
|
@@ -1317,7 +1308,6 @@ files:
|
|
1317
1308
|
- lib/cybersource_rest_client/models/refresh_payment_status_request.rb
|
1318
1309
|
- lib/cybersource_rest_client/models/refund_capture_request.rb
|
1319
1310
|
- lib/cybersource_rest_client/models/refund_payment_request.rb
|
1320
|
-
- lib/cybersource_rest_client/models/replay_webhooks_request.rb
|
1321
1311
|
- lib/cybersource_rest_client/models/reporting_get200_response_interchange_clearing_level_details.rb
|
1322
1312
|
- lib/cybersource_rest_client/models/reporting_v3_chargeback_details_get200_response.rb
|
1323
1313
|
- lib/cybersource_rest_client/models/reporting_v3_chargeback_details_get200_response_chargeback_details.rb
|
@@ -1693,7 +1683,6 @@ files:
|
|
1693
1683
|
- lib/cybersource_rest_client/models/update_plan_response_plan_information.rb
|
1694
1684
|
- lib/cybersource_rest_client/models/update_subscription.rb
|
1695
1685
|
- lib/cybersource_rest_client/models/update_subscription_response.rb
|
1696
|
-
- lib/cybersource_rest_client/models/update_webhook_request.rb
|
1697
1686
|
- lib/cybersource_rest_client/models/upv1capturecontexts_capture_mandate.rb
|
1698
1687
|
- lib/cybersource_rest_client/models/upv1capturecontexts_order_information.rb
|
1699
1688
|
- lib/cybersource_rest_client/models/upv1capturecontexts_order_information_amount_details.rb
|
@@ -1,98 +0,0 @@
|
|
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.4.38
|
10
|
-
=end
|
11
|
-
|
12
|
-
require 'uri'
|
13
|
-
require 'AuthenticationSDK/util/MLEUtility'
|
14
|
-
module CyberSource
|
15
|
-
class ReplayWebhooksApi
|
16
|
-
attr_accessor :api_client
|
17
|
-
|
18
|
-
def initialize(api_client = ApiClient.default, config)
|
19
|
-
@api_client = api_client
|
20
|
-
@api_client.set_configuration(config)
|
21
|
-
end
|
22
|
-
# Replay Previous Webhooks
|
23
|
-
# Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay.
|
24
|
-
#
|
25
|
-
# @param webhook_id The webhook uuid identifier.
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [ReplayWebhooksRequest] :replay_webhooks_request The request query
|
28
|
-
# @return [nil]
|
29
|
-
#
|
30
|
-
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
31
|
-
def replay_previous_webhooks(webhook_id, opts = {})
|
32
|
-
data, status_code, headers = replay_previous_webhooks_with_http_info(webhook_id, opts)
|
33
|
-
return data, status_code, headers
|
34
|
-
end
|
35
|
-
|
36
|
-
# Replay Previous Webhooks
|
37
|
-
# Initiate a webhook replay request to replay transactions that happened in the past. Cannot execute more than 1 replay request at a time. While one request is processing, you will not be allowed to execute another replay. The difference between Start and End time cannot exceed a 24 hour window, and 1 month is the farthest date back that is eligible for replay.
|
38
|
-
# @param webhook_id The webhook uuid identifier.
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [ReplayWebhooksRequest] :replay_webhooks_request The request query
|
41
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
42
|
-
def replay_previous_webhooks_with_http_info(webhook_id, opts = {})
|
43
|
-
|
44
|
-
if @api_client.config.debugging
|
45
|
-
begin
|
46
|
-
raise
|
47
|
-
@api_client.config.logger.debug 'Calling API: ReplayWebhooksApi.replay_previous_webhooks ...'
|
48
|
-
rescue
|
49
|
-
puts 'Cannot write to log'
|
50
|
-
end
|
51
|
-
end
|
52
|
-
# verify the required parameter 'webhook_id' is set
|
53
|
-
if @api_client.config.client_side_validation && webhook_id.nil?
|
54
|
-
fail ArgumentError, "Missing the required parameter 'webhook_id' when calling ReplayWebhooksApi.replay_previous_webhooks"
|
55
|
-
end
|
56
|
-
# resource path
|
57
|
-
local_var_path = 'nrtf/v1/webhooks/{webhookId}/replays'.sub('{' + 'webhookId' + '}', webhook_id.to_s)
|
58
|
-
|
59
|
-
# query parameters
|
60
|
-
query_params = {}
|
61
|
-
|
62
|
-
# header parameters
|
63
|
-
header_params = {}
|
64
|
-
# HTTP header 'Accept' (if needed)
|
65
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
66
|
-
# HTTP header 'Content-Type'
|
67
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
68
|
-
|
69
|
-
# form parameters
|
70
|
-
form_params = {}
|
71
|
-
|
72
|
-
# http body (model)
|
73
|
-
post_body = @api_client.object_to_http_body(opts[:'replay_webhooks_request'])
|
74
|
-
sdk_tracker = SdkTracker.new
|
75
|
-
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'ReplayWebhooksRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
76
|
-
is_mle_supported_by_cybs_for_api = false
|
77
|
-
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, is_mle_supported_by_cybs_for_api, ["replay_previous_webhooks","replay_previous_webhooks_with_http_info"])
|
78
|
-
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
79
|
-
end
|
80
|
-
auth_names = []
|
81
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
82
|
-
:header_params => header_params,
|
83
|
-
:query_params => query_params,
|
84
|
-
:form_params => form_params,
|
85
|
-
:body => post_body,
|
86
|
-
:auth_names => auth_names)
|
87
|
-
if @api_client.config.debugging
|
88
|
-
begin
|
89
|
-
raise
|
90
|
-
@api_client.config.logger.debug "API called: ReplayWebhooksApi#replay_previous_webhooks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
91
|
-
rescue
|
92
|
-
puts 'Cannot write to log'
|
93
|
-
end
|
94
|
-
end
|
95
|
-
return data, status_code, headers
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|