cybersource_rest_client 0.0.24 → 0.0.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client.rb +18 -44
  3. data/lib/cybersource_rest_client/api/asymmetric_key_management_api.rb +9 -9
  4. data/lib/cybersource_rest_client/api/symmetric_key_management_api.rb +9 -9
  5. data/lib/cybersource_rest_client/api/tokenization_api.rb +89 -0
  6. data/lib/cybersource_rest_client/models/{tokenize_result.rb → flex_v1_tokens_post200_response.rb} +1 -1
  7. data/lib/cybersource_rest_client/models/{card_info.rb → flexv1tokens_card_info.rb} +1 -1
  8. data/lib/cybersource_rest_client/models/{inline_response_200_3.rb → kms_v2_keys_asym_deletes_post200_response.rb} +2 -2
  9. data/lib/cybersource_rest_client/models/{inline_response_200_3_key_information.rb → kms_v2_keys_asym_deletes_post200_response_key_information.rb} +2 -2
  10. data/lib/cybersource_rest_client/models/{inline_response_200_2.rb → kms_v2_keys_asym_get200_response.rb} +2 -2
  11. data/lib/cybersource_rest_client/models/{inline_response_200_2_key_information.rb → kms_v2_keys_asym_get200_response_key_information.rb} +2 -2
  12. data/lib/cybersource_rest_client/models/{inline_response_201_1.rb → kms_v2_keys_asym_post201_response.rb} +3 -3
  13. data/lib/cybersource_rest_client/models/{inline_response_201_1_certificate_information.rb → kms_v2_keys_asym_post201_response_certificate_information.rb} +1 -1
  14. data/lib/cybersource_rest_client/models/{inline_response_201_1_key_information.rb → kms_v2_keys_asym_post201_response_key_information.rb} +2 -2
  15. data/lib/cybersource_rest_client/models/{inline_response_200_1.rb → kms_v2_keys_sym_deletes_post200_response.rb} +2 -2
  16. data/lib/cybersource_rest_client/models/{inline_response_200_1_key_information.rb → kms_v2_keys_sym_deletes_post200_response_key_information.rb} +2 -2
  17. data/lib/cybersource_rest_client/models/{inline_response_200.rb → kms_v2_keys_sym_get200_response.rb} +2 -2
  18. data/lib/cybersource_rest_client/models/{inline_response_200_key_information.rb → kms_v2_keys_sym_get200_response_key_information.rb} +2 -2
  19. data/lib/cybersource_rest_client/models/{inline_response_201.rb → kms_v2_keys_sym_post201_response.rb} +2 -2
  20. data/lib/cybersource_rest_client/models/{inline_response_201_error_information.rb → kms_v2_keys_sym_post201_response_error_information.rb} +1 -1
  21. data/lib/cybersource_rest_client/models/{inline_response_201_key_information.rb → kms_v2_keys_sym_post201_response_key_information.rb} +2 -2
  22. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +6 -6
  23. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +6 -6
  24. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -1
  25. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -1
  26. data/lib/cybersource_rest_client/models/{tokenize_parameters.rb → tokenize_request.rb} +2 -2
  27. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
  28. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
  29. metadata +20 -46
  30. data/lib/cybersource_rest_client/models/customer.rb +0 -292
  31. data/lib/cybersource_rest_client/models/der_public_key.rb +0 -205
  32. data/lib/cybersource_rest_client/models/error.rb +0 -192
  33. data/lib/cybersource_rest_client/models/error_bean.rb +0 -247
  34. data/lib/cybersource_rest_client/models/error_field_bean.rb +0 -205
  35. data/lib/cybersource_rest_client/models/error_links.rb +0 -205
  36. data/lib/cybersource_rest_client/models/error_response.rb +0 -192
  37. data/lib/cybersource_rest_client/models/file_bean.rb +0 -202
  38. data/lib/cybersource_rest_client/models/file_detail.rb +0 -244
  39. data/lib/cybersource_rest_client/models/file_details_response.rb +0 -194
  40. data/lib/cybersource_rest_client/models/instrument_identifier.rb +0 -286
  41. data/lib/cybersource_rest_client/models/json_web_key.rb +0 -225
  42. data/lib/cybersource_rest_client/models/key_parameters.rb +0 -199
  43. data/lib/cybersource_rest_client/models/key_result.rb +0 -202
  44. data/lib/cybersource_rest_client/models/link.rb +0 -204
  45. data/lib/cybersource_rest_client/models/links.rb +0 -205
  46. data/lib/cybersource_rest_client/models/payment_instrument.rb +0 -318
  47. data/lib/cybersource_rest_client/models/payment_instrument_paginated.rb +0 -232
  48. data/lib/cybersource_rest_client/models/response_status.rb +0 -225
  49. data/lib/cybersource_rest_client/models/response_status_details.rb +0 -194
  50. data/lib/cybersource_rest_client/models/self_link_bean.rb +0 -192
  51. data/lib/cybersource_rest_client/models/shipping_address.rb +0 -235
  52. data/lib/cybersource_rest_client/models/shipping_address_paginated.rb +0 -233
  53. data/lib/cybersource_rest_client/models/tms_error.rb +0 -205
  54. data/lib/cybersource_rest_client/models/tms_error_details.rb +0 -194
  55. data/lib/cybersource_rest_client/models/tms_error_response.rb +0 -185
  56. data/lib/cybersource_rest_client/models/tokenize_parameters_card_info.rb +0 -224
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2002
16
+ class KmsV2KeysAsymGet200Response
17
17
  # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by authorization service. #### PIN debit Time when the PIN debit credit, PIN debit purchase or PIN debit reversal was requested. Returned by PIN debit credit, PIN debit purchase or PIN debit reversal.
