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.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/acp_checkout_api.rb +553 -0
  3. data/lib/cybersource_rest_client/api/agent_registration_api.rb +721 -0
  4. data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +0 -1
  5. data/lib/cybersource_rest_client/api/enrollment_api.rb +104 -0
  6. data/lib/cybersource_rest_client/api/{merchant_capabilities_api.rb → merchant_registration_api.rb} +47 -391
  7. data/lib/cybersource_rest_client/api/payment_events_api.rb +197 -0
  8. data/lib/cybersource_rest_client/api/product_feed_api.rb +365 -0
  9. data/lib/cybersource_rest_client/api/purchase_intent_api.rb +278 -0
  10. data/lib/cybersource_rest_client/api/ucp_checkout_api.rb +453 -0
  11. data/lib/cybersource_rest_client/models/activate_merchant_key_response200.rb +1 -1
  12. data/lib/cybersource_rest_client/models/add_agent_key_response201.rb +11 -11
  13. data/lib/cybersource_rest_client/models/agent_registration_response201.rb +13 -15
  14. data/lib/cybersource_rest_client/models/agent_registration_response201_keys.rb +8 -8
  15. data/lib/cybersource_rest_client/models/agent_request.rb +9 -11
  16. data/lib/cybersource_rest_client/models/agent_update.rb +7 -9
  17. data/lib/cybersource_rest_client/models/auth_reversal_request.rb +1 -1
  18. data/lib/cybersource_rest_client/models/boarding_payouts_configurations.rb +1 -1
  19. data/lib/cybersource_rest_client/models/{inline_response_200_19_google_merchant_products.rb → boarding_payouts_configurations_acquirer.rb} +33 -76
  20. data/lib/cybersource_rest_client/models/{inline_response_200_19_errors.rb → boarding_payouts_configurations_merchant_descriptor.rb} +25 -33
  21. data/lib/cybersource_rest_client/models/boarding_payouts_configurations_processors.rb +581 -0
  22. data/lib/cybersource_rest_client/models/capture_payment_request.rb +1 -1
  23. data/lib/cybersource_rest_client/models/create_order_request.rb +11 -1
  24. data/lib/cybersource_rest_client/models/create_payment_request.rb +14 -1
  25. data/lib/cybersource_rest_client/models/create_session_req.rb +14 -1
  26. data/lib/cybersource_rest_client/models/create_session_request.rb +14 -1
  27. data/lib/cybersource_rest_client/models/iccv1agents_keys.rb +4 -4
  28. data/lib/cybersource_rest_client/models/iccv1merchants_api_integrations.rb +2 -2
  29. data/lib/cybersource_rest_client/models/iccv1merchants_encryption_key.rb +6 -6
  30. data/lib/cybersource_rest_client/models/iccv1merchants_protocol_interactions.rb +1 -1
  31. data/lib/cybersource_rest_client/models/iccv1merchants_web_integrations.rb +2 -2
  32. data/lib/cybersource_rest_client/models/inline_response_200_17.rb +55 -0
  33. data/lib/cybersource_rest_client/models/inline_response_200_18.rb +40 -0
  34. data/lib/cybersource_rest_client/models/inline_response_200_19.rb +30 -107
  35. data/lib/cybersource_rest_client/models/inline_response_200_19_processing.rb +213 -0
  36. data/lib/cybersource_rest_client/models/inline_response_200_19_syndication.rb +224 -0
  37. data/lib/cybersource_rest_client/models/inline_response_200_20_products.rb +80 -682
  38. data/lib/cybersource_rest_client/models/inline_response_201_12.rb +40 -0
  39. data/lib/cybersource_rest_client/models/inline_response_201_12_fulfillment_options.rb +30 -0
  40. data/lib/cybersource_rest_client/models/inline_response_201_12_totals.rb +15 -0
  41. data/lib/cybersource_rest_client/models/inline_response_201_6_setups_risk.rb +15 -5
  42. data/lib/cybersource_rest_client/models/inline_response_201_6_setups_value_added_services.rb +15 -5
  43. data/lib/cybersource_rest_client/models/{deactivate_merchant_key_response200.rb → inline_response_202_1.rb} +11 -16
  44. data/lib/cybersource_rest_client/models/key_request.rb +4 -4
  45. data/lib/cybersource_rest_client/models/key_request_1.rb +5 -5
  46. data/lib/cybersource_rest_client/models/key_update.rb +5 -5
  47. data/lib/cybersource_rest_client/models/key_update_1.rb +5 -5
  48. data/lib/cybersource_rest_client/models/list_agent_keys_response200.rb +2 -2
  49. data/lib/cybersource_rest_client/models/merchant_registration_response201.rb +10 -10
  50. data/lib/cybersource_rest_client/models/merchant_registration_response201_api_integrations.rb +225 -0
  51. data/lib/cybersource_rest_client/models/merchant_registration_response201_keys.rb +1 -1
  52. data/lib/cybersource_rest_client/models/merchant_registration_response201_web_integrations.rb +225 -0
  53. data/lib/cybersource_rest_client/models/merchant_request.rb +7 -7
  54. data/lib/cybersource_rest_client/models/merchant_update.rb +7 -7
  55. data/lib/cybersource_rest_client/models/mit_reversal_request.rb +1 -1
  56. data/lib/cybersource_rest_client/models/mit_void_request.rb +15 -5
  57. data/lib/cybersource_rest_client/models/payments_configuration_setup.rb +11 -1
  58. data/lib/cybersource_rest_client/models/payments_products.rb +11 -1
  59. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +12 -1
  60. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1.rb +12 -1
  61. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information.rb +44 -1
  62. 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
  63. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +18 -1
  64. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +101 -5
  65. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_ship_to.rb +12 -1
  66. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +22 -5
  67. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +22 -5
  68. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +22 -5
  69. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +1 -1
  70. 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
  71. 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
  72. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +22 -5
  73. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information.rb +1 -1
  74. data/lib/cybersource_rest_client/models/ptsv2intents_buyer_information.rb +196 -0
  75. data/lib/cybersource_rest_client/models/ptsv2intents_merchant_information_merchant_descriptor.rb +18 -1
  76. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_bill_to.rb +154 -1
  77. data/lib/cybersource_rest_client/models/ptsv2intents_order_information_line_items.rb +16 -5
  78. data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information.rb +1 -1
  79. data/lib/cybersource_rest_client/models/ptsv2intentsid_merchant_information_merchant_descriptor.rb +207 -0
  80. data/lib/cybersource_rest_client/models/{ptsv2paymentsidcaptures_point_of_sale_information.rb → ptsv2payments_buyer.rb} +55 -31
  81. data/lib/cybersource_rest_client/models/{inline_response_200_19_google_merchant.rb → ptsv2payments_order_history.rb} +42 -41
  82. data/lib/cybersource_rest_client/models/ptsv2payments_ship_to.rb +281 -0
  83. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_point_of_sale_information.rb +1 -1
  84. data/lib/cybersource_rest_client/models/{ptsv2paymentsidcaptures_point_of_sale_information_emv.rb → ptsv2paymentsidrefunds_point_of_sale_information_emv.rb} +1 -1
  85. data/lib/cybersource_rest_client/models/risk_products.rb +15 -5
  86. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +1 -1
  87. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +1 -1
  88. data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +3 -3
  89. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +3 -3
  90. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +3 -3
  91. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +3 -3
  92. data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +3 -3
  93. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_balance_before.rb +2 -2
  94. data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +3 -3
  95. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +2 -2
  96. data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +3 -3
  97. data/lib/cybersource_rest_client/models/value_added_services_products.rb +15 -5
  98. data/lib/cybersource_rest_client/models/void_capture_request.rb +15 -5
  99. data/lib/cybersource_rest_client/models/void_credit_request.rb +15 -5
  100. data/lib/cybersource_rest_client/models/void_payment_request.rb +15 -5
  101. data/lib/cybersource_rest_client/models/void_refund_request.rb +15 -5
  102. data/lib/cybersource_rest_client.rb +25 -11
  103. metadata +27 -13
  104. data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +0 -2279
