cybersource_rest_client 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client.rb +3 -39
  3. data/lib/cybersource_rest_client/api/conversion_details_api.rb +4 -4
  4. data/lib/cybersource_rest_client/api/decision_manager_api.rb +2 -2
  5. data/lib/cybersource_rest_client/api/net_fundings_api.rb +4 -4
  6. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +4 -4
  7. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +4 -10
  8. data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -2
  9. data/lib/cybersource_rest_client/api/reports_api.rb +12 -25
  10. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -4
  11. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +6 -6
  12. data/lib/cybersource_rest_client/models/capture_payment_request.rb +1 -1
  13. data/lib/cybersource_rest_client/models/create_credit_request.rb +1 -1
  14. data/lib/cybersource_rest_client/models/create_payment_instrument_request.rb +2 -48
  15. data/lib/cybersource_rest_client/models/create_payment_request.rb +1 -1
  16. data/lib/cybersource_rest_client/models/create_search_request.rb +2 -2
  17. data/lib/cybersource_rest_client/models/embedded_instrument_identifier.rb +2 -48
  18. data/lib/cybersource_rest_client/models/file_detail.rb +1 -35
  19. data/lib/cybersource_rest_client/models/instrument_identifier.rb +2 -48
  20. data/lib/cybersource_rest_client/models/payment_instrument.rb +2 -48
  21. data/lib/cybersource_rest_client/models/payment_instrument_bank_account.rb +0 -34
  22. data/lib/cybersource_rest_client/models/payment_instrument_card.rb +2 -36
  23. data/lib/cybersource_rest_client/models/payment_instruments_for_instrument_identifier.rb +1 -35
  24. data/lib/cybersource_rest_client/models/personal_identification.rb +1 -35
  25. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +0 -34
  26. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +0 -34
  27. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +0 -46
  28. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +0 -34
  29. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +0 -34
  30. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details.rb +0 -34
  31. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +1 -1
  32. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +13 -37
  33. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
  34. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +2 -2
  35. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +7 -7
  36. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +15 -0
  37. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
  38. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +1 -1
  39. data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +0 -46
  40. data/lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb +1 -47
  41. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +0 -34
  42. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +1 -1
  43. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +0 -46
  44. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +0 -34
  45. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +3 -3
  46. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +0 -46
  47. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +0 -34
  48. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +0 -46
  49. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -34
  50. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_error_information.rb +0 -34
  51. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +1 -1
  52. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
  53. data/lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb +0 -34
  54. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +1 -1
  55. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
  56. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +9 -9
  57. data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +0 -34
  58. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +6 -6
  59. data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +5 -5
  60. data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +1 -1
  61. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +1 -1
  62. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +1 -1
  63. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +2 -2
  64. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +3 -3
  65. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -1
  66. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +1 -1
  67. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +7 -41
  68. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +32 -50
  69. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +1 -1
  70. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +4 -4
  71. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +1 -1
  72. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +1 -1
  73. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +3 -3
  74. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -1
  75. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +4 -26
  76. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -35
  77. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +2 -2
  78. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +1 -1
  79. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +2 -2
  80. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
  81. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +8 -8
  82. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +3 -3
  83. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +32 -16
  84. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +3 -3
  85. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +1 -1
  86. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +1 -1
  87. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +1 -1
  88. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +1 -1
  89. data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +14 -48
  90. data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
  91. data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
  92. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response.rb +1 -1
  93. data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_net_funding_summaries.rb +1 -34
  94. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +0 -22
  95. data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb +0 -22
  96. data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +2 -48
  97. data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response.rb +8 -8
  98. data/lib/cybersource_rest_client/models/{reporting_v3_reports_get200_response_reports.rb → reporting_v3_reports_get200_response_report_search_results.rb} +4 -62
  99. data/lib/cybersource_rest_client/models/reporting_v3_reports_id_get200_response.rb +3 -61
  100. data/lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb +1 -35
  101. data/lib/cybersource_rest_client/models/request_body.rb +1 -35
  102. data/lib/cybersource_rest_client/models/request_body_1.rb +2 -47
  103. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +1 -1
  104. data/lib/cybersource_rest_client/models/risk_v1_decisions_post400_response.rb +0 -34
  105. data/lib/cybersource_rest_client/models/riskv1decisions_card_verification.rb +1 -1
  106. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +5 -5
  107. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +1 -1
  108. data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +15 -15
  109. data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +1 -1
  110. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response.rb +1 -35
  111. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bank_account.rb +0 -34
  112. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_card.rb +2 -36
  113. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_bank_transfer_options.rb +0 -34
  114. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_instrument_identifier.rb +2 -48
  115. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_payment_instruments.rb +2 -48
  116. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_personal_identification.rb +1 -35
  117. data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response.rb +2 -48
  118. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +2 -2
  119. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +3 -3
  120. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
  121. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +5 -5
  122. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_error_information.rb +2 -2
  123. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +1 -1
  124. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +1 -1
  125. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +47 -31
  126. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +1 -1
  127. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +6 -6
  128. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +5 -5
  129. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +5 -5
  130. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb +3 -3
  131. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb +23 -34
  132. data/lib/cybersource_rest_client/models/{risk_v1_authentications_post400_response.rb → tss_v2_transactions_get200_response_payment_information_payment_type_funding_source.rb} +37 -38
  133. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
  134. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb +1 -1
  135. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +3 -3
  136. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +14 -4
  137. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +1 -1
  138. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +5 -5
  139. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +5 -5
  140. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_payment_type.rb +9 -9
  141. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +2 -2
  142. data/lib/cybersource_rest_client/models/{riskv1authentications_device_information_raw_data.rb → tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb} +17 -27
  143. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
  144. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +3 -3
  145. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +2 -2
  146. data/lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.rb +0 -34
  147. data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_account_information.rb +1 -34
  148. data/lib/cybersource_rest_client/models/update_payment_instrument_request.rb +2 -48
  149. data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -35
  150. metadata +5 -43
  151. data/lib/cybersource_rest_client/api/download_dtd_api.rb +0 -88
  152. data/lib/cybersource_rest_client/api/download_xsd_api.rb +0 -88
  153. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +0 -154
  154. data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +0 -275
  155. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +0 -349
  156. data/lib/cybersource_rest_client/models/request.rb +0 -210
  157. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +0 -285
  158. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +0 -324
  159. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +0 -294
  160. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information.rb +0 -429
  161. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information.rb +0 -183
  162. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details.rb +0 -199
  163. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +0 -214
  164. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb +0 -194
  165. data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -267
  166. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +0 -192
  167. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +0 -264
  168. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +0 -264
  169. data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +0 -196
  170. data/lib/cybersource_rest_client/models/riskv1authentications_client_reference_information.rb +0 -208
  171. data/lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb +0 -552
  172. data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +0 -285
  173. data/lib/cybersource_rest_client/models/riskv1authentications_merchant_information.rb +0 -199
  174. data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +0 -258
  175. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +0 -496
  176. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +0 -371
  177. data/lib/cybersource_rest_client/models/riskv1authentications_order_information_ship_to.rb +0 -434
  178. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +0 -192
  179. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +0 -291
  180. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +0 -291
  181. data/lib/cybersource_rest_client/models/riskv1authentications_recurring_payment_information.rb +0 -235
  182. data/lib/cybersource_rest_client/models/riskv1authentications_risk_information.rb +0 -183
  183. data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history.rb +0 -262
  184. data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history_account_history.rb +0 -209
  185. data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history_customer_account.rb +0 -279
  186. data/lib/cybersource_rest_client/models/riskv1authentications_travel_information.rb +0 -206
  187. data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb +0 -259
  188. data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_passengers.rb +0 -224