18
18
  attr_accessor :submit_time_utc
19
19
 
@@ -31,7 +31,7 @@ module CyberSource
31
31
  def self.swagger_types
32
32
  {
33
33
  :'submit_time_utc' => :'String',
34
- :'key_information' => :'InlineResponse2002KeyInformation'
34
+ :'key_information' => :'KmsV2KeysAsymGet200ResponseKeyInformation'
35
35
  }
36
36
  end
37
37
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # key information
17
- class InlineResponse2002KeyInformation
17
+ class KmsV2KeysAsymGet200ResponseKeyInformation
18
18
  # Merchant Id
19
19
  attr_accessor :organization_id
20
20
 
@@ -62,7 +62,7 @@ module CyberSource
62
62
  :'expiration_date' => :'String',
63
63
  :'message' => :'String',
64
64
  :'_alias' => :'String',
65
- :'error_information' => :'InlineResponse201ErrorInformation'
65
+ :'error_information' => :'KmsV2KeysSymPost201ResponseErrorInformation'
66
66
  }
67
67
  end
68
68
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2011
16
+ class KmsV2KeysAsymPost201Response
17
17
  # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by authorization service. #### PIN debit Time when the PIN debit credit, PIN debit purchase or PIN debit reversal was requested. Returned by PIN debit credit, PIN debit purchase or PIN debit reversal.
18
18
  attr_accessor :submit_time_utc
19
19
 
@@ -43,8 +43,8 @@ module CyberSource
43
43
  :'submit_time_utc' => :'String',
44
44
  :'status' => :'String',
45
45
  :'client_reference_information' => :'Kmsv2keyssymClientReferenceInformation',
46
- :'key_information' => :'Array<InlineResponse2011KeyInformation>',
47
- :'certificate_information' => :'Array<InlineResponse2011CertificateInformation>'
46
+ :'key_information' => :'Array<KmsV2KeysAsymPost201ResponseKeyInformation>',
47
+ :'certificate_information' => :'Array<KmsV2KeysAsymPost201ResponseCertificateInformation>'
48
48
  }
49
49
  end
50
50
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2011CertificateInformation
16
+ class KmsV2KeysAsymPost201ResponseCertificateInformation
17
17
  # Key alias
18
18
  attr_accessor :_alias
19
19
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # key information
17
- class InlineResponse2011KeyInformation
17
+ class KmsV2KeysAsymPost201ResponseKeyInformation
18
18
  # Merchant Id
19
19
  attr_accessor :organization_id
20
20
 
@@ -67,7 +67,7 @@ module CyberSource
67
67
  :'expiration_date' => :'String',
68
68
  :'message' => :'String',
69
69
  :'_alias' => :'String',
70
- :'error_information' => :'InlineResponse201ErrorInformation'
70
+ :'error_information' => :'KmsV2KeysSymPost201ResponseErrorInformation'
71
71
  }