@@ -171,12 +171,52 @@ module CyberSource
171
171
  # @return Array for valid properties with the reasons
172
172
  def list_invalid_properties
173
173
  invalid_properties = Array.new
174
+ if @id.nil?
175
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
176
+ end
177
+
178
+ if @status.nil?
179
+ invalid_properties.push('invalid value for "status", status cannot be nil.')
180
+ end
181
+
182
+ if @currency.nil?
183
+ invalid_properties.push('invalid value for "currency", currency cannot be nil.')
184
+ end
185
+
186
+ if @line_items.nil?
187
+ invalid_properties.push('invalid value for "line_items", line_items cannot be nil.')
188
+ end
189
+
190
+ if @fulfillment_options.nil?
191
+ invalid_properties.push('invalid value for "fulfillment_options", fulfillment_options cannot be nil.')
192
+ end
193
+
194
+ if @totals.nil?
195
+ invalid_properties.push('invalid value for "totals", totals cannot be nil.')
196
+ end
197
+
198
+ if @messages.nil?
199
+ invalid_properties.push('invalid value for "messages", messages cannot be nil.')
200
+ end
201
+
202
+ if @links.nil?
203
+ invalid_properties.push('invalid value for "links", links cannot be nil.')
204
+ end
205
+
174
206
  invalid_properties