@@ -14,16 +14,16 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class TssV2TransactionsPost201ResponseEmbeddedPaymentInformationPaymentType
17
- # The type of payment method. This is required for non-credit card payment. Possible values: - BANK_TRANSFER - CARD (Default) - EWALLET - DIGITAL - DIRECT_DEBIT - INVOICE - PUSH_PAYMENT - CARRIER_BILLING - CASH - CHECK - CRYPTOGRAPHIC Please contact CyberSource Customer Support to enable the payment method of your choice and the value you should send in your payment request for this field.
18
- attr_accessor :type
17
+ # A Payment Type is an agreed means for a payee to receive legal tender from a payer. The way one pays for a commercial financial transaction. Examples: Card, Bank Transfer, Digital, Direct Debit.
18
+ attr_accessor :name
19
19
 
20
- # This is an optional field. Please contact CyberSource Customer Support to enable the payment method of your choice and the value you should send in your payment request for this field.
20
+ # A Payment Type is enabled through a Method. Examples: Visa, Master Card, ApplePay, iDeal
21
21
  attr_accessor :method
22
22
 
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
24
24
  def self.attribute_map
25
25
  {
26
- :'type' => :'type',
26
+ :'name' => :'name',
27
27
  :'method' => :'method'
28
28
  }
29
29
  end