72
72
  end
73
73
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2001
16
+ class KmsV2KeysSymDeletesPost200Response
17
17
  # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by authorization service. #### PIN debit Time when the PIN debit credit, PIN debit purchase or PIN debit reversal was requested. Returned by PIN debit credit, PIN debit purchase or PIN debit reversal.
18
18
  attr_accessor :submit_time_utc
19
19
 
@@ -40,7 +40,7 @@ module CyberSource
40
40
  :'submit_time_utc' => :'String',
41
41
  :'status' => :'String',
42
42
  :'client_reference_information' => :'Kmsv2keyssymClientReferenceInformation',
43
- :'key_information' => :'Array<InlineResponse2001KeyInformation>'
43
+ :'key_information' => :'Array<KmsV2KeysSymDeletesPost200ResponseKeyInformation>'
44
44
  }
45
45
  end
46
46
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # key information
17
- class InlineResponse2001KeyInformation
17
+ class KmsV2KeysSymDeletesPost200ResponseKeyInformation
18
18
  # Merchant Id
19
19
  attr_accessor :organization_id
20
20
 
@@ -47,7 +47,7 @@ module CyberSource
47
47
  :'key_id' => :'String',
48
48
  :'status' => :'String',
49
49
  :'message' => :'String',
50
- :'error_information' => :'InlineResponse201ErrorInformation'
50
+ :'error_information' => :'KmsV2KeysSymPost201ResponseErrorInformation'
51
51
  }
52
52
  end
53
53
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse200
16
+ class KmsV2KeysSymGet200Response
17
17
  # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by authorization service. #### PIN debit Time when the PIN debit credit, PIN debit purchase or PIN debit reversal was requested. Returned by PIN debit credit, PIN debit purchase or PIN debit reversal.
18
18
  attr_accessor :submit_time_utc
19
19
 
@@ -36,7 +36,7 @@ module CyberSource
36
36
  {
37
37
  :'submit_time_utc' => :'String',
38
38
  :'status' => :'String',
39
- :'key_information' => :'InlineResponse200KeyInformation'
39
+ :'key_information' => :'KmsV2KeysSymGet200ResponseKeyInformation'
40
40
  }
41
41
  end
42
42
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # key information
17
- class InlineResponse200KeyInformation
17
+ class KmsV2KeysSymGet200ResponseKeyInformation
18
18
  # Merchant Id
19
19
  attr_accessor :organization_id
20
20
 
@@ -52,7 +52,7 @@ module CyberSource
52
52
  :'status' => :'String',
53
53
  :'expiration_date' => :'String',
54
54
  :'message' => :'String',
55
- :'error_information' => :'InlineResponse201ErrorInformation'
55
+ :'error_information' => :'KmsV2KeysSymPost201ResponseErrorInformation'
56
56
  }
57
57
  end
58
58
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse201
16
+ class KmsV2KeysSymPost201Response
17
17
  # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by authorization service. #### PIN debit Time when the PIN debit credit, PIN debit purchase or PIN debit reversal was requested. Returned by PIN debit credit, PIN debit purchase or PIN debit reversal.
18
18
  attr_accessor :submit_time_utc
19
19
 
@@ -40,7 +40,7 @@ module CyberSource
40
40
  :'submit_time_utc' => :'String',
41
41
  :'status' => :'String',
42
42
  :'client_reference_information' => :'Kmsv2keyssymClientReferenceInformation',
43
- :'key_information' => :'Array<InlineResponse201KeyInformation>'
43
+ :'key_information' => :'Array<KmsV2KeysSymPost201ResponseKeyInformation>'
44
44
  }
45
45
  end
46
46
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse201ErrorInformation
16
+ class KmsV2KeysSymPost201ResponseErrorInformation
17
17
  # The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA
18
18
  attr_accessor :reason
19
19
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # key information
17
- class InlineResponse201KeyInformation
17
+ class KmsV2KeysSymPost201ResponseKeyInformation
18
18
  # Merchant Id
19
19
  attr_accessor :organization_id
20
20
 
@@ -62,7 +62,7 @@ module CyberSource
62
62
  :'status' => :'String',
63
63
  :'expiration_date' => :'String',
64
64
  :'message' => :'String',
65
- :'error_information' => :'InlineResponse201ErrorInformation'
65
+ :'error_information' => :'KmsV2KeysSymPost201ResponseErrorInformation'
66
66
  }
