cybersource_rest_client 0.0.87 → 0.0.88
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/acp_checkout_api.rb +553 -0
- data/lib/cybersource_rest_client/api/agent_registration_api.rb +721 -0
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +0 -1
- data/lib/cybersource_rest_client/api/enrollment_api.rb +104 -0
- data/lib/cybersource_rest_client/api/{merchant_capabilities_api.rb → merchant_registration_api.rb} +47 -391
- data/lib/cybersource_rest_client/api/payment_events_api.rb +197 -0
- data/lib/cybersource_rest_client/api/product_feed_api.rb +365 -0
- data/lib/cybersource_rest_client/api/purchase_intent_api.rb +278 -0
- data/lib/cybersource_rest_client/api/ucp_checkout_api.rb +453 -0
- data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +1 -1
- data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +11 -11
- data/lib/cybersource_rest_client/models/agent_registration_response201.rb +13 -15
- data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +8 -8
- data/lib/cybersource_rest_client/models/agent_request.rb +9 -11
- data/lib/cybersource_rest_client/models/agent_update.rb +7 -9
- data/lib/cybersource_rest_client/models/auth_reversal_request.rb +1 -1
- data/lib/cybersource_rest_client/models/boarding_payouts_configurations.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_200_19_google_merchant_products.rb → boarding_payouts_configurations_acquirer.rb} +33 -76
- data/lib/cybersource_rest_client/models/{inline_response_200_19_errors.rb → boarding_payouts_configurations_merchant_descriptor.rb} +25 -33
- data/lib/cybersource_rest_client/models/boarding_payouts_configurations_processors.rb +581 -0
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_order_request.rb +11 -1
- data/lib/cybersource_rest_client/models/create_payment_request.rb +14 -1
- data/lib/cybersource_rest_client/models/create_session_req.rb +14 -1
- data/lib/cybersource_rest_client/models/create_session_request.rb +14 -1
- data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +4 -4
- data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +2 -2
- data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +6 -6
- data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +1 -1
- data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_17.rb +55 -0
- data/lib/cybersource_rest_client/models/inline_response_200_18.rb +40 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19.rb +30 -107
- data/lib/cybersource_rest_client/models/inline_response_200_19_processing.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_200_19_syndication.rb +224 -0
- data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +80 -682
- data/lib/cybersource_rest_client/models/inline_response_201_12.rb +40 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_fulfillment_options.rb +30 -0
- data/lib/cybersource_rest_client/models/inline_response_201_12_totals.rb +15 -0
- data/lib/cybersource_rest_client/models/inline_response_201_6_setups_risk.rb +15 -5
- data/lib/cybersource_rest_client/models/inline_response_201_6_setups_value_added_services.rb +15 -5
- data/lib/cybersource_rest_client/models/{deactivate_merchant_key_response200.rb → inline_response_202_1.rb} +11 -16
- data/lib/cybersource_rest_client/models/key_request.rb +4 -4
- data/lib/cybersource_rest_client/models/key_request_1.rb +5 -5
- data/lib/cybersource_rest_client/models/key_update.rb +5 -5
- data/lib/cybersource_rest_client/models/key_update_1.rb +5 -5
- data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +2 -2
- data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +10 -10
- data/lib/cybersource_rest_client/models/merchant_registration_response201_api_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +1 -1
- data/lib/cybersource_rest_client/models/merchant_registration_response201_web_integrations.rb +225 -0
- data/lib/cybersource_rest_client/models/merchant_request.rb +7 -7
- data/lib/cybersource_rest_client/models/merchant_update.rb +7 -7
- data/lib/cybersource_rest_client/models/mit_reversal_request.rb +1 -1
- data/lib/cybersource_rest_client/models/mit_void_request.rb +15 -5
- data/lib/cybersource_rest_client/models/payments_configuration_setup.rb +11 -1
- data/lib/cybersource_rest_client/models/payments_products.rb +11 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +12 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1.rb +12 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information.rb +44 -1
- data/lib/cybersource_rest_client/models/{pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb → pts_v2_payments_post201_response_1_order_information_merchant_descriptor.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +18 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +101 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_ship_to.rb +12 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidreversals_point_of_sale_information.rb → pts_v2_payments_reversals_post201_response_point_of_sale_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidreversals_point_of_sale_information_emv.rb → pts_v2_payments_reversals_post201_response_point_of_sale_information_emv.rb} +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +22 -5
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_buyer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ptsv2intents_merchant_information_merchant_descriptor.rb +18 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_bill_to.rb +154 -1
- data/lib/cybersource_rest_client/models/ptsv2intents_order_information_line_items.rb +16 -5
- data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information_merchant_descriptor.rb +207 -0
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidcaptures_point_of_sale_information.rb → ptsv2payments_buyer.rb} +55 -31
- data/lib/cybersource_rest_client/models/{inline_response_200_19_google_merchant.rb → ptsv2payments_order_history.rb} +42 -41
- data/lib/cybersource_rest_client/models/ptsv2payments_ship_to.rb +281 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{ptsv2paymentsidcaptures_point_of_sale_information_emv.rb → ptsv2paymentsidrefunds_point_of_sale_information_emv.rb} +1 -1
- data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_balance_before.rb +2 -2
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +3 -3
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +2 -2
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +3 -3
- data/lib/cybersource_rest_client/models/value_added_services_products.rb +15 -5
- data/lib/cybersource_rest_client/models/void_capture_request.rb +15 -5
- data/lib/cybersource_rest_client/models/void_credit_request.rb +15 -5
- data/lib/cybersource_rest_client/models/void_payment_request.rb +15 -5
- data/lib/cybersource_rest_client/models/void_refund_request.rb +15 -5
- data/lib/cybersource_rest_client.rb +25 -11
- metadata +27 -13
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +0 -2279
|
@@ -23,6 +23,9 @@ module CyberSource
|
|
|
23
23
|
|
|
24
24
|
attr_accessor :order_information
|
|
25
25
|
|
|
26
|
+
# Array of the buyer's previous orders.
|
|
27
|
+
attr_accessor :order_history
|
|
28
|
+
|
|
26
29
|
attr_accessor :buyer_information
|
|
27
30
|
|
|
28
31
|
attr_accessor :sender_information
|
|
@@ -80,6 +83,7 @@ module CyberSource
|
|
|
80
83
|
:'issuer_information' => :'issuerInformation',
|
|
81
84
|
:'payment_information' => :'paymentInformation',
|
|
82
85
|
:'order_information' => :'orderInformation',
|
|
86
|
+
:'order_history' => :'orderHistory',
|
|
83
87
|
:'buyer_information' => :'buyerInformation',
|
|
84
88
|
:'sender_information' => :'senderInformation',
|
|
85
89
|
:'recipient_information' => :'recipientInformation',
|
|
@@ -115,6 +119,7 @@ module CyberSource
|
|
|
115
119
|
:'issuer_information' => :'issuer_information',
|
|
116
120
|
:'payment_information' => :'payment_information',
|
|
117
121
|
:'order_information' => :'order_information',
|
|
122
|
+
:'order_history' => :'order_history',
|
|
118
123
|
:'buyer_information' => :'buyer_information',
|
|
119
124
|
:'sender_information' => :'sender_information',
|
|
120
125
|
:'recipient_information' => :'recipient_information',
|
|
@@ -150,6 +155,7 @@ module CyberSource
|
|
|
150
155
|
:'issuer_information' => :'Ptsv2paymentsIssuerInformation',
|
|
151
156
|
:'payment_information' => :'Ptsv2paymentsPaymentInformation',
|
|
152
157
|
:'order_information' => :'Ptsv2paymentsOrderInformation',
|
|
158
|
+
:'order_history' => :'Array<Ptsv2paymentsOrderHistory>',
|
|
153
159
|
:'buyer_information' => :'Ptsv2paymentsBuyerInformation',
|
|
154
160
|
:'sender_information' => :'Ptsv2paymentsSenderInformation',
|
|
155
161
|
:'recipient_information' => :'Ptsv2paymentsRecipientInformation',
|
|
@@ -205,6 +211,12 @@ module CyberSource
|
|
|
205
211
|
self.order_information = attributes[:'orderInformation']
|
|
206
212
|
end
|
|
207
213
|
|
|
214
|
+
if attributes.has_key?(:'orderHistory')
|
|
215
|
+
if (value = attributes[:'orderHistory']).is_a?(Array)
|
|
216
|
+
self.order_history = value
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
208
220
|
if attributes.has_key?(:'buyerInformation')
|
|
209
221
|
self.buyer_information = attributes[:'buyerInformation']
|
|
210
222
|
end
|
|
@@ -327,6 +339,7 @@ module CyberSource
|
|
|
327
339
|
issuer_information == o.issuer_information &&
|
|
328
340
|
payment_information == o.payment_information &&
|
|
329
341
|
order_information == o.order_information &&
|
|
342
|
+
order_history == o.order_history &&
|
|
330
343
|
buyer_information == o.buyer_information &&
|
|
331
344
|
sender_information == o.sender_information &&
|
|
332
345
|
recipient_information == o.recipient_information &&
|
|
@@ -362,7 +375,7 @@ module CyberSource
|
|
|
362
375
|
# Calculates hash code according to all attributes.
|
|
363
376
|
# @return [Fixnum] Hash code
|
|
364
377
|
def hash
|
|
365
|
-
[client_reference_information, processing_information, issuer_information, payment_information, order_information, buyer_information, sender_information, recipient_information, device_information, merchant_information, aggregator_information, consumer_authentication_information, point_of_sale_information, merchant_defined_information, merchant_defined_secure_information, installment_information, travel_information, health_care_information, promotion_information, token_information, invoice_details, processor_information, agreement_information, risk_information, acquirer_information, recurring_payment_information, unscheduled_payment_information, hosted_payment_information, watchlist_screening_information].hash
|
|
378
|
+
[client_reference_information, processing_information, issuer_information, payment_information, order_information, order_history, buyer_information, sender_information, recipient_information, device_information, merchant_information, aggregator_information, consumer_authentication_information, point_of_sale_information, merchant_defined_information, merchant_defined_secure_information, installment_information, travel_information, health_care_information, promotion_information, token_information, invoice_details, processor_information, agreement_information, risk_information, acquirer_information, recurring_payment_information, unscheduled_payment_information, hosted_payment_information, watchlist_screening_information].hash
|
|
366
379
|
end
|
|
367
380
|
|
|
368
381
|
# Builds the object from hash
|
|
@@ -21,6 +21,9 @@ module CyberSource
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :order_information
|
|
23
23
|
|
|
24
|
+
# Array of the buyer's previous orders.
|
|
25
|
+
attr_accessor :order_history
|
|
26
|
+
|
|
24
27
|
attr_accessor :buyer_information
|
|
25
28
|
|
|
26
29
|
attr_accessor :device_information
|
|
@@ -43,6 +46,7 @@ module CyberSource
|
|
|
43
46
|
:'processing_information' => :'processingInformation',
|
|
44
47
|
:'payment_information' => :'paymentInformation',
|
|
45
48
|
:'order_information' => :'orderInformation',
|
|
49
|
+
:'order_history' => :'orderHistory',
|
|
46
50
|
:'buyer_information' => :'buyerInformation',
|
|
47
51
|
:'device_information' => :'deviceInformation',
|
|
48
52
|
:'merchant_information' => :'merchantInformation',
|
|
@@ -60,6 +64,7 @@ module CyberSource
|
|
|
60
64
|
:'processing_information' => :'processing_information',
|
|
61
65
|
:'payment_information' => :'payment_information',
|
|
62
66
|
:'order_information' => :'order_information',
|
|
67
|
+
:'order_history' => :'order_history',
|
|
63
68
|
:'buyer_information' => :'buyer_information',
|
|
64
69
|
:'device_information' => :'device_information',
|
|
65
70
|
:'merchant_information' => :'merchant_information',
|
|
@@ -77,6 +82,7 @@ module CyberSource
|
|
|
77
82
|
:'processing_information' => :'Ptsv2paymentreferencesProcessingInformation',
|
|
78
83
|
:'payment_information' => :'Ptsv2paymentreferencesPaymentInformation',
|
|
79
84
|
:'order_information' => :'Ptsv2paymentreferencesOrderInformation',
|
|
85
|
+
:'order_history' => :'Array<Ptsv2paymentsOrderHistory>',
|
|
80
86
|
:'buyer_information' => :'Ptsv2paymentreferencesBuyerInformation',
|
|
81
87
|
:'device_information' => :'Ptsv2paymentreferencesDeviceInformation',
|
|
82
88
|
:'merchant_information' => :'Ptsv2paymentreferencesMerchantInformation',
|
|
@@ -111,6 +117,12 @@ module CyberSource
|
|
|
111
117
|
self.order_information = attributes[:'orderInformation']
|
|
112
118
|
end
|
|
113
119
|
|
|
120
|
+
if attributes.has_key?(:'orderHistory')
|
|
121
|
+
if (value = attributes[:'orderHistory']).is_a?(Array)
|
|
122
|
+
self.order_history = value
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
114
126
|
if attributes.has_key?(:'buyerInformation')
|
|
115
127
|
self.buyer_information = attributes[:'buyerInformation']
|
|
116
128
|
end
|
|
@@ -164,6 +176,7 @@ module CyberSource
|
|
|
164
176
|
processing_information == o.processing_information &&
|
|
165
177
|
payment_information == o.payment_information &&
|
|
166
178
|
order_information == o.order_information &&
|
|
179
|
+
order_history == o.order_history &&
|
|
167
180
|
buyer_information == o.buyer_information &&
|
|
168
181
|
device_information == o.device_information &&
|
|
169
182
|
merchant_information == o.merchant_information &&
|
|
@@ -182,7 +195,7 @@ module CyberSource
|
|
|
182
195
|
# Calculates hash code according to all attributes.
|
|
183
196
|
# @return [Fixnum] Hash code
|
|
184
197
|
def hash
|
|
185
|
-
[client_reference_information, processing_information, payment_information, order_information, buyer_information, device_information, merchant_information, user_interface, merchant_defined_information, agreement_information, travel_information].hash
|
|
198
|
+
[client_reference_information, processing_information, payment_information, order_information, order_history, buyer_information, device_information, merchant_information, user_interface, merchant_defined_information, agreement_information, travel_information].hash
|
|
186
199
|
end
|
|
187
200
|
|
|
188
201
|
# Builds the object from hash
|
|
@@ -21,6 +21,9 @@ module CyberSource
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :order_information
|
|
23
23
|
|
|
24
|
+
# Array of the buyer's previous orders.
|
|
25
|
+
attr_accessor :order_history
|
|
26
|
+
|
|
24
27
|
attr_accessor :buyer_information
|
|
25
28
|
|
|
26
29
|
attr_accessor :device_information
|
|
@@ -43,6 +46,7 @@ module CyberSource
|
|
|
43
46
|
:'processing_information' => :'processingInformation',
|
|
44
47
|
:'payment_information' => :'paymentInformation',
|
|
45
48
|
:'order_information' => :'orderInformation',
|
|
49
|
+
:'order_history' => :'orderHistory',
|
|
46
50
|
:'buyer_information' => :'buyerInformation',
|
|
47
51
|
:'device_information' => :'deviceInformation',
|
|
48
52
|
:'merchant_information' => :'merchantInformation',
|
|
@@ -60,6 +64,7 @@ module CyberSource
|
|
|
60
64
|
:'processing_information' => :'processing_information',
|
|
61
65
|
:'payment_information' => :'payment_information',
|
|
62
66
|
:'order_information' => :'order_information',
|
|
67
|
+
:'order_history' => :'order_history',
|
|
63
68
|
:'buyer_information' => :'buyer_information',
|
|
64
69
|
:'device_information' => :'device_information',
|
|
65
70
|
:'merchant_information' => :'merchant_information',
|
|
@@ -77,6 +82,7 @@ module CyberSource
|
|
|
77
82
|
:'processing_information' => :'Ptsv2paymentreferencesProcessingInformation',
|
|
78
83
|
:'payment_information' => :'Ptsv2paymentreferencesPaymentInformation',
|
|
79
84
|
:'order_information' => :'Ptsv2paymentreferencesOrderInformation',
|
|
85
|
+
:'order_history' => :'Array<Ptsv2paymentsOrderHistory>',
|
|
80
86
|
:'buyer_information' => :'Ptsv2paymentreferencesBuyerInformation',
|
|
81
87
|
:'device_information' => :'Ptsv2paymentreferencesDeviceInformation',
|
|
82
88
|
:'merchant_information' => :'Ptsv2paymentreferencesMerchantInformation',
|
|
@@ -111,6 +117,12 @@ module CyberSource
|
|
|
111
117
|
self.order_information = attributes[:'orderInformation']
|
|
112
118
|
end
|
|
113
119
|
|
|
120
|
+
if attributes.has_key?(:'orderHistory')
|
|
121
|
+
if (value = attributes[:'orderHistory']).is_a?(Array)
|
|
122
|
+
self.order_history = value
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
114
126
|
if attributes.has_key?(:'buyerInformation')
|
|
115
127
|
self.buyer_information = attributes[:'buyerInformation']
|
|
116
128
|
end
|
|
@@ -164,6 +176,7 @@ module CyberSource
|
|
|
164
176
|
processing_information == o.processing_information &&
|
|
165
177
|
payment_information == o.payment_information &&
|
|
166
178
|
order_information == o.order_information &&
|
|
179
|
+
order_history == o.order_history &&
|
|
167
180
|
buyer_information == o.buyer_information &&
|
|
168
181
|
device_information == o.device_information &&
|
|
169
182
|
merchant_information == o.merchant_information &&
|
|
@@ -182,7 +195,7 @@ module CyberSource
|
|
|
182
195
|
# Calculates hash code according to all attributes.
|
|
183
196
|
# @return [Fixnum] Hash code
|
|
184
197
|
def hash
|
|
185
|
-
[client_reference_information, processing_information, payment_information, order_information, buyer_information, device_information, merchant_information, user_interface, merchant_defined_information, agreement_information, travel_information].hash
|
|
198
|
+
[client_reference_information, processing_information, payment_information, order_information, order_history, buyer_information, device_information, merchant_information, user_interface, merchant_defined_information, agreement_information, travel_information].hash
|
|
186
199
|
end
|
|
187
200
|
|
|
188
201
|
# Builds the object from hash
|
|
@@ -14,16 +14,16 @@ require 'date'
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
# Request object for uploading a new public key for an agent.
|
|
16
16
|
class Iccv1agentsKeys
|
|
17
|
-
# Unique
|
|
17
|
+
# Unique name for this key within the agent. Must be unique per agent.
|
|
18
18
|
attr_accessor :key_name
|
|
19
19
|
|
|
20
|
-
# Base64-encoded public key.
|
|
20
|
+
# Base64-encoded public key. Supported formats are PEM (PKCS#8 or PKCS#1) and JWK.
|
|
21
21
|
attr_accessor :public_key
|
|
22
22
|
|
|
23
|
-
#
|
|
23
|
+
# HTTP Signature signing algorithm (RFC 9421 §3.3 registry). Must match the key type and curve: - ***rsa-pss-sha256*** — RSA-PSS with SHA-256 - ***rsa-pss-sha512*** — RSA-PSS with SHA-512 - ***ecdsa-p256-sha256*** — ECDSA on P-256 curve with SHA-256 - ***ecdsa-p384-sha384*** — ECDSA on P-384 curve with SHA-384 - ***ed25519*** — EdDSA on Curve25519 Possible values: - rsa-pss-sha256 - rsa-pss-sha512 - ecdsa-p256-sha256 - ecdsa-p384-sha384 - ed25519
|
|
24
24
|
attr_accessor :algorithm
|
|
25
25
|
|
|
26
|
-
# Key expiration date in UTC
|
|
26
|
+
# Key expiration date-time in UTC. Defaults to 14 days from registration if omitted.
|
|
27
27
|
attr_accessor :expiration_date
|
|
28
28
|
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
# REST/GraphQL API integration configuration for
|
|
15
|
+
# REST/GraphQL API integration configuration for programmatic agent interactions.
|
|
16
16
|
class Iccv1merchantsApiIntegrations
|
|
17
17
|
# URL for integration specification
|
|
18
18
|
attr_accessor :integration_spec
|
|
@@ -46,7 +46,7 @@ module CyberSource
|
|
|
46
46
|
{
|
|
47
47
|
:'integration_spec' => :'String',
|
|
48
48
|
:'url' => :'String',
|
|
49
|
-
:'metadata' => :'Hash<String,
|
|
49
|
+
:'metadata' => :'Hash<String, Object>'
|
|
50
50
|
}
|
|
51
51
|
end
|
|
52
52
|
|
|
@@ -12,21 +12,21 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
#
|
|
15
|
+
# Public encryption key used to wrap payment credentials when `paymentPayloadType` is ***ENCRYPTED***. Not required for UNENCRYPTED delivery.
|
|
16
16
|
class Iccv1merchantsEncryptionKey
|
|
17
|
-
# Unique
|
|
17
|
+
# Unique name for this encryption key within the merchant.
|
|
18
18
|
attr_accessor :key_name
|
|
19
19
|
|
|
20
|
-
# Base64-encoded public key
|
|
20
|
+
# Base64-encoded public key used for JWE key wrapping. Supported formats are PEM (PKCS#8 or PKCS#1) and JWK.
|
|
21
21
|
attr_accessor :encryption_key
|
|
22
22
|
|
|
23
|
-
# JWE key wrap algorithm Possible values: - RSA-OAEP - RSA-OAEP-256 - RSA-OAEP-384 - RSA-OAEP-512
|
|
23
|
+
# JWE key wrap algorithm used to encrypt the content encryption key: - ***RSA-OAEP*** — RSA-OAEP with SHA-1 - ***RSA-OAEP-256*** — RSA-OAEP with SHA-256 - ***RSA-OAEP-384*** — RSA-OAEP with SHA-384 - ***RSA-OAEP-512*** — RSA-OAEP with SHA-512 Possible values: - RSA-OAEP - RSA-OAEP-256 - RSA-OAEP-384 - RSA-OAEP-512
|
|
24
24
|
attr_accessor :algorithm
|
|
25
25
|
|
|
26
|
-
# JWE content encryption algorithm
|
|
26
|
+
# JWE content encryption algorithm used to encrypt the payment payload. Defaults to ***A256GCM*** if not provided. Possible values: - A256GCM - A128GCM - C20P - A256CBC_HS512 - A128CBC_HS256 - A256CCM - A128CCM
|
|
27
27
|
attr_accessor :encryption_type
|
|
28
28
|
|
|
29
|
-
# Key expiration date in UTC
|
|
29
|
+
# Key expiration date-time in UTC. Defaults to 14 days from registration if omitted.
|
|
30
30
|
attr_accessor :expiration_date
|
|
31
31
|
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
# Web-based integration configuration for
|
|
15
|
+
# Web-based checkout integration configuration for browser or app-based agent interactions.
|
|
16
16
|
class Iccv1merchantsWebIntegrations
|
|
17
17
|
# URL for integration specification
|
|
18
18
|
attr_accessor :integration_spec
|
|
@@ -46,7 +46,7 @@ module CyberSource
|
|
|
46
46
|
{
|
|
47
47
|
:'integration_spec' => :'String',
|
|
48
48
|
:'url' => :'String',
|
|
49
|
-
:'metadata' => :'Hash<String,
|
|
49
|
+
:'metadata' => :'Hash<String, Object>'
|
|
50
50
|
}
|
|
51
51
|
end
|
|
52
52
|
|
|
@@ -170,12 +170,67 @@ module CyberSource
|
|
|
170
170
|
# @return Array for valid properties with the reasons
|
|
171
171
|
def list_invalid_properties
|
|
172
172
|
invalid_properties = Array.new
|
|
173
|
+
if @id.nil?
|
|
174
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
if @status.nil?
|
|
178
|
+
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
if @currency.nil?
|
|
182
|
+
invalid_properties.push('invalid value for "currency", currency cannot be nil.')
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
if @buyer.nil?
|
|
186
|
+
invalid_properties.push('invalid value for "buyer", buyer cannot be nil.')
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
if @line_items.nil?
|
|
190
|
+
invalid_properties.push('invalid value for "line_items", line_items cannot be nil.')
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
if @fulfillment_options.nil?
|
|
194
|
+
invalid_properties.push('invalid value for "fulfillment_options", fulfillment_options cannot be nil.')
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
if @fulfillment_option_id.nil?
|
|
198
|
+
invalid_properties.push('invalid value for "fulfillment_option_id", fulfillment_option_id cannot be nil.')
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
if @totals.nil?
|
|
202
|
+
invalid_properties.push('invalid value for "totals", totals cannot be nil.')
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
if @order.nil?
|
|
206
|
+
invalid_properties.push('invalid value for "order", order cannot be nil.')
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
if @messages.nil?
|
|
210
|
+
invalid_properties.push('invalid value for "messages", messages cannot be nil.')
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
if @links.nil?
|
|
214
|
+
invalid_properties.push('invalid value for "links", links cannot be nil.')
|
|
215
|
+
end
|
|
216
|
+
|
|
173
217
|
invalid_properties
|
|
174
218
|
end
|
|
175
219
|
|
|
176
220
|
# Check to see if the all the properties in the model are valid
|
|
177
221
|
# @return true if the model is valid
|
|
178
222
|
def valid?
|
|
223
|
+
return false if @id.nil?
|
|
224
|
+
return false if @status.nil?
|
|
225
|
+
return false if @currency.nil?
|
|
226
|
+
return false if @buyer.nil?
|
|
227
|
+
return false if @line_items.nil?
|
|
228
|
+
return false if @fulfillment_options.nil?
|
|
229
|
+
return false if @fulfillment_option_id.nil?
|
|
230
|
+
return false if @totals.nil?
|
|
231
|
+
return false if @order.nil?
|
|
232
|
+
return false if @messages.nil?
|
|
233
|
+
return false if @links.nil?
|
|
179
234
|
true
|
|
180
235
|
end
|
|
181
236
|
|
|
@@ -162,12 +162,52 @@ module CyberSource
|
|
|
162
162
|
# @return Array for valid properties with the reasons
|
|
163
163
|
def list_invalid_properties
|
|
164
164
|
invalid_properties = Array.new
|
|
165
|
+
if @id.nil?
|
|
166
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
if @status.nil?
|
|
170
|
+
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
if @currency.nil?
|
|
174
|
+
invalid_properties.push('invalid value for "currency", currency cannot be nil.')
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
if @line_items.nil?
|
|
178
|
+
invalid_properties.push('invalid value for "line_items", line_items cannot be nil.')
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
if @fulfillment_options.nil?
|
|
182
|
+
invalid_properties.push('invalid value for "fulfillment_options", fulfillment_options cannot be nil.')
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
if @totals.nil?
|
|
186
|
+
invalid_properties.push('invalid value for "totals", totals cannot be nil.')
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
if @messages.nil?
|
|
190
|
+
invalid_properties.push('invalid value for "messages", messages cannot be nil.')
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
if @links.nil?
|
|
194
|
+
invalid_properties.push('invalid value for "links", links cannot be nil.')
|
|
195
|
+
end
|
|
196
|
+
|
|
165
197
|
invalid_properties
|
|
166
198
|
end
|
|
167
199
|
|
|
168
200
|
# Check to see if the all the properties in the model are valid
|
|
169
201
|
# @return true if the model is valid
|
|
170
202
|
def valid?
|
|
203
|
+
return false if @id.nil?
|
|
204
|
+
return false if @status.nil?
|
|
205
|
+
return false if @currency.nil?
|
|
206
|
+
return false if @line_items.nil?
|
|
207
|
+
return false if @fulfillment_options.nil?
|
|
208
|
+
return false if @totals.nil?
|
|
209
|
+
return false if @messages.nil?
|
|
210
|
+
return false if @links.nil?
|
|
171
211
|
true
|
|
172
212
|
end
|
|
173
213
|
|
|
@@ -12,88 +12,46 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
#
|
|
15
|
+
# Processing and syndication status of a product feed job.
|
|
16
16
|
class InlineResponse20019
|
|
17
|
-
#
|
|
18
|
-
attr_accessor :
|
|
19
|
-
|
|
20
|
-
# Unique identifier for this feed ingestion job. Use this with the Syndication Status endpoint to monitor the asynchronous protocol sync progress (e.g. to Google Merchant Center).
|
|
21
|
-
attr_accessor :feed_id
|
|
22
|
-
|
|
23
|
-
# Total number of product records in the submitted feed.
|
|
24
|
-
attr_accessor :total_submitted
|
|
25
|
-
|
|
26
|
-
# Number of products that passed validation and were saved to the catalog.
|
|
27
|
-
attr_accessor :success_count
|
|
28
|
-
|
|
29
|
-
# Number of products that failed validation and were not saved.
|
|
30
|
-
attr_accessor :failed_count
|
|
31
|
-
|
|
32
|
-
# Per-product validation errors for products that failed ingestion. Each entry identifies the product, the specific field that failed, and the reason. `null` when `failed_count` is zero.
|
|
33
|
-
attr_accessor :errors
|
|
34
|
-
|
|
35
|
-
# ISO 8601 timestamp when the ingestion completed.
|
|
36
|
-
attr_accessor :ingested_at
|
|
17
|
+
# Unique identifier of the feed submission job.
|
|
18
|
+
attr_accessor :job_id
|
|
37
19
|
|
|
38
|
-
#
|
|
39
|
-
attr_accessor :
|
|
40
|
-
|
|
41
|
-
# The AI agent endpoint URL that the products were forwarded to. Present when `forwarded_to_agent` is `true`.
|
|
42
|
-
attr_accessor :agent_endpoint
|
|
20
|
+
# Overall status of the feed job. Possible values: - PENDING - PROCESSING - COMPLETED - FAILED
|
|
21
|
+
attr_accessor :status
|
|
43
22
|
|
|
44
|
-
|
|
45
|
-
attr_accessor :forwarded_to_ucp_agent
|
|
23
|
+
attr_accessor :processing
|
|
46
24
|
|
|
47
|
-
|
|
25
|
+
# Per-protocol syndication status, keyed by lowercase protocol name (e.g. `acp`, `ucp`).
|
|
26
|
+
attr_accessor :syndication
|
|
48
27
|
|
|
49
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
29
|
def self.attribute_map
|
|
51
30
|
{
|
|
31
|
+
:'job_id' => :'jobId',
|
|
52
32
|
:'status' => :'status',
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
55
|
-
:'success_count' => :'success_count',
|
|
56
|
-
:'failed_count' => :'failed_count',
|
|
57
|
-
:'errors' => :'errors',
|
|
58
|
-
:'ingested_at' => :'ingested_at',
|
|
59
|
-
:'forwarded_to_agent' => :'forwarded_to_agent',
|
|
60
|
-
:'agent_endpoint' => :'agent_endpoint',
|
|
61
|
-
:'forwarded_to_ucp_agent' => :'forwarded_to_ucp_agent',
|
|
62
|
-
:'google_merchant' => :'google_merchant'
|
|
33
|
+
:'processing' => :'processing',
|
|
34
|
+
:'syndication' => :'syndication'
|
|
63
35
|
}
|
|
64
36
|
end
|
|
65
37
|
|
|
66
38
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
67
39
|
def self.json_map
|
|
68
40
|
{
|
|
41
|
+
:'job_id' => :'job_id',
|
|
69
42
|
:'status' => :'status',
|
|
70
|
-
:'
|
|
71
|
-
:'
|
|
72
|
-
:'success_count' => :'success_count',
|
|
73
|
-
:'failed_count' => :'failed_count',
|
|
74
|
-
:'errors' => :'errors',
|
|
75
|
-
:'ingested_at' => :'ingested_at',
|
|
76
|
-
:'forwarded_to_agent' => :'forwarded_to_agent',
|
|
77
|
-
:'agent_endpoint' => :'agent_endpoint',
|
|
78
|
-
:'forwarded_to_ucp_agent' => :'forwarded_to_ucp_agent',
|
|
79
|
-
:'google_merchant' => :'google_merchant'
|
|
43
|
+
:'processing' => :'processing',
|
|
44
|
+
:'syndication' => :'syndication'
|
|
80
45
|
}
|
|
81
46
|
end
|
|
82
47
|
|
|
83
48
|
# Attribute type mapping.
|
|
84
49
|
def self.swagger_types
|
|
85
50
|
{
|
|
51
|
+
:'job_id' => :'String',
|
|
86
52
|
:'status' => :'String',
|
|
87
|
-
:'
|
|
88
|
-
:'
|
|
89
|
-
:'success_count' => :'Integer',
|
|
90
|
-
:'failed_count' => :'Integer',
|
|
91
|
-
:'errors' => :'Array<InlineResponse20019Errors>',
|
|
92
|
-
:'ingested_at' => :'DateTime',
|
|
93
|
-
:'forwarded_to_agent' => :'BOOLEAN',
|
|
94
|
-
:'agent_endpoint' => :'String',
|
|
95
|
-
:'forwarded_to_ucp_agent' => :'BOOLEAN',
|
|
96
|
-
:'google_merchant' => :'InlineResponse20019GoogleMerchant'
|
|
53
|
+
:'processing' => :'InlineResponse20019Processing',
|
|
54
|
+
:'syndication' => :'Hash<String, InlineResponse20019Syndication>'
|
|
97
55
|
}
|
|
98
56
|
end
|
|
99
57
|
|
|
@@ -105,51 +63,23 @@ module CyberSource
|
|
|
105
63
|
# convert string to symbol for hash key
|
|
106
64
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
107
65
|
|
|
108
|
-
if attributes.has_key?(:'
|
|
109
|
-
self.
|
|
66
|
+
if attributes.has_key?(:'jobId')
|
|
67
|
+
self.job_id = attributes[:'jobId']
|
|
110
68
|
end
|
|
111
69
|
|
|
112
|
-
if attributes.has_key?(:'
|
|
113
|
-
self.
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
if attributes.has_key?(:'total_submitted')
|
|
117
|
-
self.total_submitted = attributes[:'total_submitted']
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
if attributes.has_key?(:'success_count')
|
|
121
|
-
self.success_count = attributes[:'success_count']
|
|
70
|
+
if attributes.has_key?(:'status')
|
|
71
|
+
self.status = attributes[:'status']
|
|
122
72
|
end
|
|
123
73
|
|
|
124
|
-
if attributes.has_key?(:'
|
|
125
|
-
self.
|
|
74
|
+
if attributes.has_key?(:'processing')
|
|
75
|
+
self.processing = attributes[:'processing']
|
|
126
76
|
end
|
|
127
77
|
|
|
128
|
-
if attributes.has_key?(:'
|
|
129
|
-
if (value = attributes[:'
|
|
130
|
-
self.
|
|
78
|
+
if attributes.has_key?(:'syndication')
|
|
79
|
+
if (value = attributes[:'syndication']).is_a?(Hash)
|
|
80
|
+
self.syndication = value
|
|
131
81
|
end
|
|
132
82
|
end
|
|
133
|
-
|
|
134
|
-
if attributes.has_key?(:'ingested_at')
|
|
135
|
-
self.ingested_at = attributes[:'ingested_at']
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
if attributes.has_key?(:'forwarded_to_agent')
|
|
139
|
-
self.forwarded_to_agent = attributes[:'forwarded_to_agent']
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
if attributes.has_key?(:'agent_endpoint')
|
|
143
|
-
self.agent_endpoint = attributes[:'agent_endpoint']
|
|
144
|
-
end
|
|
145
|
-
|
|
146
|
-
if attributes.has_key?(:'forwarded_to_ucp_agent')
|
|
147
|
-
self.forwarded_to_ucp_agent = attributes[:'forwarded_to_ucp_agent']
|
|
148
|
-
end
|
|
149
|
-
|
|
150
|
-
if attributes.has_key?(:'google_merchant')
|
|
151
|
-
self.google_merchant = attributes[:'google_merchant']
|
|
152
|
-
end
|
|
153
83
|
end
|
|
154
84
|
|
|
155
85
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -170,17 +100,10 @@ module CyberSource
|
|
|
170
100
|
def ==(o)
|
|
171
101
|
return true if self.equal?(o)
|
|
172
102
|
self.class == o.class &&
|
|
103
|
+
job_id == o.job_id &&
|
|
173
104
|
status == o.status &&
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
success_count == o.success_count &&
|
|
177
|
-
failed_count == o.failed_count &&
|
|
178
|
-
errors == o.errors &&
|
|
179
|
-
ingested_at == o.ingested_at &&
|
|
180
|
-
forwarded_to_agent == o.forwarded_to_agent &&
|
|
181
|
-
agent_endpoint == o.agent_endpoint &&
|
|
182
|
-
forwarded_to_ucp_agent == o.forwarded_to_ucp_agent &&
|
|
183
|
-
google_merchant == o.google_merchant
|
|
105
|
+
processing == o.processing &&
|
|
106
|
+
syndication == o.syndication
|
|
184
107
|
end
|
|
185
108
|
|
|
186
109
|
# @see the `==` method
|
|
@@ -192,7 +115,7 @@ module CyberSource
|
|
|
192
115
|
# Calculates hash code according to all attributes.
|
|
193
116
|
# @return [Fixnum] Hash code
|
|
194
117
|
def hash
|
|
195
|
-
[
|
|
118
|
+
[job_id, status, processing, syndication].hash
|
|
196
119
|
end
|
|
197
120
|
|
|
198
121
|
# Builds the object from hash
|