@@ -31,7 +31,7 @@ module CyberSource
31
31
  # Attribute type mapping.
32
32
  def self.swagger_types
33
33
  {
34
- :'type' => :'String',
34
+ :'name' => :'String',
35
35
  :'method' => :'String'
36
36
  }
37
37
  end
@@ -44,8 +44,8 @@ module CyberSource
44
44
  # convert string to symbol for hash key
45
45
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
46
 
47
- if attributes.has_key?(:'type')
48
- self.type = attributes[:'type']
47
+ if attributes.has_key?(:'name')
48
+ self.name = attributes[:'name']
49
49
  end
50
50
 
51
51
  if attributes.has_key?(:'method')
@@ -71,7 +71,7 @@ module CyberSource
71
71
  def ==(o)
72
72
  return true if self.equal?(o)
73
73
  self.class == o.class &&
74
- type == o.type &&
74
+ name == o.name &&
75
75
  method == o.method
76
76
  end
77
77
 
@@ -84,7 +84,7 @@ module CyberSource
84
84
  # Calculates hash code according to all attributes.
85
85
  # @return [Fixnum] Hash code
86
86
  def hash
87
- [type, method].hash
87
+ [name, method].hash
88
88
  end
89
89
 
90
90
  # Builds the object from hash
@@ -20,7 +20,7 @@ module CyberSource
20
20
  # Terminal serial number assigned by the hardware manufacturer. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX. For details, see the `terminal_serial_number` field description in [Card-Present Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Retail_SCMP_API/html/wwhelp/wwhimpl/js/html/wwhelp.htm)
21
21
  attr_accessor :terminal_serial_number
22
22
 
23
- # The description for this field is not available.
23
+ # Value created by the client software that uniquely identifies the POS device. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only for specific CyberSource integrations. For details, see the `pos_device_id` field description in the [Card-Present Processing Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/Retail_SCMP_API/html/wwhelp/wwhimpl/js/html/wwhelp.htm)
24
24
  attr_accessor :device_id
25
25
 
26
26
  attr_accessor :partner
@@ -41,7 +41,7 @@ module CyberSource
41
41
  :'terminal_id' => :'String',
42
42
  :'terminal_serial_number' => :'String',
43
43
  :'device_id' => :'String',
44
- :'partner' => :'Ptsv2paymentsClientReferenceInformationPartner'
44
+ :'partner' => :'TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformationPartner'
45
45
  }
46
46
  end
47
47
 
@@ -13,26 +13,21 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class Riskv1authenticationsDeviceInformationRawData
17
- # Field that contains the device fingerprint data from the specified provider. The value should be Base64 encoded.
18
- attr_accessor :data
19
-
20
- # Possible values: - cardinal - inauth - threatmetrix
21
- attr_accessor :provider
16
+ class TssV2TransactionsPost201ResponseEmbeddedPointOfSaleInformationPartner
17
+ # Value that links the previous transaction to the current follow-on request. This value is assigned by the client software that is installed on the POS terminal, which makes it available to the terminal’s software and to CyberSource. Therefore, you can use this value to reconcile transactions between CyberSource and the terminal’s software. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
18
+ attr_accessor :original_transaction_id
22
19
 
23
20
  # Attribute mapping from ruby-style variable name to JSON key.
24
21
  def self.attribute_map
25
22
  {
26
- :'data' => :'data',
27
- :'provider' => :'provider'
23
+ :'original_transaction_id' => :'originalTransactionId'
28
24
  }
29
25
  end
30
26
 
31
27
  # Attribute type mapping.
32
28
  def self.swagger_types
33
29
  {
34
- :'data' => :'String',
35
- :'provider' => :'String'
30
+ :'original_transaction_id' => :'String'
36
31
  }
37
32
  end
38
33
 
@@ -44,12 +39,8 @@ module CyberSource
44
39
  # convert string to symbol for hash key
45
40
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
41
 
47
- if attributes.has_key?(:'data')
48
- self.data = attributes[:'data']
49
- end
50
-
51
- if attributes.has_key?(:'provider')
52
- self.provider = attributes[:'provider']
42
+ if attributes.has_key?(:'originalTransactionId')
43
+ self.original_transaction_id = attributes[:'originalTransactionId']
53
44
  end
54
45
  end
55
46
 
@@ -57,8 +48,8 @@ module CyberSource
57
48
  # @return Array for valid properties with the reasons
58
49
  def list_invalid_properties