67
67
  end
68
68
 
@@ -38,7 +38,7 @@ module CyberSource
38
38
  # This field might contain information about a decline. This field is supported only for **CyberSource through VisaNet**.
39
39
  attr_accessor :response_details
40
40
 
41
- # Processor-defined response category code. The associated detail error code is in the `processorInformation.responseCode` or `issuerInformation.responseCode` field of the service you requested. This field is supported only for: - Japanese issuers - Domestic transactions in Japan - Comercio Latino—processor transaction ID required for troubleshooting #### Maximum length for processors - Comercio Latino: 32 - All other processors: 3
41
+ # Processor-defined response category code. The associated detail error code is in the `processorInformation.responseCode` or `issuerInformation.responseCode` field of the service you requested. This field is supported only for: - Japanese issuers - Domestic transactions in Japan - Comercio Latino—processor transaction ID required for troubleshooting #### Maximum length for processors - Comercio Latino: 36 - All other processors: 3
42
42
  attr_accessor :response_category_code
43
43
 
44
44
  # Name of the Japanese acquirer that processed the transaction. Returned only for JCN Gateway. Please contact the CyberSource Japan Support Group for more information.
@@ -294,8 +294,8 @@ module CyberSource
294
294
  invalid_properties.push('invalid value for "response_details", the character length must be smaller than or equal to 255.')
295
295
  end
296
296
 
297
- if !@response_category_code.nil? && @response_category_code.to_s.length > 32
298
- invalid_properties.push('invalid value for "response_category_code", the character length must be smaller than or equal to 32.')
297
+ if !@response_category_code.nil? && @response_category_code.to_s.length > 36
298
+ invalid_properties.push('invalid value for "response_category_code", the character length must be smaller than or equal to 36.')
299
299
  end
300
300
 
301
301
  if !@forwarded_acquirer_code.nil? && @forwarded_acquirer_code.to_s.length > 32
@@ -349,7 +349,7 @@ module CyberSource
349
349
  return false if !@response_code.nil? && @response_code.to_s.length > 10
350
350
  return false if !@response_code_source.nil? && @response_code_source.to_s.length > 1
351
351
  return false if !@response_details.nil? && @response_details.to_s.length > 255
352
- return false if !@response_category_code.nil? && @response_category_code.to_s.length > 32
352
+ return false if !@response_category_code.nil? && @response_category_code.to_s.length > 36
353
353
  return false if !@forwarded_acquirer_code.nil? && @forwarded_acquirer_code.to_s.length > 32
354
354
  return false if !@system_trace_audit_number.nil? && @system_trace_audit_number.to_s.length > 6
355
355
  return false if !@payment_account_reference_number.nil? && @payment_account_reference_number.to_s.length > 32
@@ -416,8 +416,8 @@ module CyberSource
416
416
  # Custom attribute writer method with validation
417
417
  # @param [Object] response_category_code Value to be assigned
418
418
  def response_category_code=(response_category_code)
419
- if !response_category_code.nil? && response_category_code.to_s.length > 32
420
- fail ArgumentError, 'invalid value for "response_category_code", the character length must be smaller than or equal to 32.'
419
+ if !response_category_code.nil? && response_category_code.to_s.length > 36
420
+ fail ArgumentError, 'invalid value for "response_category_code", the character length must be smaller than or equal to 36.'
421
421
  end
422
422
 
423
423
  @response_category_code = response_category_code
@@ -20,7 +20,7 @@ module CyberSource
20
20
  # For most processors, this is the error message sent directly from the bank. Returned only when the processor returns this value. **Important** Do not use this field to evaluate the result of the authorization. #### PIN debit Response value that is returned by the processor or bank. **Important** Do not use this field to evaluate the results of the transaction request. Returned by PIN debit credit, PIN debit purchase, and PIN debit reversal. #### AIBMS If this value is `08`, you can accept the transaction if the customer provides you with identification. #### Atos This value is the response code sent from Atos and it might also include the response code from the bank. Format: `aa,bb` with the two values separated by a comma and where: - `aa` is the two-digit error message from Atos. - `bb` is the optional two-digit error message from the bank. #### Comercio Latino This value is the status code and the error or response code received from the processor separated by a colon. Format: [status code]:E[error code] or [status code]:R[response code] Example `2:R06` #### JCN Gateway Processor-defined detail error code. The associated response category code is in the `processorInformation.responseCategoryCode` field. String (3)