175
207
  end
176
208
 
177
209
  # Check to see if the all the properties in the model are valid
178
210
  # @return true if the model is valid
179
211
  def valid?
212
+ return false if @id.nil?
213
+ return false if @status.nil?
214
+ return false if @currency.nil?
215
+ return false if @line_items.nil?
216
+ return false if @fulfillment_options.nil?
217
+ return false if @totals.nil?
218
+ return false if @messages.nil?
219
+ return false if @links.nil?
180
220
  true
181
221
  end
182
222
 
@@ -145,12 +145,42 @@ module CyberSource
145
145
  # @return Array for valid properties with the reasons
146
146
  def list_invalid_properties
147
147
  invalid_properties = Array.new
148
+ if @id.nil?
149
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
150
+ end
151
+
152
+ if @type.nil?
153
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
154
+ end
155
+
156
+ if @title.nil?
157
+ invalid_properties.push('invalid value for "title", title cannot be nil.')
158
+ end
159
+
160
+ if @subtotal.nil?
161
+ invalid_properties.push('invalid value for "subtotal", subtotal cannot be nil.')
162
+ end
163
+
164
+ if @tax.nil?
165
+ invalid_properties.push('invalid value for "tax", tax cannot be nil.')
166
+ end
167
+
168
+ if @total.nil?
169
+ invalid_properties.push('invalid value for "total", total cannot be nil.')
170
+ end
171
+
148
172
  invalid_properties
149
173
  end
150
174
 
151
175
  # Check to see if the all the properties in the model are valid
152
176
  # @return true if the model is valid
153
177
  def valid?
178
+ return false if @id.nil?
179
+ return false if @type.nil?
180
+ return false if @title.nil?
181
+ return false if @subtotal.nil?
182
+ return false if @tax.nil?
183
+ return false if @total.nil?
154
184
  true
155
185
  end
156
186
 
@@ -75,12 +75,27 @@ module CyberSource
75
75
  # @return Array for valid properties with the reasons
76
76
  def list_invalid_properties
77
77
  invalid_properties = Array.new
78
+ if @type.nil?
79
+ invalid_properties.push('invalid value for "type", type cannot be nil.')
80
+ end
81
+
82
+ if @display_text.nil?
83
+ invalid_properties.push('invalid value for "display_text", display_text cannot be nil.')
84
+ end
85
+
86
+ if @amount.nil?
87
+ invalid_properties.push('invalid value for "amount", amount cannot be nil.')
88
+ end
89
+
78
90
  invalid_properties