59
50
  invalid_properties = Array.new
60
- if !@provider.nil? && @provider.to_s.length > 32
61
- invalid_properties.push('invalid value for "provider", the character length must be smaller than or equal to 32.')
51
+ if !@original_transaction_id.nil? && @original_transaction_id.to_s.length > 32
52
+ invalid_properties.push('invalid value for "original_transaction_id", the character length must be smaller than or equal to 32.')
62
53
  end
63
54
 
64
55
  invalid_properties
@@ -67,18 +58,18 @@ module CyberSource
67
58
  # Check to see if the all the properties in the model are valid
68
59
  # @return true if the model is valid
69
60
  def valid?
70
- return false if !@provider.nil? && @provider.to_s.length > 32
61
+ return false if !@original_transaction_id.nil? && @original_transaction_id.to_s.length > 32
71
62
  true
72
63
  end
73
64
 
74
65
  # Custom attribute writer method with validation
75
- # @param [Object] provider Value to be assigned
76
- def provider=(provider)
77
- if !provider.nil? && provider.to_s.length > 32
78
- fail ArgumentError, 'invalid value for "provider", the character length must be smaller than or equal to 32.'
66
+ # @param [Object] original_transaction_id Value to be assigned
67
+ def original_transaction_id=(original_transaction_id)
68
+ if !original_transaction_id.nil? && original_transaction_id.to_s.length > 32
69
+ fail ArgumentError, 'invalid value for "original_transaction_id", the character length must be smaller than or equal to 32.'
79
70
  end
80
71
 
81
- @provider = provider
72
+ @original_transaction_id = original_transaction_id
82
73
  end
83
74
 
84
75
  # Checks equality by comparing each attribute.
@@ -86,8 +77,7 @@ module CyberSource
86
77
  def ==(o)
87
78
  return true if self.equal?(o)
88
79
  self.class == o.class &&
89
- data == o.data &&
90
- provider == o.provider
80
+ original_transaction_id == o.original_transaction_id
91
81
  end
92
82
 
93
83
  # @see the `==` method
@@ -99,7 +89,7 @@ module CyberSource
99
89
  # Calculates hash code according to all attributes.
100
90
  # @return [Fixnum] Hash code
101
91
  def hash
102
- [data, provider].hash
92
+ [original_transaction_id].hash
103
93
  end
104
94
 
105
95
  # Builds the object from hash
@@ -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/wwhelp/wwhimpl/js/html/wwhelp.htm) - `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/wwhelp/wwhimpl/js/html/wwhelp.htm) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay.
18
18
  attr_accessor :payment_solution
19
19
 
20
- # The description for this field is not available.
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
23
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -14,13 +14,13 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class TssV2TransactionsPost201ResponseEmbeddedRiskInformationProvidersFingerprint
17
- # The description for this field is not available.
17
+ # Customer’s true IP address detected by the application. For details, see the `true_ipaddress` field description in [CyberSource Decision Manager Device Fingerprinting Guide.](https://www.cybersource.com/developers/documentation/fraud_management)
18
18
  attr_accessor :true_ipaddress
19
19
 
20
- # The description for this field is not available.
20
+ # The unique identifier of the device that is returned in the `riskInformation.providers.fingerprint.device_fingerprint_hash` API reply field. NOTE: For details about the value of this field, see the `decision_provider_#_field_#_value` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link). For more details about this field, see the `device_fingerprint_hash` field description in the _CyberSource Decision Manager Device Fingerprinting Guide_on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link)
21
21
  attr_accessor :hash
22
22
 
23
- # The description for this field is not available.
23
+ # The device identifier generated from attributes collected during profiling. Returned by a 3rd party when you use device fingerprinting. For details, see the `device_fingerprint_smart_id` field description in [CyberSource Decision Manager Device Fingerprinting Guide.](https://www.cybersource.com/developers/documentation/fraud_management)
24
24
  attr_accessor :smart_id
25
25
 
26
26
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -20,7 +20,7 @@ module CyberSource
20
20
  # 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.
21
21
  attr_accessor :submit_time_utc
22
22
 
23
- # The description for this field is not available.
23
+ # Your CyberSource merchant ID.
24
24
  attr_accessor :merchant_id
25
25
 
26
26
  attr_accessor :application_information
@@ -35,7 +35,7 @@ module CyberSource
35
35
 
36
36
  attr_accessor :fraud_marking_information
37
37
 
38
- # The description for this field is not available.
38
+ # The object containing the custom data that the merchant defines.
39
39
  attr_accessor :merchant_defined_information