21
21
  attr_accessor :response_code
22
22
 
23
- # Processor-defined response category code. The associated detail error code is in the `processorInformation.responseCode` or `issuerInformation.responseCode` field of the service you requested. This field is supported only for: - Japanese issuers - Domestic transactions in Japan - Comercio Latino—processor transaction ID required for troubleshooting #### Maximum length for processors - Comercio Latino: 32 - All other processors: 3
23
+ # Processor-defined response category code. The associated detail error code is in the `processorInformation.responseCode` or `issuerInformation.responseCode` field of the service you requested. This field is supported only for: - Japanese issuers - Domestic transactions in Japan - Comercio Latino—processor transaction ID required for troubleshooting #### Maximum length for processors - Comercio Latino: 36 - All other processors: 3
24
24
  attr_accessor :response_category_code
25
25
 
26
26
  # Name of the Japanese acquirer that processed the transaction. Returned only for JCN Gateway. Please contact the CyberSource Japan Support Group for more information.
@@ -101,8 +101,8 @@ module CyberSource
101
101
  invalid_properties.push('invalid value for "response_code", the character length must be smaller than or equal to 10.')
102
102
  end
103
103
 
104
- if !@response_category_code.nil? && @response_category_code.to_s.length > 32
105
- invalid_properties.push('invalid value for "response_category_code", the character length must be smaller than or equal to 32.')
104
+ if !@response_category_code.nil? && @response_category_code.to_s.length > 36
105
+ invalid_properties.push('invalid value for "response_category_code", the character length must be smaller than or equal to 36.')
106
106
  end
107
107
 
108
108
  if !@forwarded_acquirer_code.nil? && @forwarded_acquirer_code.to_s.length > 32
@@ -125,7 +125,7 @@ module CyberSource
125
125
  def valid?
126
126
  return false if !@transaction_id.nil? && @transaction_id.to_s.length > 18
127
127
  return false if !@response_code.nil? && @response_code.to_s.length > 10
128
- return false if !@response_category_code.nil? && @response_category_code.to_s.length > 32
128
+ return false if !@response_category_code.nil? && @response_category_code.to_s.length > 36
129
129
  return false if !@forwarded_acquirer_code.nil? && @forwarded_acquirer_code.to_s.length > 32
130
130
  return false if !@master_card_service_code.nil? && @master_card_service_code.to_s.length > 2
131
131
  return false if !@master_card_service_reply_code.nil? && @master_card_service_reply_code.to_s.length > 1
@@ -155,8 +155,8 @@ module CyberSource
155
155
  # Custom attribute writer method with validation
156
156
  # @param [Object] response_category_code Value to be assigned
157
157
  def response_category_code=(response_category_code)
158
- if !response_category_code.nil? && response_category_code.to_s.length > 32
159
- fail ArgumentError, 'invalid value for "response_category_code", the character length must be smaller than or equal to 32.'
158
+ if !response_category_code.nil? && response_category_code.to_s.length > 36
159
+ fail ArgumentError, 'invalid value for "response_category_code", the character length must be smaller than or equal to 36.'
160
160
  end
161
161
 
162
162
  @response_category_code = response_category_code
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class Ptsv2creditsProcessingInformation
17
- # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction.
17
+ # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `install`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction.
18
18
  attr_accessor :commerce_indicator
19
19
 
20
20
  # Value that identifies the processor/acquirer to use for the transaction. This value is supported only for **CyberSource through VisaNet**. Contact CyberSource Customer Support to get the value for this field.
@@ -29,7 +29,7 @@ module CyberSource
29
29
  # Payouts transaction type. Required for OCT transactions. This field is a pass-through, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. **Note** When the request includes this field, this value overrides the information in your CyberSource account. For valid values, see the `invoiceHeader_businessApplicationID` field description in [Payouts Using the Simple Order API.](http://apps.cybersource.com/library/documentation/dev_guides/payouts_SO/Payouts_SO_API.pdf)
30
30
  attr_accessor :business_application_id
31
31
 
32
- # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction.
32
+ # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `install`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction.
33
33
  attr_accessor :commerce_indicator