79
91
  end
80
92
 
81
93
  # Check to see if the all the properties in the model are valid
82
94
  # @return true if the model is valid
83
95
  def valid?
96
+ return false if @type.nil?
97
+ return false if @display_text.nil?
98
+ return false if @amount.nil?
84
99
  true
85
100
  end
86
101
 
@@ -19,12 +19,15 @@ module CyberSource
19
19
 
20
20
  attr_accessor :enhanced_authentication
21
21
 
22
+ attr_accessor :vpri
23
+
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
25
27
  :'fraud_management_essentials' => :'fraudManagementEssentials',
26
28
  :'decision_manager' => :'decisionManager',
27
- :'enhanced_authentication' => :'enhancedAuthentication'
29
+ :'enhanced_authentication' => :'enhancedAuthentication',
30
+ :'vpri' => :'vpri'
28
31
  }
29
32
  end
30
33
 
@@ -33,7 +36,8 @@ module CyberSource
33
36
  {
34
37
  :'fraud_management_essentials' => :'fraud_management_essentials',
35
38
  :'decision_manager' => :'decision_manager',
36
- :'enhanced_authentication' => :'enhanced_authentication'
39
+ :'enhanced_authentication' => :'enhanced_authentication',
40
+ :'vpri' => :'vpri'
37
41
  }
38
42
  end
39
43
 
@@ -42,7 +46,8 @@ module CyberSource
42
46
  {
43
47
  :'fraud_management_essentials' => :'PaymentsConfigurationSetupCardProcessing',
44
48
  :'decision_manager' => :'PaymentsConfigurationSetupCardProcessing',
45
- :'enhanced_authentication' => :'PaymentsConfigurationSetupCardProcessing'
49
+ :'enhanced_authentication' => :'PaymentsConfigurationSetupCardProcessing',
50
+ :'vpri' => :'PaymentsConfigurationSetupDigitalPayments'
46
51
  }
47
52
  end
48
53
 
@@ -65,6 +70,10 @@ module CyberSource
65
70
  if attributes.has_key?(:'enhancedAuthentication')
66
71
  self.enhanced_authentication = attributes[:'enhancedAuthentication']
67
72
  end
73
+
74
+ if attributes.has_key?(:'vpri')
75
+ self.vpri = attributes[:'vpri']
76
+ end
68
77
  end
69
78
 
70
79
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -87,7 +96,8 @@ module CyberSource
87
96
  self.class == o.class &&
88
97
  fraud_management_essentials == o.fraud_management_essentials &&
89
98
  decision_manager == o.decision_manager &&
90
- enhanced_authentication == o.enhanced_authentication
99
+ enhanced_authentication == o.enhanced_authentication &&
100
+ vpri == o.vpri
91
101
  end
92
102
 
93
103
  # @see the `==` method
@@ -99,7 +109,7 @@ module CyberSource
99
109
  # Calculates hash code according to all attributes.
100
110
  # @return [Fixnum] Hash code
101
111
  def hash
102
- [fraud_management_essentials, decision_manager, enhanced_authentication].hash
112
+ [fraud_management_essentials, decision_manager, enhanced_authentication, vpri].hash
103
113
  end
104
114
 
105
115
  # Builds the object from hash
@@ -23,6 +23,8 @@ module CyberSource
23
23
 
24
24
  attr_accessor :webhooks
25
25
 
26
+ attr_accessor :smarter_retry
27
+
26
28
  # Attribute mapping from ruby-style variable name to JSON key.
27
29
  def self.attribute_map