40
40
 
41
41
  attr_accessor :merchant_information
@@ -25,28 +25,6 @@ module CyberSource
25
25
 
26
26
  attr_accessor :details
27
27
 
28
- class EnumAttributeValidator
29
- attr_reader :datatype
30
- attr_reader :allowable_values
31
-
32
- def initialize(datatype, allowable_values)
33
- @allowable_values = allowable_values.map do |value|
34
- case datatype.to_s
35
- when /Integer/i
36
- value.to_i
37
- when /Float/i
38
- value.to_f
39
- else
40
- value
41
- end
42
- end
43
- end
44
-
45
- def valid?(value)
46
- !value || allowable_values.include?(value)
47
- end
48
- end
49
-
50
28
  # Attribute mapping from ruby-style variable name to JSON key.
51
29
  def self.attribute_map
52
30
  {
@@ -104,21 +82,9 @@ module CyberSource
104
82
  # Check to see if the all the properties in the model are valid
105
83
  # @return true if the model is valid
106
84
  def valid?
107
- status_validator = EnumAttributeValidator.new('String', ['INVALID_REQUEST'])
108
- return false unless status_validator.valid?(@status)
109
85
  true
110
86
  end
111
87
 
112
- # Custom attribute writer method checking allowed values (enum).
113
- # @param [Object] status Object to be assigned
114
- def status=(status)
115
- validator = EnumAttributeValidator.new('String', ['INVALID_REQUEST'])
116
- unless validator.valid?(status)
117
- fail ArgumentError, 'invalid value for "status", must be one of #{validator.allowable_values}.'
118
- end
119
- @status = status
120
- end
121
-
122
88
  # Checks equality by comparing each attribute.
123
89
  # @param [Object] Object to be compared
124
90
  def ==(o)
@@ -20,6 +20,7 @@ module CyberSource
20
20
 
21
21
  attr_accessor :permissions
22
22
 
23
+ # Valid values: - active - inactive - locked - disabled - forgotpassword - deleted
23
24
  attr_accessor :status
24
25
 
25
26
  attr_accessor :created_time
@@ -30,28 +31,6 @@ module CyberSource
30
31
 
31
32
  attr_accessor :timezone
32
33
 
33
- class EnumAttributeValidator
34
- attr_reader :datatype
35
- attr_reader :allowable_values
36
-
37
- def initialize(datatype, allowable_values)
38
- @allowable_values = allowable_values.map do |value|
39
- case datatype.to_s
40
- when /Integer/i
41
- value.to_i
42
- when /Float/i
43
- value.to_f
44
- else
45
- value
46
- end
47
- end
48
- end
49
-
50
- def valid?(value)
51
- !value || allowable_values.include?(value)
52
- end
53
- end
54
-
55
34
  # Attribute mapping from ruby-style variable name to JSON key.
56
35
  def self.attribute_map
57
36
  {
@@ -133,21 +112,9 @@ module CyberSource
133
112
  # Check to see if the all the properties in the model are valid
134
113
  # @return true if the model is valid
135
114
  def valid?
136
- status_validator = EnumAttributeValidator.new('String', ['active', 'inactive', 'locked', 'disabled', 'forgotpassword', 'deleted'])
137
- return false unless status_validator.valid?(@status)
138
115
  true
139
116
  end
140
117
 
141
- # Custom attribute writer method checking allowed values (enum).
142
- # @param [Object] status Object to be assigned
143
- def status=(status)
144
- validator = EnumAttributeValidator.new('String', ['active', 'inactive', 'locked', 'disabled', 'forgotpassword', 'deleted'])
145
- unless validator.valid?(status)
146
- fail ArgumentError, 'invalid value for "status", must be one of #{validator.allowable_values}.'
147
- end
148
- @status = status
149
- end
150
-
151
118
  # Checks equality by comparing each attribute.
152
119
  # @param [Object] Object to be compared
153
120
  def ==(o)
@@ -19,10 +19,10 @@ module CyberSource
19
19
  # Unique identification number assigned by CyberSource to the submitted request.
20
20
  attr_accessor :id
21
21
 
22
- # Describes type of token.
22
+ # 'Describes type of token.' Valid values: - paymentInstrument
23
23
  attr_accessor :object
24
24
 
25
- # Current state of the token.
25
+ # 'Current state of the token.' Valid values: - ACTIVE - CLOSED
26
26
  attr_accessor :state
27
27
 
28
28
  attr_accessor :bank_account
@@ -41,28 +41,6 @@ module CyberSource
41
41
 
42
42
  attr_accessor :instrument_identifier
43
43
 
44
- class EnumAttributeValidator
45
- attr_reader :datatype
46
- attr_reader :allowable_values
47
-
48
- def initialize(datatype, allowable_values)
49
- @allowable_values = allowable_values.map do |value|
50
- case datatype.to_s
51
- when /Integer/i
52
- value.to_i
53
- when /Float/i
54
- value.to_f
55
- else
56
- value
57
- end
58
- end
59
- end
60
-
61
- def valid?(value)
62
- !value || allowable_values.include?(value)
63
- end
64
- end
65
-
66
44
  # Attribute mapping from ruby-style variable name to JSON key.
67
45
  def self.attribute_map
68
46
  {
@@ -166,33 +144,9 @@ module CyberSource
166
144
  # Check to see if the all the properties in the model are valid
167
145
  # @return true if the model is valid
168
146
  def valid?
169
- object_validator = EnumAttributeValidator.new('String', ['paymentInstrument'])
170
- return false unless object_validator.valid?(@object)
171
- state_validator = EnumAttributeValidator.new('String', ['ACTIVE', 'CLOSED'])
172
- return false unless state_validator.valid?(@state)
173
147
  true
174
148
  end
175
149
 
176
- # Custom attribute writer method checking allowed values (enum).
177
- # @param [Object] object Object to be assigned
178
- def object=(object)
179
- validator = EnumAttributeValidator.new('String', ['paymentInstrument'])
180
- unless validator.valid?(object)
181
- fail ArgumentError, 'invalid value for "object", must be one of #{validator.allowable_values}.'
182
- end
183
- @object = object
184
- end
185
-
186
- # Custom attribute writer method checking allowed values (enum).
187
- # @param [Object] state Object to be assigned
188
- def state=(state)
189
- validator = EnumAttributeValidator.new('String', ['ACTIVE', 'CLOSED'])
190
- unless validator.valid?(state)
191
- fail ArgumentError, 'invalid value for "state", must be one of #{validator.allowable_values}.'
192
- end
193
- @state = state
194
- end
195
-
196
150
  # Checks equality by comparing each attribute.
197
151
  # @param [Object] Object to be compared
198
152
  def ==(o)
@@ -29,34 +29,12 @@ module CyberSource
29
29
  # Date and time for the file in PST
30
30
  attr_accessor :date
31
31
 
32
- # File extension
32
+ # 'File extension' Valid values: - 'application/xml' - 'text/csv' - 'application/pdf' - 'application/octet-stream'
33
33
  attr_accessor :mime_type
34
34
 
35
35
  # Size of the file in bytes
36
36
  attr_accessor :size
37
37
 
38
- class EnumAttributeValidator
39
- attr_reader :datatype
40
- attr_reader :allowable_values
41
-
42
- def initialize(datatype, allowable_values)
43
- @allowable_values = allowable_values.map do |value|
44
- case datatype.to_s
45
- when /Integer/i
46
- value.to_i
47
- when /Float/i
48
- value.to_f
49
- else
50
- value
51
- end
52
- end
53
- end
54
-
55
- def valid?(value)
56
- !value || allowable_values.include?(value)
57
- end
58
- end
59
-
60
38
  # Attribute mapping from ruby-style variable name to JSON key.
61
39
  def self.attribute_map
62
40
  {
@@ -130,21 +108,9 @@ module CyberSource
130
108
  # Check to see if the all the properties in the model are valid
131
109
  # @return true if the model is valid
132
110
  def valid?
133
- mime_type_validator = EnumAttributeValidator.new('String', ['application/xml', 'text/csv', 'application/pdf', 'application/octet-stream'])
134
- return false unless mime_type_validator.valid?(@mime_type)
135
111
  true
136
112
  end
137
113
 
138
- # Custom attribute writer method checking allowed values (enum).
139
- # @param [Object] mime_type Object to be assigned
140
- def mime_type=(mime_type)
141
- validator = EnumAttributeValidator.new('String', ['application/xml', 'text/csv', 'application/pdf', 'application/octet-stream'])
142
- unless validator.valid?(mime_type)
143
- fail ArgumentError, 'invalid value for "mime_type", must be one of #{validator.allowable_values}.'
144
- end
145
- @mime_type = mime_type
146
- end
147
-
148
114
  # Checks equality by comparing each attribute.
149
115
  # @param [Object] Object to be compared
150
116
  def ==(o)