34
34
 
35
35
  # Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay.
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class TokenizeParameters
16
+ class TokenizeRequest
17
17
  # Unique identifier for the generated token. This is obtained from the Generate Key request. See the [Java Script and Java examples](http://apps.cybersource.com/library/documentation/dev_guides/Secure_Acceptance_Flex/Key/html) on how to import the key and encrypt using the imported key.
18
18
  attr_accessor :key_id
19
19
 
@@ -31,7 +31,7 @@ module CyberSource
31
31
  def self.swagger_types
32
32
  {
33
33
  :'key_id' => :'String',
34
- :'card_info' => :'TokenizeParametersCardInfo'
34
+ :'card_info' => :'Flexv1tokensCardInfo'
35
35
  }
36
36
  end
37
37
 
@@ -17,7 +17,7 @@ module CyberSource
17
17
  # Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay.
18
18
  attr_accessor :payment_solution
19
19
 
20
- # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction.
20
+ # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `install`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction.
21
21
  attr_accessor :commerce_indicator
22
22
 
23
23
  # Payouts transaction type. Required for OCT transactions. This field is a pass-through, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. **Note** When the request includes this field, this value overrides the information in your CyberSource account. For valid values, see the `invoiceHeader_businessApplicationID` field description in [Payouts Using the Simple Order API.](http://apps.cybersource.com/library/documentation/dev_guides/payouts_SO/Payouts_SO_API.pdf)
@@ -20,7 +20,7 @@ module CyberSource
20
20
  # Payouts transaction type. Required for OCT transactions. This field is a pass-through, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. **Note** When the request includes this field, this value overrides the information in your CyberSource account. For valid values, see the `invoiceHeader_businessApplicationID` field description in [Payouts Using the Simple Order API.](http://apps.cybersource.com/library/documentation/dev_guides/payouts_SO/Payouts_SO_API.pdf)
21
21
  attr_accessor :business_application_id
22
22
 
23
- # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction.
23
+ # Type of transaction. Some payment card companies use this information when determining discount rates. #### Used by **Authorization** Required payer authentication transactions; otherwise, optional. **Credit** Required for standalone credits on Chase Paymentech solutions; otherwise, optional. Only `internet`, `moto`, `install`, `recurring`, and `recurring_internet` are valid values. #### Ingenico ePayments When you omit this field for Ingenico ePayments, the processor uses the default transaction type they have on file for you instead of the default value (listed in Appendix I, \"Commerce Indicators,\" on page 441.) #### Payer Authentication Transactions For the possible values and requirements, see \"Payer Authentication,\" page 195. #### Other Types of Transactions See Appendix I, \"Commerce Indicators,\" on page 441. #### Card Present You must set this field to `retail`. This field is required for a card-present transaction.
24
24
  attr_accessor :commerce_indicator
25
25
 
26
26
  # Attribute mapping from ruby-style variable name to JSON key.
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.24
4
+ version: 0.0.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - CyberSource
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-08 00:00:00.000000000 Z
11
+ date: 2020-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -337,6 +337,7 @@ files:
337
337
  - lib/cybersource_rest_client/api/secure_file_share_api.rb
338
338
  - lib/cybersource_rest_client/api/symmetric_key_management_api.rb
339
339
  - lib/cybersource_rest_client/api/taxes_api.rb
340
+ - lib/cybersource_rest_client/api/tokenization_api.rb
340
341
  - lib/cybersource_rest_client/api/transaction_batches_api.rb
341
342
  - lib/cybersource_rest_client/api/transaction_details_api.rb
342
343
  - lib/cybersource_rest_client/api/user_management_api.rb
@@ -349,7 +350,6 @@ files:
349
350
  - lib/cybersource_rest_client/models/add_negative_list_request.rb
350
351
  - lib/cybersource_rest_client/models/auth_reversal_request.rb
351
352
  - lib/cybersource_rest_client/models/capture_payment_request.rb
352
- - lib/cybersource_rest_client/models/card_info.rb
353
353
  - lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb
354
354
  - lib/cybersource_rest_client/models/create_adhoc_report_request.rb
355
355
  - lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb
@@ -360,38 +360,16 @@ files:
360
360
  - lib/cybersource_rest_client/models/create_report_subscription_request.rb
361
361
  - lib/cybersource_rest_client/models/create_search_request.rb