28
30
  {
@@ -30,7 +32,8 @@ module CyberSource
30
32
  :'transaction_search' => :'transactionSearch',
31
33
  :'bank_account_validation' => :'bankAccountValidation',
32
34
  :'flexapi' => :'flexapi',
33
- :'webhooks' => :'webhooks'
35
+ :'webhooks' => :'webhooks',
36
+ :'smarter_retry' => :'smarterRetry'
34
37
  }
35
38
  end
36
39
 
@@ -41,7 +44,8 @@ module CyberSource
41
44
  :'transaction_search' => :'transaction_search',
42
45
  :'bank_account_validation' => :'bank_account_validation',
43
46
  :'flexapi' => :'flexapi',
44
- :'webhooks' => :'webhooks'
47
+ :'webhooks' => :'webhooks',
48
+ :'smarter_retry' => :'smarter_retry'
45
49
  }
46
50
  end
47
51
 
@@ -52,7 +56,8 @@ module CyberSource
52
56
  :'transaction_search' => :'PaymentsConfigurationSetupDigitalPayments',
53
57
  :'bank_account_validation' => :'PaymentsConfigurationSetupDigitalPayments',
54
58
  :'flexapi' => :'PaymentsConfigurationSetupDigitalPayments',
55
- :'webhooks' => :'PaymentsConfigurationSetupDigitalPayments'
59
+ :'webhooks' => :'PaymentsConfigurationSetupDigitalPayments',
60
+ :'smarter_retry' => :'PaymentsConfigurationSetupDigitalPayments'
56
61
  }
57
62
  end
58
63
 
@@ -83,6 +88,10 @@ module CyberSource
83
88
  if attributes.has_key?(:'webhooks')
84
89
  self.webhooks = attributes[:'webhooks']
85
90
  end
91
+
92
+ if attributes.has_key?(:'smarterRetry')
93
+ self.smarter_retry = attributes[:'smarterRetry']
94
+ end
86
95
  end
87
96
 
88
97
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -107,7 +116,8 @@ module CyberSource
107
116
  transaction_search == o.transaction_search &&
108
117
  bank_account_validation == o.bank_account_validation &&
109
118
  flexapi == o.flexapi &&
110
- webhooks == o.webhooks
119
+ webhooks == o.webhooks &&
120
+ smarter_retry == o.smarter_retry
111
121
  end
112
122
 
113
123
  # @see the `==` method
@@ -119,7 +129,7 @@ module CyberSource
119
129
  # Calculates hash code according to all attributes.
120
130
  # @return [Fixnum] Hash code
121
131
  def hash
122
- [reporting, transaction_search, bank_account_validation, flexapi, webhooks].hash
132
+ [reporting, transaction_search, bank_account_validation, flexapi, webhooks, smarter_retry].hash
123
133
  end
124
134
 
125
135
  # Builds the object from hash
@@ -12,29 +12,29 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- # Generic success message response.
16
- class DeactivateMerchantKeyResponse200
17
- # Response message
18
- attr_accessor :message
15
+ # Acknowledgement returned when a product feed submission is accepted for asynchronous processing. Validation, ingestion, and syndication results are not available synchronously.
16
+ class InlineResponse2021
17
+ # Unique identifier for this feed submission job. Use this to track processing and syndication progress.
18
+ attr_accessor :job_id
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
21
21
  def self.attribute_map
22
22
  {
23
- :'message' => :'message'
23
+ :'job_id' => :'jobId'
24
24
  }
25
25
  end
26
26
 
27
27
  # Attribute mapping from JSON key to ruby-style variable name.
28
28
  def self.json_map
29
29
  {
30
- :'message' => :'message'
30
+ :'job_id' => :'job_id'
31
31
  }
32
32
  end
33
33
 
34
34
  # Attribute type mapping.
35
35
  def self.swagger_types
36
36
  {
37
- :'message' => :'String'
37
+ :'job_id' => :'String'
38
38
  }
39
39
  end
40
40
 
@@ -46,8 +46,8 @@ module CyberSource
46
46
  # convert string to symbol for hash key
47
47
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
48
48
 
49
- if attributes.has_key?(:'message')
50
- self.message = attributes[:'message']
49
+ if attributes.has_key?(:'jobId')
50
+ self.job_id = attributes[:'jobId']
51
51
  end
52
52
  end
53
53
 
@@ -55,17 +55,12 @@ module CyberSource
55
55
  # @return Array for valid properties with the reasons
56
56
  def list_invalid_properties
57
57
  invalid_properties = Array.new
58
- if @message.nil?
59
- invalid_properties.push('invalid value for "message", message cannot be nil.')
60
- end
61
-
62
58
  invalid_properties
63
59
  end
64
60
 
65
61
  # Check to see if the all the properties in the model are valid
66
62
  # @return true if the model is valid
67
63
  def valid?
68
- return false if @message.nil?
69
64
  true
70
65
  end
71
66
 
@@ -74,7 +69,7 @@ module CyberSource
74
69
  def ==(o)
75
70
  return true if self.equal?(o)
76
71
  self.class == o.class &&
77
- message == o.message
72
+ job_id == o.job_id
78
73
  end
79
74
 
80
75
  # @see the `==` method
@@ -86,7 +81,7 @@ module CyberSource
86
81
  # Calculates hash code according to all attributes.
87
82
  # @return [Fixnum] Hash code
88
83
  def hash
89
- [message].hash
84
+ [job_id].hash
90
85
  end
91
86
 
92
87
  # 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 KeyRequest
17
- # Unique identifier for the key
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. Supports PEM (PKCS#8, PKCS#1), JWK, DER, and OpenSSH formats. Max 10000 characters.
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
- # Signing algorithm. Must match the key type (e.g., an RSA key requires RSA-SHA256 or RSA-SHA512). Possible values: - RSA-SHA256 - RSA-SHA512 - ECDSA-SHA256 - ECDSA-SHA512 - EdDSA
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 (defaults to 14 days from now if not provided)
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.
@@ -14,19 +14,19 @@ require 'date'
14
14
  module CyberSource
15
15
  # Request object for adding a new encryption key for a merchant.
16
16
  class KeyRequest1
17
- # Unique name for the key
17
+ # Unique name for this encryption key within the merchant.
18
18
  attr_accessor :key_name
19
19
 
20
- # Base64-encoded public key (JWE key wrap 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 (defaults to A256GCM) Possible values: - A256GCM - A128GCM - C20P - A256CBC-HS512 - A128CBC-HS256 - A256CCM - A128CCM
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 (defaults to 14 days from now if not provided)
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,18 +12,18 @@ Swagger Codegen version: 2.4.38
12
12
  require 'date'
13
13
 
14
14
  module CyberSource
15
- # Request object for updating an existing agent key. All fields are optional.
15
+ # All fields are optional. publicKey and algorithm must be provided together when either is updated.
16
16
  class KeyUpdate
17
- # Unique identifier for the key
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. Supports PEM (PKCS#8, PKCS#1), JWK, DER, and OpenSSH formats. Max 10000 characters.
20
+ # Base64-encoded public key. Supported formats are PEM (PKCS#8 or PKCS#1) and JWK. Must be provided together with `algorithm`.
21
21
  attr_accessor :public_key
22
22
 
23
- # Signing algorithm. Must match the key type (e.g., an RSA key requires RSA-SHA256 or RSA-SHA512). Possible values: - RSA-SHA256 - RSA-SHA512 - ECDSA-SHA256 - ECDSA-SHA512 - EdDSA
23
+ # HTTP Signature signing algorithm (RFC 9421 §3.3 registry). Must be provided together with `publicKey`: - ***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.
27
27
  attr_accessor :expiration_date
28
28
 
29
29
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -14,19 +14,19 @@ require 'date'
14
14
  module CyberSource
15
15
  # All fields are optional; only provided fields are updated.
16
16
  class KeyUpdate1
17
- # Unique name for the key
17
+ # Unique name for this encryption key within the merchant.
18
18
  attr_accessor :key_name
19
19
 
20
- # Base64-encoded public key (JWE key wrap 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 Possible values: - A256GCM - A128GCM - C20P - A256CBC-HS512 - A128CBC-HS256 - A256CCM - A128CCM
26
+ # JWE content encryption algorithm used to encrypt the payment payload. 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.
30
30
  attr_accessor :expiration_date
31
31
 
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -17,10 +17,10 @@ module CyberSource
17
17
  # Agent identifier (64-char SHA-256 hash)
18
18
  attr_accessor :agent_id
19
19
 
20
- # Agent name
20
+ # Display name of the agent
21
21
  attr_accessor :agent_name
22
22
 
23
- # List of keys (without agentId/agentName/agentType since they are at parent level)
23
+ # Paginated list of public keys belonging to this agent (agentId/agentName/agentType omitted — available at the parent level)
24
24
  attr_accessor :keys
25
25
 
26
26
  attr_accessor :pagination
@@ -20,28 +20,28 @@ module CyberSource
20
20
  # Doing business as (DBA) name
21
21
  attr_accessor :merchant_name
22
22
 
23
- # Base merchant URL
23
+ # Fully-qualified HTTPS URL of the merchant's domain
24
24
  attr_accessor :merchant_url
25
25
 
26
- # Visa Merchant ID
26
+ # Visa Merchant ID (VMID) — unique identifier assigned by Visa
27
27
  attr_accessor :vmid
28
28
 
29
- # Authentication cryptogram type Possible values: - TAVV - DAVV
29
+ # Authentication cryptogram type used for payment credential generation: 'TAVV' (Token Authentication Verification Value) or 'DAVV' (Device Authentication Verification Value) Possible values: - TAVV - DAVV
30
30
  attr_accessor :cryptogram_type
31
31
 
32
- # Credential delivery format Possible values: - ENCRYPTED - UNENCRYPTED
32
+ # Credential delivery format: 'ENCRYPTED' (JWE-wrapped, requires an active encryption key) or 'UNENCRYPTED' Possible values: - ENCRYPTED - UNENCRYPTED
33
33
  attr_accessor :payment_payload_type
34
34
 
35
- # Transaction processing type Possible values: - TAP - ACG - BOTH
35
+ # Transaction processing indicator: 'TAP' (Trusted Agent Protocol), 'ACG' (Agentic Checkout Gateway), or 'BOTH' Possible values: - TAP - ACG - BOTH
36
36
  attr_accessor :indicator
37
37
 
38
- # Additional merchant metadata
38
+ # Free-form metadata object for additional merchant context
39
39
  attr_accessor :merchant_metadata
40
40
 
41
- # List of acceptance network relationships
41
+ # List of payment network acceptance relationships (e.g., \"Visa\")
42
42
  attr_accessor :acceptance_relationships
43
43
 
44
- # List of protocol interaction configurations (ucp, acp, x402)
44
+ # List of protocol endpoint configurations defining how agents interact with this merchant (ucp, acp, x402)
45
45
  attr_accessor :protocol_interactions
46
46
 
47
47
  attr_accessor :web_integrations
@@ -117,8 +117,8 @@ module CyberSource
117
117
  :'merchant_metadata' => :'Object',
118
118
  :'acceptance_relationships' => :'Array<String>',
119
119
  :'protocol_interactions' => :'Array<Iccv1merchantsProtocolInteractions>',
120
- :'web_integrations' => :'Iccv1merchantsWebIntegrations',
121
- :'api_integrations' => :'Iccv1merchantsApiIntegrations',
120
+ :'web_integrations' => :'MerchantRegistrationResponse201WebIntegrations',
121
+ :'api_integrations' => :'MerchantRegistrationResponse201ApiIntegrations',
122
122
  :'is_active' => :'BOOLEAN',
123
123
  :'created_at' => :'DateTime',
124
124
  :'updated_at' => :'DateTime',