362
362
  - lib/cybersource_rest_client/models/create_shared_secret_keys_request.rb
363
- - lib/cybersource_rest_client/models/customer.rb
364
363
  - lib/cybersource_rest_client/models/delete_bulk_p12_keys_request.rb
365
364
  - lib/cybersource_rest_client/models/delete_bulk_symmetric_keys_request.rb
366
- - lib/cybersource_rest_client/models/der_public_key.rb
367
- - lib/cybersource_rest_client/models/error.rb
368
- - lib/cybersource_rest_client/models/error_bean.rb
369
- - lib/cybersource_rest_client/models/error_field_bean.rb
370
- - lib/cybersource_rest_client/models/error_links.rb
371
- - lib/cybersource_rest_client/models/error_response.rb
372
- - lib/cybersource_rest_client/models/file_bean.rb
373
- - lib/cybersource_rest_client/models/file_detail.rb
374
- - lib/cybersource_rest_client/models/file_details_response.rb
375
365
  - lib/cybersource_rest_client/models/flex_v1_keys_post200_response.rb
376
366
  - lib/cybersource_rest_client/models/flex_v1_keys_post200_response_der.rb
377
367
  - lib/cybersource_rest_client/models/flex_v1_keys_post200_response_jwk.rb
368
+ - lib/cybersource_rest_client/models/flex_v1_tokens_post200_response.rb
369
+ - lib/cybersource_rest_client/models/flexv1tokens_card_info.rb
378
370
  - lib/cybersource_rest_client/models/fraud_marking_action_request.rb
379
371
  - lib/cybersource_rest_client/models/generate_public_key_request.rb
380
372
  - lib/cybersource_rest_client/models/increment_auth_request.rb
381
- - lib/cybersource_rest_client/models/inline_response_200.rb
382
- - lib/cybersource_rest_client/models/inline_response_200_1.rb
383
- - lib/cybersource_rest_client/models/inline_response_200_1_key_information.rb
384
- - lib/cybersource_rest_client/models/inline_response_200_2.rb
385
- - lib/cybersource_rest_client/models/inline_response_200_2_key_information.rb
386
- - lib/cybersource_rest_client/models/inline_response_200_3.rb
387
- - lib/cybersource_rest_client/models/inline_response_200_3_key_information.rb
388
- - lib/cybersource_rest_client/models/inline_response_200_key_information.rb
389
- - lib/cybersource_rest_client/models/inline_response_201.rb
390
- - lib/cybersource_rest_client/models/inline_response_201_1.rb
391
- - lib/cybersource_rest_client/models/inline_response_201_1_certificate_information.rb
392
- - lib/cybersource_rest_client/models/inline_response_201_1_key_information.rb
393
- - lib/cybersource_rest_client/models/inline_response_201_error_information.rb
394
- - lib/cybersource_rest_client/models/inline_response_201_key_information.rb
395
373
  - lib/cybersource_rest_client/models/inline_response_400.rb
396
374
  - lib/cybersource_rest_client/models/inline_response_400_1.rb
397
375
  - lib/cybersource_rest_client/models/inline_response_400_1_fields.rb
@@ -403,7 +381,6 @@ files:
403
381
  - lib/cybersource_rest_client/models/inline_response_default__links_next.rb
404
382
  - lib/cybersource_rest_client/models/inline_response_default_response_status.rb
405
383
  - lib/cybersource_rest_client/models/inline_response_default_response_status_details.rb
406
- - lib/cybersource_rest_client/models/instrument_identifier.rb
407
384
  - lib/cybersource_rest_client/models/invoice_settings_request.rb
408
385
  - lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response.rb
409
386
  - lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb
@@ -435,15 +412,24 @@ files:
435
412
  - lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb
436
413
  - lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb
437
414
  - lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb
438
- - lib/cybersource_rest_client/models/json_web_key.rb
439
- - lib/cybersource_rest_client/models/key_parameters.rb
440
- - lib/cybersource_rest_client/models/key_result.rb
415
+ - lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response.rb
416
+ - lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response_key_information.rb
417
+ - lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response.rb
418
+ - lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response_key_information.rb
419
+ - lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response.rb
420
+ - lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_certificate_information.rb
421
+ - lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response_key_information.rb
422
+ - lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response.rb
423
+ - lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response_key_information.rb
424
+ - lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response.rb
425
+ - lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response_key_information.rb
426
+ - lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response.rb
427
+ - lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_error_information.rb
428
+ - lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response_key_information.rb
441
429
  - lib/cybersource_rest_client/models/kmsv2keysasym_key_information.rb
442
430
  - lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb
443
431
  - lib/cybersource_rest_client/models/kmsv2keyssym_key_information.rb
444
432
  - lib/cybersource_rest_client/models/kmsv2keyssymdeletes_key_information.rb
445
- - lib/cybersource_rest_client/models/link.rb
446
- - lib/cybersource_rest_client/models/links.rb
447
433
  - lib/cybersource_rest_client/models/mit_reversal_request.rb
448
434
  - lib/cybersource_rest_client/models/mit_void_request.rb
449
435
  - lib/cybersource_rest_client/models/oct_create_payment_request.rb
@@ -453,7 +439,6 @@ files:
453
439
  - lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb
454
440
  - lib/cybersource_rest_client/models/patch_payment_instrument_request.rb
455
441
  - lib/cybersource_rest_client/models/payer_auth_setup_request.rb
456
- - lib/cybersource_rest_client/models/payment_instrument.rb
457
442
  - lib/cybersource_rest_client/models/payment_instrument_list_for_customer.rb
458
443
  - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__embedded.rb
459
444
  - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links.rb
@@ -462,7 +447,6 @@ files:
462
447
  - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_next.rb
463
448
  - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_prev.rb
464
449
  - lib/cybersource_rest_client/models/payment_instrument_list_for_customer__links_self.rb
465
- - lib/cybersource_rest_client/models/payment_instrument_paginated.rb
466
450
  - lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb
467
451
  - lib/cybersource_rest_client/models/post_customer_request.rb
468
452
  - lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb
@@ -771,8 +755,6 @@ files:
771
755
  - lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb
772
756
  - lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb
773
757
  - lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb
774
- - lib/cybersource_rest_client/models/response_status.rb
775
- - lib/cybersource_rest_client/models/response_status_details.rb
776
758
  - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb
777
759
  - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb
778
760
  - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb
@@ -881,8 +863,6 @@ files:
881
863
  - lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information.rb
882
864
  - lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb
883
865
  - lib/cybersource_rest_client/models/search_request.rb
884
- - lib/cybersource_rest_client/models/self_link_bean.rb
885
- - lib/cybersource_rest_client/models/shipping_address.rb
886
866
  - lib/cybersource_rest_client/models/shipping_address_list_for_customer.rb
887
867
  - lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb
888
868
  - lib/cybersource_rest_client/models/shipping_address_list_for_customer__links.rb
@@ -891,11 +871,7 @@ files:
891
871
  - lib/cybersource_rest_client/models/shipping_address_list_for_customer__links_next.rb
892
872
  - lib/cybersource_rest_client/models/shipping_address_list_for_customer__links_prev.rb
893
873
  - lib/cybersource_rest_client/models/shipping_address_list_for_customer__links_self.rb
894
- - lib/cybersource_rest_client/models/shipping_address_paginated.rb
895
874
  - lib/cybersource_rest_client/models/tax_request.rb
896
- - lib/cybersource_rest_client/models/tms_error.rb
897
- - lib/cybersource_rest_client/models/tms_error_details.rb
898
- - lib/cybersource_rest_client/models/tms_error_response.rb
899
875
  - lib/cybersource_rest_client/models/tms_v2_customers_response.rb
900
876
  - lib/cybersource_rest_client/models/tmsv2customers__embedded.rb
901
877
  - lib/cybersource_rest_client/models/tmsv2customers__embedded_authorization_options.rb
@@ -947,9 +923,7 @@ files:
947
923
  - lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb
948
924
  - lib/cybersource_rest_client/models/tmsv2customers_metadata.rb
949
925
  - lib/cybersource_rest_client/models/tmsv2customers_object_information.rb
950
- - lib/cybersource_rest_client/models/tokenize_parameters.rb
951
- - lib/cybersource_rest_client/models/tokenize_parameters_card_info.rb
952
- - lib/cybersource_rest_client/models/tokenize_result.rb
926
+ - lib/cybersource_rest_client/models/tokenize_request.rb
953
927
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb
954
928
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response__links.rb
955
929
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb