cybersource_rest_client 0.0.5 → 0.0.6

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 (198) hide show
  1. checksums.yaml +4 -4
  2. data/AuthenticationSDK/AuthenticationSDK-0.0.1.gem +0 -0
  3. data/lib/cybersource_rest_client/api/capture_api.rb +3 -3
  4. data/lib/cybersource_rest_client/api/credit_api.rb +3 -3
  5. data/lib/cybersource_rest_client/api/flex_token_api.rb +3 -3
  6. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +12 -12
  7. data/lib/cybersource_rest_client/api/instrument_identifiers_api.rb +3 -3
  8. data/lib/cybersource_rest_client/api/key_generation_api.rb +3 -3
  9. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +3 -3
  10. data/lib/cybersource_rest_client/api/payment_instruments_api.rb +18 -18
  11. data/lib/cybersource_rest_client/api/payments_api.rb +4 -4
  12. data/lib/cybersource_rest_client/api/process_a_payout_api.rb +2 -2
  13. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -2
  14. data/lib/cybersource_rest_client/api/refund_api.rb +6 -6
  15. data/lib/cybersource_rest_client/api/report_definitions_api.rb +6 -6
  16. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +7 -7
  17. data/lib/cybersource_rest_client/api/reports_api.rb +7 -6
  18. data/lib/cybersource_rest_client/api/reversal_api.rb +4 -4
  19. data/lib/cybersource_rest_client/api/search_transactions_api.rb +6 -6
  20. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +3 -3
  21. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +4 -4
  22. data/lib/cybersource_rest_client/api/transaction_details_api.rb +3 -3
  23. data/lib/cybersource_rest_client/api/user_management_api.rb +4 -4
  24. data/lib/cybersource_rest_client/api/void_api.rb +12 -12
  25. data/lib/cybersource_rest_client/api_client.rb +1 -1
  26. data/lib/cybersource_rest_client/models/{inline_response_200.rb → flex_v1_keys_post200_response.rb} +3 -3
  27. data/lib/cybersource_rest_client/models/{inline_response_200_der.rb → flex_v1_keys_post200_response_der.rb} +1 -1
  28. data/lib/cybersource_rest_client/models/{inline_response_200_jwk.rb → flex_v1_keys_post200_response_jwk.rb} +1 -1
  29. data/lib/cybersource_rest_client/models/{inline_response_200_1.rb → flex_v1_tokens_post200_response.rb} +1 -1
  30. data/lib/cybersource_rest_client/models/inline_response_400.rb +10 -79
  31. data/lib/cybersource_rest_client/models/key_result.rb +2 -2
  32. data/lib/cybersource_rest_client/models/{inline_response_200_2.rb → pts_v1_transaction_batches_get200_response.rb} +3 -3
  33. data/lib/cybersource_rest_client/models/{inline_response_201_1__links.rb → pts_v1_transaction_batches_get200_response__links.rb} +2 -2
  34. data/lib/cybersource_rest_client/models/{inline_response_200_9__links_self.rb → pts_v1_transaction_batches_get200_response__links_self.rb} +1 -1
  35. data/lib/cybersource_rest_client/models/{inline_response_200_2_transaction_batches.rb → pts_v1_transaction_batches_get200_response_transaction_batches.rb} +1 -1
  36. data/lib/cybersource_rest_client/models/{inline_response_400_5.rb → pts_v1_transaction_batches_get400_response.rb} +2 -2
  37. data/lib/cybersource_rest_client/models/{inline_response_400_5_error_information.rb → pts_v1_transaction_batches_get400_response_error_information.rb} +2 -2
  38. data/lib/cybersource_rest_client/models/{inline_response_400_5_error_information_details.rb → pts_v1_transaction_batches_get400_response_error_information_details.rb} +1 -1
  39. data/lib/cybersource_rest_client/models/{inline_response_500.rb → pts_v1_transaction_batches_get500_response.rb} +2 -2
  40. data/lib/cybersource_rest_client/models/{inline_response_500_error_information.rb → pts_v1_transaction_batches_get500_response_error_information.rb} +1 -1
  41. data/lib/cybersource_rest_client/models/{inline_response_201_4.rb → pts_v2_credits_post201_response.rb} +6 -6
  42. data/lib/cybersource_rest_client/models/{inline_response_201_4_credit_amount_details.rb → pts_v2_credits_post201_response_credit_amount_details.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{inline_response_201_2.rb → pts_v2_payments_captures_post201_response.rb} +5 -5
  44. data/lib/cybersource_rest_client/models/{inline_response_201_2__links.rb → pts_v2_payments_captures_post201_response__links.rb} +4 -4
  45. data/lib/cybersource_rest_client/models/{inline_response_201_order_information.rb → pts_v2_payments_captures_post201_response_order_information.rb} +3 -3
  46. data/lib/cybersource_rest_client/models/{inline_response_201_2_order_information_amount_details.rb → pts_v2_payments_captures_post201_response_order_information_amount_details.rb} +1 -1
  47. data/lib/cybersource_rest_client/models/{inline_response_201_2_processor_information.rb → pts_v2_payments_captures_post201_response_processor_information.rb} +1 -1
  48. data/lib/cybersource_rest_client/models/{inline_response_400_2.rb → pts_v2_payments_captures_post400_response.rb} +2 -2
  49. data/lib/cybersource_rest_client/models/{inline_response_201.rb → pts_v2_payments_post201_response.rb} +8 -8
  50. data/lib/cybersource_rest_client/models/{inline_response_201__links.rb → pts_v2_payments_post201_response__links.rb} +4 -4
  51. data/lib/cybersource_rest_client/models/{inline_response_201__links_self.rb → pts_v2_payments_post201_response__links_self.rb} +1 -1
  52. data/lib/cybersource_rest_client/models/{inline_response_201_client_reference_information.rb → pts_v2_payments_post201_response_client_reference_information.rb} +1 -1
  53. data/lib/cybersource_rest_client/models/{inline_response_201_error_information.rb → pts_v2_payments_post201_response_error_information.rb} +2 -2
  54. data/lib/cybersource_rest_client/models/{inline_response_201_error_information_details.rb → pts_v2_payments_post201_response_error_information_details.rb} +1 -1
  55. data/lib/cybersource_rest_client/models/{inline_response_201_2_order_information.rb → pts_v2_payments_post201_response_order_information.rb} +3 -3
  56. data/lib/cybersource_rest_client/models/{inline_response_201_order_information_amount_details.rb → pts_v2_payments_post201_response_order_information_amount_details.rb} +1 -1
  57. data/lib/cybersource_rest_client/models/{inline_response_201_order_information_invoice_details.rb → pts_v2_payments_post201_response_order_information_invoice_details.rb} +1 -1
  58. data/lib/cybersource_rest_client/models/{inline_response_201_payment_information.rb → pts_v2_payments_post201_response_payment_information.rb} +4 -4
  59. data/lib/cybersource_rest_client/models/{inline_response_201_payment_information_account_features.rb → pts_v2_payments_post201_response_payment_information_account_features.rb} +1 -1
  60. data/lib/cybersource_rest_client/models/{inline_response_201_payment_information_card.rb → pts_v2_payments_post201_response_payment_information_card.rb} +1 -1
  61. data/lib/cybersource_rest_client/models/{inline_response_201_payment_information_tokenized_card.rb → pts_v2_payments_post201_response_payment_information_tokenized_card.rb} +1 -1
  62. data/lib/cybersource_rest_client/models/{inline_response_201_point_of_sale_information.rb → pts_v2_payments_post201_response_point_of_sale_information.rb} +2 -2
  63. data/lib/cybersource_rest_client/models/{inline_response_201_point_of_sale_information_emv.rb → pts_v2_payments_post201_response_point_of_sale_information_emv.rb} +1 -1
  64. data/lib/cybersource_rest_client/models/{inline_response_201_processor_information.rb → pts_v2_payments_post201_response_processor_information.rb} +8 -8
  65. data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_avs.rb → pts_v2_payments_post201_response_processor_information_avs.rb} +1 -4
  66. data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_card_verification.rb → pts_v2_payments_post201_response_processor_information_card_verification.rb} +1 -1
  67. data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_consumer_authentication_response.rb → pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb} +1 -1
  68. data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_customer.rb → pts_v2_payments_post201_response_processor_information_customer.rb} +1 -1
  69. data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_electronic_verification_results.rb → pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb} +1 -1
  70. data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_issuer.rb → pts_v2_payments_post201_response_processor_information_issuer.rb} +1 -1
  71. data/lib/cybersource_rest_client/models/{inline_response_201_processor_information_merchant_advice.rb → pts_v2_payments_post201_response_processor_information_merchant_advice.rb} +1 -1
  72. data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +271 -0
  73. data/lib/cybersource_rest_client/models/{inline_response_502.rb → pts_v2_payments_post502_response.rb} +1 -1
  74. data/lib/cybersource_rest_client/models/{inline_response_201_3.rb → pts_v2_payments_refund_post201_response.rb} +6 -6
  75. data/lib/cybersource_rest_client/models/{inline_response_201_3__links.rb → pts_v2_payments_refund_post201_response__links.rb} +3 -3
  76. data/lib/cybersource_rest_client/models/{inline_response_201_3_order_information.rb → pts_v2_payments_refund_post201_response_order_information.rb} +2 -2
  77. data/lib/cybersource_rest_client/models/{inline_response_201_3_processor_information.rb → pts_v2_payments_refund_post201_response_processor_information.rb} +1 -1
  78. data/lib/cybersource_rest_client/models/{inline_response_201_3_refund_amount_details.rb → pts_v2_payments_refund_post201_response_refund_amount_details.rb} +1 -1
  79. data/lib/cybersource_rest_client/models/{inline_response_400_3.rb → pts_v2_payments_refund_post400_response.rb} +2 -2
  80. data/lib/cybersource_rest_client/models/{inline_response_201_1.rb → pts_v2_payments_reversals_post201_response.rb} +6 -6
  81. data/lib/cybersource_rest_client/models/{inline_response_200_2__links.rb → pts_v2_payments_reversals_post201_response__links.rb} +2 -2
  82. data/lib/cybersource_rest_client/models/{inline_response_201_1_authorization_information.rb → pts_v2_payments_reversals_post201_response_authorization_information.rb} +1 -1
  83. data/lib/cybersource_rest_client/models/{inline_response_201_1_processor_information.rb → pts_v2_payments_reversals_post201_response_processor_information.rb} +1 -1
  84. data/lib/cybersource_rest_client/models/{inline_response_201_1_reversal_amount_details.rb → pts_v2_payments_reversals_post201_response_reversal_amount_details.rb} +1 -1
  85. data/lib/cybersource_rest_client/models/{inline_response_400_1.rb → pts_v2_payments_reversals_post400_response.rb} +2 -2
  86. data/lib/cybersource_rest_client/models/{inline_response_201_5.rb → pts_v2_payments_voids_post201_response.rb} +4 -4
  87. data/lib/cybersource_rest_client/models/{inline_response_201_5_void_amount_details.rb → pts_v2_payments_voids_post201_response_void_amount_details.rb} +1 -1
  88. data/lib/cybersource_rest_client/models/{inline_response_400_4.rb → pts_v2_payments_voids_post400_response.rb} +2 -2
  89. data/lib/cybersource_rest_client/models/{inline_response_400_6.rb → pts_v2_payouts_post400_response.rb} +2 -2
  90. data/lib/cybersource_rest_client/models/{oct_create_payment_request.rb → pts_v2_payouts_post_response.rb} +2 -2
  91. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information.rb +1 -1
  92. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +0 -6
  93. data/lib/cybersource_rest_client/models/{inline_response_200_3.rb → reporting_v3_notificationof_changes_get200_response.rb} +2 -2
  94. data/lib/cybersource_rest_client/models/{inline_response_200_3_notification_of_changes.rb → reporting_v3_notificationof_changes_get200_response_notification_of_changes.rb} +1 -1
  95. data/lib/cybersource_rest_client/models/{inline_response_400_7.rb → reporting_v3_notificationof_changes_get400_response.rb} +2 -2
  96. data/lib/cybersource_rest_client/models/{inline_response_400_7_fields.rb → reporting_v3_notificationof_changes_get400_response_fields.rb} +1 -1
  97. data/lib/cybersource_rest_client/models/{inline_response_200_4.rb → reporting_v3_report_definitions_get200_response.rb} +2 -2
  98. data/lib/cybersource_rest_client/models/{inline_response_200_4_report_definitions.rb → reporting_v3_report_definitions_get200_response_report_definitions.rb} +1 -1
  99. data/lib/cybersource_rest_client/models/{inline_response_200_5.rb → reporting_v3_report_definitions_name_get200_response.rb} +2 -2
  100. data/lib/cybersource_rest_client/models/{inline_response_200_5_attributes.rb → reporting_v3_report_definitions_name_get200_response_attributes.rb} +1 -1
  101. data/lib/cybersource_rest_client/models/{inline_response_200_6.rb → reporting_v3_report_subscriptions_get200_response.rb} +2 -2
  102. data/lib/cybersource_rest_client/models/{inline_response_200_6_report_preferences.rb → reporting_v3_report_subscriptions_get200_response_report_preferences.rb} +1 -1
  103. data/lib/cybersource_rest_client/models/{inline_response_200_6_subscriptions.rb → reporting_v3_report_subscriptions_get200_response_subscriptions.rb} +2 -2
  104. data/lib/cybersource_rest_client/models/{inline_response_200_7.rb → reporting_v3_reports_get200_response.rb} +2 -2
  105. data/lib/cybersource_rest_client/models/{inline_response_200_7_reports.rb → reporting_v3_reports_get200_response_reports.rb} +1 -1
  106. data/lib/cybersource_rest_client/models/{inline_response_200_8.rb → reporting_v3_reports_id_get200_response.rb} +5 -5
  107. data/lib/cybersource_rest_client/models/request_body.rb +1 -1
  108. data/lib/cybersource_rest_client/models/request_body_1.rb +1 -1
  109. data/lib/cybersource_rest_client/models/{inline_response_409.rb → tms_v1_instrumentidentifiers_delete409_response.rb} +2 -2
  110. data/lib/cybersource_rest_client/models/{inline_response_409__links.rb → tms_v1_instrumentidentifiers_delete409_response__links.rb} +2 -2
  111. data/lib/cybersource_rest_client/models/{inline_response_409__links_payment_instruments.rb → tms_v1_instrumentidentifiers_delete409_response__links_payment_instruments.rb} +1 -1
  112. data/lib/cybersource_rest_client/models/{inline_response_200_11.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response.rb} +2 -2
  113. data/lib/cybersource_rest_client/models/{inline_response_200_11__links.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links.rb} +6 -6
  114. data/lib/cybersource_rest_client/models/{inline_response_200_11__links_first.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_first.rb} +1 -1
  115. data/lib/cybersource_rest_client/models/{inline_response_200_11__links_last.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_last.rb} +1 -1
  116. data/lib/cybersource_rest_client/models/{inline_response_200_11__links_next.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_next.rb} +1 -1
  117. data/lib/cybersource_rest_client/models/{inline_response_200_11__links_prev.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_prev.rb} +1 -1
  118. data/lib/cybersource_rest_client/models/{inline_response_200_11__links_self.rb → tms_v1_instrumentidentifiers_paymentinstruments_get200_response__links_self.rb} +1 -1
  119. data/lib/cybersource_rest_client/models/{inline_response_200_10.rb → tms_v1_instrumentidentifiers_post200_response.rb} +1 -1
  120. data/lib/cybersource_rest_client/models/{inline_response_201_6.rb → tms_v1_paymentinstruments_post201_response.rb} +1 -1
  121. data/lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_processing_information_authorization_options_initiator.rb +1 -1
  122. data/lib/cybersource_rest_client/models/{inline_response_200_12.rb → tss_v2_transactions_get200_response.rb} +19 -19
  123. data/lib/cybersource_rest_client/models/{inline_response_200_12_application_information.rb → tss_v2_transactions_get200_response_application_information.rb} +2 -2
  124. data/lib/cybersource_rest_client/models/{inline_response_200_12_application_information_applications.rb → tss_v2_transactions_get200_response_application_information_applications.rb} +1 -1
  125. data/lib/cybersource_rest_client/models/{inline_response_200_12_buyer_information.rb → tss_v2_transactions_get200_response_buyer_information.rb} +1 -1
  126. data/lib/cybersource_rest_client/models/{inline_response_200_12_client_reference_information.rb → tss_v2_transactions_get200_response_client_reference_information.rb} +1 -1
  127. data/lib/cybersource_rest_client/models/{inline_response_200_12_consumer_authentication_information.rb → tss_v2_transactions_get200_response_consumer_authentication_information.rb} +1 -1
  128. data/lib/cybersource_rest_client/models/{inline_response_200_12_device_information.rb → tss_v2_transactions_get200_response_device_information.rb} +1 -1
  129. data/lib/cybersource_rest_client/models/{inline_response_200_12_error_information.rb → tss_v2_transactions_get200_response_error_information.rb} +2 -2
  130. data/lib/cybersource_rest_client/models/{inline_response_200_12_fraud_marking_information.rb → tss_v2_transactions_get200_response_fraud_marking_information.rb} +1 -1
  131. data/lib/cybersource_rest_client/models/{inline_response_200_12_installment_information.rb → tss_v2_transactions_get200_response_installment_information.rb} +1 -1
  132. data/lib/cybersource_rest_client/models/{inline_response_200_12_merchant_defined_information.rb → tss_v2_transactions_get200_response_merchant_defined_information.rb} +1 -1
  133. data/lib/cybersource_rest_client/models/{inline_response_200_12_merchant_information.rb → tss_v2_transactions_get200_response_merchant_information.rb} +2 -2
  134. data/lib/cybersource_rest_client/models/{inline_response_200_12_merchant_information_merchant_descriptor.rb → tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.rb} +1 -1
  135. data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information.rb → tss_v2_transactions_get200_response_order_information.rb} +6 -6
  136. data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information_amount_details.rb → tss_v2_transactions_get200_response_order_information_amount_details.rb} +1 -1
  137. data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information_bill_to.rb → tss_v2_transactions_get200_response_order_information_bill_to.rb} +1 -1
  138. data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information_line_items.rb → tss_v2_transactions_get200_response_order_information_line_items.rb} +1 -1
  139. data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information_ship_to.rb → tss_v2_transactions_get200_response_order_information_ship_to.rb} +1 -1
  140. data/lib/cybersource_rest_client/models/{inline_response_200_12_order_information_shipping_details.rb → tss_v2_transactions_get200_response_order_information_shipping_details.rb} +1 -1
  141. data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information.rb → tss_v2_transactions_get200_response_payment_information.rb} +6 -6
  142. data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_account_features.rb → tss_v2_transactions_get200_response_payment_information_account_features.rb} +1 -1
  143. data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_bank.rb → tss_v2_transactions_get200_response_payment_information_bank.rb} +3 -3
  144. data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_bank_account.rb → tss_v2_transactions_get200_response_payment_information_bank_account.rb} +1 -1
  145. data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_bank_mandate.rb → tss_v2_transactions_get200_response_payment_information_bank_mandate.rb} +1 -1
  146. data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_card.rb → tss_v2_transactions_get200_response_payment_information_card.rb} +2 -6
  147. data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_invoice.rb → tss_v2_transactions_get200_response_payment_information_invoice.rb} +1 -1
  148. data/lib/cybersource_rest_client/models/{inline_response_200_12_payment_information_payment_type.rb → tss_v2_transactions_get200_response_payment_information_payment_type.rb} +1 -1
  149. data/lib/cybersource_rest_client/models/{inline_response_200_12_point_of_sale_information.rb → tss_v2_transactions_get200_response_point_of_sale_information.rb} +1 -1
  150. data/lib/cybersource_rest_client/models/{inline_response_200_12_processing_information.rb → tss_v2_transactions_get200_response_processing_information.rb} +3 -3
  151. data/lib/cybersource_rest_client/models/{inline_response_200_12_processing_information_authorization_options.rb → tss_v2_transactions_get200_response_processing_information_authorization_options.rb} +1 -1
  152. data/lib/cybersource_rest_client/models/{inline_response_200_12_processing_information_bank_transfer_options.rb → tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb} +1 -1
  153. data/lib/cybersource_rest_client/models/{inline_response_200_12_processor_information.rb → tss_v2_transactions_get200_response_processor_information.rb} +6 -6
  154. data/lib/cybersource_rest_client/models/{inline_response_200_12_processor_information_ach_verification.rb → tss_v2_transactions_get200_response_processor_information_ach_verification.rb} +1 -1
  155. data/lib/cybersource_rest_client/models/{inline_response_200_12_processor_information_card_verification.rb → tss_v2_transactions_get200_response_processor_information_card_verification.rb} +1 -1
  156. data/lib/cybersource_rest_client/models/{inline_response_200_12_processor_information_electronic_verification_results.rb → tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb} +1 -1
  157. data/lib/cybersource_rest_client/models/{inline_response_200_12_processor_information_processor.rb → tss_v2_transactions_get200_response_processor_information_processor.rb} +1 -1
  158. data/lib/cybersource_rest_client/models/{inline_response_200_12_risk_information.rb → tss_v2_transactions_get200_response_risk_information.rb} +6 -6
  159. data/lib/cybersource_rest_client/models/{inline_response_200_12_risk_information_profile.rb → tss_v2_transactions_get200_response_risk_information_profile.rb} +1 -1
  160. data/lib/cybersource_rest_client/models/{inline_response_200_12_risk_information_score.rb → tss_v2_transactions_get200_response_risk_information_score.rb} +1 -1
  161. data/lib/cybersource_rest_client/models/{inline_response_200_12_sender_information.rb → tss_v2_transactions_get200_response_sender_information.rb} +1 -1
  162. data/lib/cybersource_rest_client/models/{inline_response_201_7.rb → tss_v2_transactions_post201_response.rb} +3 -3
  163. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded.rb → tss_v2_transactions_post201_response__embedded.rb} +2 -2
  164. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded__links.rb → tss_v2_transactions_post201_response__embedded__links.rb} +2 -2
  165. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_buyer_information.rb → tss_v2_transactions_post201_response__embedded_buyer_information.rb} +1 -1
  166. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_client_reference_information.rb → tss_v2_transactions_post201_response__embedded_client_reference_information.rb} +1 -1
  167. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_consumer_authentication_information.rb → tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb} +1 -1
  168. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_device_information.rb → tss_v2_transactions_post201_response__embedded_device_information.rb} +1 -1
  169. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_merchant_information.rb → tss_v2_transactions_post201_response__embedded_merchant_information.rb} +1 -1
  170. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_order_information.rb → tss_v2_transactions_post201_response__embedded_order_information.rb} +3 -3
  171. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_order_information_bill_to.rb → tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb} +1 -1
  172. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_order_information_ship_to.rb → tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb} +1 -1
  173. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_payment_information.rb → tss_v2_transactions_post201_response__embedded_payment_information.rb} +3 -3
  174. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_payment_information_card.rb → tss_v2_transactions_post201_response__embedded_payment_information_card.rb} +1 -1
  175. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_payment_information_payment_method.rb → tss_v2_transactions_post201_response__embedded_payment_information_payment_method.rb} +1 -1
  176. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_point_of_sale_information.rb → tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb} +2 -2
  177. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_point_of_sale_information_partner.rb → tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb} +1 -1
  178. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_processing_information.rb → tss_v2_transactions_post201_response__embedded_processing_information.rb} +1 -1
  179. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_processor_information.rb → tss_v2_transactions_post201_response__embedded_processor_information.rb} +2 -2
  180. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_risk_information.rb → tss_v2_transactions_post201_response__embedded_risk_information.rb} +2 -2
  181. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_risk_information_providers.rb → tss_v2_transactions_post201_response__embedded_risk_information_providers.rb} +2 -2
  182. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_risk_information_providers_fingerprint.rb → tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb} +1 -1
  183. data/lib/cybersource_rest_client/models/{inline_response_201_7__embedded_transaction_summaries.rb → tss_v2_transactions_post201_response__embedded_transaction_summaries.rb} +16 -16
  184. data/lib/cybersource_rest_client/models/{inline_response_400_9.rb → tss_v2_transactions_post400_response.rb} +2 -2
  185. data/lib/cybersource_rest_client/models/{create_search_request.rb → tss_v2_transactions_post_response.rb} +1 -1
  186. data/lib/cybersource_rest_client/models/{inline_response_200_13.rb → ums_v1_users_get200_response.rb} +2 -2
  187. data/lib/cybersource_rest_client/models/{inline_response_200_13_account_information.rb → ums_v1_users_get200_response_account_information.rb} +1 -1
  188. data/lib/cybersource_rest_client/models/{inline_response_200_13_contact_information.rb → ums_v1_users_get200_response_contact_information.rb} +1 -1
  189. data/lib/cybersource_rest_client/models/{inline_response_200_13_organization_information.rb → ums_v1_users_get200_response_organization_information.rb} +1 -1
  190. data/lib/cybersource_rest_client/models/{inline_response_200_13_users.rb → ums_v1_users_get200_response_users.rb} +4 -4
  191. data/lib/cybersource_rest_client/models/{inline_response_200_9.rb → v1_file_details_get200_response.rb} +3 -3
  192. data/lib/cybersource_rest_client/models/{inline_response_200_9__links.rb → v1_file_details_get200_response__links.rb} +3 -3
  193. data/lib/cybersource_rest_client/models/{inline_response_200_9__links_files.rb → v1_file_details_get200_response__links_files.rb} +1 -1
  194. data/lib/cybersource_rest_client/models/{inline_response_200_2__links_self.rb → v1_file_details_get200_response__links_self.rb} +1 -1
  195. data/lib/cybersource_rest_client/models/{inline_response_200_9_file_details.rb → v1_file_details_get200_response_file_details.rb} +1 -1
  196. data/lib/cybersource_rest_client.rb +163 -163
  197. metadata +166 -165
  198. data/lib/cybersource_rest_client/models/inline_response_400_8.rb +0 -202
@@ -0,0 +1,271 @@
1
+ =begin
2
+ #CyberSource Flex API
3
+
4
+ #Simple PAN tokenization service
5
+
6
+ OpenAPI spec version: 0.0.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class PtsV2PaymentsPost400Response
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.
18
+ attr_accessor :submit_time_utc
19
+
20
+ # The status of the submitted transaction.
21
+ attr_accessor :status
22
+
23
+ # The reason of the status.
24
+ attr_accessor :reason
25
+
26
+ # The detail message related to the status and reason listed above.
27
+ attr_accessor :message
28
+
29
+ attr_accessor :details
30
+
31
+ class EnumAttributeValidator
32
+ attr_reader :datatype
33
+ attr_reader :allowable_values
34
+
35
+ def initialize(datatype, allowable_values)
36
+ @allowable_values = allowable_values.map do |value|
37
+ case datatype.to_s
38
+ when /Integer/i
39
+ value.to_i
40
+ when /Float/i
41
+ value.to_f
42
+ else
43
+ value
44
+ end
45
+ end
46
+ end
47
+
48
+ def valid?(value)
49
+ !value || allowable_values.include?(value)
50
+ end
51
+ end
52
+
53
+ # Attribute mapping from ruby-style variable name to JSON key.
54
+ def self.attribute_map
55
+ {
56
+ :'submit_time_utc' => :'submitTimeUtc',
57
+ :'status' => :'status',
58
+ :'reason' => :'reason',
59
+ :'message' => :'message',
60
+ :'details' => :'details'
61
+ }
62
+ end
63
+
64
+ # Attribute type mapping.
65
+ def self.swagger_types
66
+ {
67
+ :'submit_time_utc' => :'String',
68
+ :'status' => :'String',
69
+ :'reason' => :'String',
70
+ :'message' => :'String',
71
+ :'details' => :'Array<PtsV2PaymentsPost201ResponseErrorInformationDetails>'
72
+ }
73
+ end
74
+
75
+ # Initializes the object
76
+ # @param [Hash] attributes Model attributes in the form of hash
77
+ def initialize(attributes = {})
78
+ return unless attributes.is_a?(Hash)
79
+
80
+ # convert string to symbol for hash key
81
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
82
+
83
+ if attributes.has_key?(:'submitTimeUtc')
84
+ self.submit_time_utc = attributes[:'submitTimeUtc']
85
+ end
86
+
87
+ if attributes.has_key?(:'status')
88
+ self.status = attributes[:'status']
89
+ end
90
+
91
+ if attributes.has_key?(:'reason')
92
+ self.reason = attributes[:'reason']
93
+ end
94
+
95
+ if attributes.has_key?(:'message')
96
+ self.message = attributes[:'message']
97
+ end
98
+
99
+ if attributes.has_key?(:'details')
100
+ if (value = attributes[:'details']).is_a?(Array)
101
+ self.details = value
102
+ end
103
+ end
104
+ end
105
+
106
+ # Show invalid properties with the reasons. Usually used together with valid?
107
+ # @return Array for valid properties with the reasons
108
+ def list_invalid_properties
109
+ invalid_properties = Array.new
110
+ invalid_properties
111
+ end
112
+
113
+ # Check to see if the all the properties in the model are valid
114
+ # @return true if the model is valid
115
+ def valid?
116
+ status_validator = EnumAttributeValidator.new('String', ['INVALID_REQUEST'])
117
+ return false unless status_validator.valid?(@status)
118
+ reason_validator = EnumAttributeValidator.new('String', ['MISSING_FIELD', 'INVALID_DATA', 'DUPLICATE_REQUEST', 'INVALID_CARD', 'CARD_TYPE_NOT_ACCEPTED', 'INVALID_MERCHANT_CONFIGURATION', 'PROCESSOR_UNAVAILABLE', 'INVALID_AMOUNT', 'INVALID_CARD_TYPE', 'DEBIT_CARD_USEAGE_EXCEEDD_LIMIT'])
119
+ return false unless reason_validator.valid?(@reason)
120
+ true
121
+ end
122
+
123
+ # Custom attribute writer method checking allowed values (enum).
124
+ # @param [Object] status Object to be assigned
125
+ def status=(status)
126
+ validator = EnumAttributeValidator.new('String', ['INVALID_REQUEST'])
127
+ unless validator.valid?(status)
128
+ fail ArgumentError, 'invalid value for "status", must be one of #{validator.allowable_values}.'
129
+ end
130
+ @status = status
131
+ end
132
+
133
+ # Custom attribute writer method checking allowed values (enum).
134
+ # @param [Object] reason Object to be assigned
135
+ def reason=(reason)
136
+ validator = EnumAttributeValidator.new('String', ['MISSING_FIELD', 'INVALID_DATA', 'DUPLICATE_REQUEST', 'INVALID_CARD', 'CARD_TYPE_NOT_ACCEPTED', 'INVALID_MERCHANT_CONFIGURATION', 'PROCESSOR_UNAVAILABLE', 'INVALID_AMOUNT', 'INVALID_CARD_TYPE', 'DEBIT_CARD_USEAGE_EXCEEDD_LIMIT'])
137
+ unless validator.valid?(reason)
138
+ fail ArgumentError, 'invalid value for "reason", must be one of #{validator.allowable_values}.'
139
+ end
140
+ @reason = reason
141
+ end
142
+
143
+ # Checks equality by comparing each attribute.
144
+ # @param [Object] Object to be compared
145
+ def ==(o)
146
+ return true if self.equal?(o)
147
+ self.class == o.class &&
148
+ submit_time_utc == o.submit_time_utc &&
149
+ status == o.status &&
150
+ reason == o.reason &&
151
+ message == o.message &&
152
+ details == o.details
153
+ end
154
+
155
+ # @see the `==` method
156
+ # @param [Object] Object to be compared
157
+ def eql?(o)
158
+ self == o
159
+ end
160
+
161
+ # Calculates hash code according to all attributes.
162
+ # @return [Fixnum] Hash code
163
+ def hash
164
+ [submit_time_utc, status, reason, message, details].hash
165
+ end
166
+
167
+ # Builds the object from hash
168
+ # @param [Hash] attributes Model attributes in the form of hash
169
+ # @return [Object] Returns the model itself
170
+ def build_from_hash(attributes)
171
+ return nil unless attributes.is_a?(Hash)
172
+ self.class.swagger_types.each_pair do |key, type|
173
+ if type =~ /\AArray<(.*)>/i
174
+ # check to ensure the input is an array given that the the attribute
175
+ # is documented as an array but the input is not
176
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
177
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
178
+ end
179
+ elsif !attributes[self.class.attribute_map[key]].nil?
180
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
181
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
182
+ end
183
+
184
+ self
185
+ end
186
+
187
+ # Deserializes the data based on type
188
+ # @param string type Data type
189
+ # @param string value Value to be deserialized
190
+ # @return [Object] Deserialized data
191
+ def _deserialize(type, value)
192
+ case type.to_sym
193
+ when :DateTime
194
+ DateTime.parse(value)
195
+ when :Date
196
+ Date.parse(value)
197
+ when :String
198
+ value.to_s
199
+ when :Integer
200
+ value.to_i
201
+ when :Float
202
+ value.to_f
203
+ when :BOOLEAN
204
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
205
+ true
206
+ else
207
+ false
208
+ end
209
+ when :Object
210
+ # generic object (usually a Hash), return directly
211
+ value
212
+ when /\AArray<(?<inner_type>.+)>\z/
213
+ inner_type = Regexp.last_match[:inner_type]
214
+ value.map { |v| _deserialize(inner_type, v) }
215
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
216
+ k_type = Regexp.last_match[:k_type]
217
+ v_type = Regexp.last_match[:v_type]
218
+ {}.tap do |hash|
219
+ value.each do |k, v|
220
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
221
+ end
222
+ end
223
+ else # model
224
+ temp_model = CyberSource.const_get(type).new
225
+ temp_model.build_from_hash(value)
226
+ end
227
+ end
228
+
229
+ # Returns the string representation of the object
230
+ # @return [String] String presentation of the object
231
+ def to_s
232
+ to_hash.to_s
233
+ end
234
+
235
+ # to_body is an alias to to_hash (backward compatibility)
236
+ # @return [Hash] Returns the object in the form of hash
237
+ def to_body
238
+ to_hash
239
+ end
240
+
241
+ # Returns the object in the form of hash
242
+ # @return [Hash] Returns the object in the form of hash
243
+ def to_hash
244
+ hash = {}
245
+ self.class.attribute_map.each_pair do |attr, param|
246
+ value = self.send(attr)
247
+ next if value.nil?
248
+ hash[param] = _to_hash(value)
249
+ end
250
+ hash
251
+ end
252
+
253
+ # Outputs non-array value in the form of hash
254
+ # For object, use to_hash. Otherwise, just return the value
255
+ # @param [Object] value Any valid value
256
+ # @return [Hash] Returns the value in the form of hash
257
+ def _to_hash(value)
258
+ if value.is_a?(Array)
259
+ value.compact.map { |v| _to_hash(v) }
260
+ elsif value.is_a?(Hash)
261
+ {}.tap do |hash|
262
+ value.each { |k, v| hash[k] = _to_hash(v) }
263
+ end
264
+ elsif value.respond_to? :to_hash
265
+ value.to_hash
266
+ else
267
+ value
268
+ end
269
+ end
270
+ end
271
+ end
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse502
16
+ class PtsV2PaymentsPost502Response
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.
18
18
  attr_accessor :submit_time_utc
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2013
16
+ class PtsV2PaymentsRefundPost201Response
17
17
  attr_accessor :_links
18
18
 
19
19
  # An unique identification number assigned by CyberSource to identify the submitted request.
@@ -76,15 +76,15 @@ module CyberSource
76
76
  # Attribute type mapping.
77
77
  def self.swagger_types
78
78
  {
79
- :'_links' => :'InlineResponse2013Links',
79
+ :'_links' => :'PtsV2PaymentsRefundPost201ResponseLinks',
80
80
  :'id' => :'String',
81
81
  :'submit_time_utc' => :'String',
82
82
  :'status' => :'String',
83
83
  :'reconciliation_id' => :'String',
84
- :'client_reference_information' => :'InlineResponse201ClientReferenceInformation',
85
- :'refund_amount_details' => :'InlineResponse2013RefundAmountDetails',
86
- :'processor_information' => :'InlineResponse2013ProcessorInformation',
87
- :'order_information' => :'InlineResponse2013OrderInformation'
84
+ :'client_reference_information' => :'PtsV2PaymentsPost201ResponseClientReferenceInformation',
85
+ :'refund_amount_details' => :'PtsV2PaymentsRefundPost201ResponseRefundAmountDetails',
86
+ :'processor_information' => :'PtsV2PaymentsRefundPost201ResponseProcessorInformation',
87
+ :'order_information' => :'PtsV2PaymentsRefundPost201ResponseOrderInformation'
88
88
  }
89
89
  end
90
90
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2013Links
16
+ class PtsV2PaymentsRefundPost201ResponseLinks
17
17
  attr_accessor :_self
18
18
 
19
19
  attr_accessor :void
@@ -29,8 +29,8 @@ module CyberSource
29
29
  # Attribute type mapping.
30
30
  def self.swagger_types
31
31
  {
32
- :'_self' => :'InlineResponse201LinksSelf',
33
- :'void' => :'InlineResponse201LinksSelf'
32
+ :'_self' => :'PtsV2PaymentsPost201ResponseLinksSelf',
33
+ :'void' => :'PtsV2PaymentsPost201ResponseLinksSelf'
34
34
  }
35
35
  end
36
36
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2013OrderInformation
16
+ class PtsV2PaymentsRefundPost201ResponseOrderInformation
17
17
  attr_accessor :invoice_details
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -26,7 +26,7 @@ module CyberSource
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'invoice_details' => :'InlineResponse201OrderInformationInvoiceDetails'
29
+ :'invoice_details' => :'PtsV2PaymentsPost201ResponseOrderInformationInvoiceDetails'
30
30
  }
31
31
  end
32
32
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2013ProcessorInformation
16
+ class PtsV2PaymentsRefundPost201ResponseProcessorInformation
17
17
  # Processor transaction ID. This value identifies the transaction on a host system. This value is supported only for Moneris. It contains this information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. Example For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003
18
18
  attr_accessor :transaction_id
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2013RefundAmountDetails
16
+ class PtsV2PaymentsRefundPost201ResponseRefundAmountDetails
17
17
  # Total amount of the refund.
18
18
  attr_accessor :refund_amount
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse4003
16
+ class PtsV2PaymentsRefundPost400Response
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.
18
18
  attr_accessor :submit_time_utc
19
19
 
@@ -68,7 +68,7 @@ module CyberSource
68
68
  :'status' => :'String',
69
69
  :'reason' => :'String',
70
70
  :'message' => :'String',
71
- :'details' => :'Array<InlineResponse201ErrorInformationDetails>'
71
+ :'details' => :'Array<PtsV2PaymentsPost201ResponseErrorInformationDetails>'
72
72
  }
73
73
  end
74
74
 
@@ -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 PtsV2PaymentsReversalsPost201Response
17
17
  attr_accessor :_links
18
18
 
19
19
  # An unique identification number assigned by CyberSource to identify the submitted request.
@@ -79,15 +79,15 @@ module CyberSource
79
79
  # Attribute type mapping.
80
80
  def self.swagger_types
81
81
  {
82
- :'_links' => :'InlineResponse2011Links',
82
+ :'_links' => :'PtsV2PaymentsReversalsPost201ResponseLinks',
83
83
  :'id' => :'String',
84
84
  :'submit_time_utc' => :'String',
85
85
  :'status' => :'String',
86
86
  :'reconciliation_id' => :'String',
87
- :'client_reference_information' => :'InlineResponse201ClientReferenceInformation',
88
- :'reversal_amount_details' => :'InlineResponse2011ReversalAmountDetails',
89
- :'processor_information' => :'InlineResponse2011ProcessorInformation',
90
- :'authorization_information' => :'InlineResponse2011AuthorizationInformation',
87
+ :'client_reference_information' => :'PtsV2PaymentsPost201ResponseClientReferenceInformation',
88
+ :'reversal_amount_details' => :'PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails',
89
+ :'processor_information' => :'PtsV2PaymentsReversalsPost201ResponseProcessorInformation',
90
+ :'authorization_information' => :'PtsV2PaymentsReversalsPost201ResponseAuthorizationInformation',
91
91
  :'point_of_sale_information' => :'Ptsv2paymentsidreversalsPointOfSaleInformation'
92
92
  }
93
93
  end
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2002Links
16
+ class PtsV2PaymentsReversalsPost201ResponseLinks
17
17
  attr_accessor :_self
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -26,7 +26,7 @@ module CyberSource
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'_self' => :'InlineResponse2002LinksSelf'
29
+ :'_self' => :'PtsV2PaymentsPost201ResponseLinksSelf'
30
30
  }
31
31
  end
32
32
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2011AuthorizationInformation
16
+ class PtsV2PaymentsReversalsPost201ResponseAuthorizationInformation
17
17
  # The authorization code returned by the processor.
18
18
  attr_accessor :approval_code
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2011ProcessorInformation
16
+ class PtsV2PaymentsReversalsPost201ResponseProcessorInformation
17
17
  # Processor transaction ID. This value identifies the transaction on a host system. This value is supported only for Moneris. It contains this information: - Terminal used to process the transaction - Shift during which the transaction took place - Batch number - Transaction number within the batch You must store this value. If you give the customer a receipt, display this value on the receipt. Example For the value 66012345001069003: - Terminal ID = 66012345 - Shift number = 001 - Batch number = 069 - Transaction number = 003
18
18
  attr_accessor :transaction_id
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2011ReversalAmountDetails
16
+ class PtsV2PaymentsReversalsPost201ResponseReversalAmountDetails
17
17
  # Total reversed amount.
18
18
  attr_accessor :reversed_amount
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse4001
16
+ class PtsV2PaymentsReversalsPost400Response
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.
18
18
  attr_accessor :submit_time_utc
19
19
 
@@ -68,7 +68,7 @@ module CyberSource
68
68
  :'status' => :'String',
69
69
  :'reason' => :'String',
70
70
  :'message' => :'String',
71
- :'details' => :'Array<InlineResponse201ErrorInformationDetails>'
71
+ :'details' => :'Array<PtsV2PaymentsPost201ResponseErrorInformationDetails>'
72
72
  }
73
73
  end
74
74
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2015
16
+ class PtsV2PaymentsVoidsPost201Response
17
17
  attr_accessor :_links
18
18
 
19
19
  # An unique identification number assigned by CyberSource to identify the submitted request.
@@ -66,12 +66,12 @@ module CyberSource
66
66
  # Attribute type mapping.
67
67
  def self.swagger_types
68
68
  {
69
- :'_links' => :'InlineResponse2011Links',
69
+ :'_links' => :'PtsV2PaymentsReversalsPost201ResponseLinks',
70
70
  :'id' => :'String',
71
71
  :'submit_time_utc' => :'String',
72
72
  :'status' => :'String',
73
- :'client_reference_information' => :'InlineResponse201ClientReferenceInformation',
74
- :'void_amount_details' => :'InlineResponse2015VoidAmountDetails'
73
+ :'client_reference_information' => :'PtsV2PaymentsPost201ResponseClientReferenceInformation',
74
+ :'void_amount_details' => :'PtsV2PaymentsVoidsPost201ResponseVoidAmountDetails'
75
75
  }
76
76
  end
77
77
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2015VoidAmountDetails
16
+ class PtsV2PaymentsVoidsPost201ResponseVoidAmountDetails
17
17
  # Total amount of the void.
18
18
  attr_accessor :void_amount
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse4004
16
+ class PtsV2PaymentsVoidsPost400Response
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.
18
18
  attr_accessor :submit_time_utc
19
19
 
@@ -68,7 +68,7 @@ module CyberSource
68
68
  :'status' => :'String',
69
69
  :'reason' => :'String',
70
70
  :'message' => :'String',
71
- :'details' => :'Array<InlineResponse201ErrorInformationDetails>'
71
+ :'details' => :'Array<PtsV2PaymentsPost201ResponseErrorInformationDetails>'
72
72
  }
73
73
  end
74
74
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse4006
16
+ class PtsV2PayoutsPost400Response
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.
18
18
  attr_accessor :submit_time_utc
19
19
 
@@ -68,7 +68,7 @@ module CyberSource
68
68
  :'status' => :'String',
69
69
  :'reason' => :'String',
70
70
  :'message' => :'String',
71
- :'details' => :'Array<InlineResponse201ErrorInformationDetails>'
71
+ :'details' => :'Array<PtsV2PaymentsPost201ResponseErrorInformationDetails>'
72
72
  }
73
73
  end
74
74
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class OctCreatePaymentRequest
16
+ class PtsV2PayoutsPostResponse
17
17
  attr_accessor :client_reference_information
18
18
 
19
19
  attr_accessor :order_information
@@ -44,7 +44,7 @@ module CyberSource
44
44
  # Attribute type mapping.
45
45
  def self.swagger_types
46
46
  {
47
- :'client_reference_information' => :'InlineResponse201ClientReferenceInformation',
47
+ :'client_reference_information' => :'PtsV2PaymentsPost201ResponseClientReferenceInformation',
48
48
  :'order_information' => :'Ptsv2payoutsOrderInformation',
49
49
  :'merchant_information' => :'Ptsv2payoutsMerchantInformation',
50
50
  :'recipient_information' => :'Ptsv2payoutsRecipientInformation',
@@ -26,7 +26,7 @@ module CyberSource
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'emv' => :'InlineResponse201PointOfSaleInformationEmv'
29
+ :'emv' => :'PtsV2PaymentsPost201ResponsePointOfSaleInformationEmv'
30
30
  }
31
31
  end
32
32
 
@@ -56,8 +56,6 @@ module CyberSource
56
56
  # @return Array for valid properties with the reasons
57
57
  def list_invalid_properties
58
58
  invalid_properties = Array.new
59
- # ansuguma
60
-
61
59
  # if !@reason.nil? && @reason.to_s.length > 3
62
60
  # invalid_properties.push('invalid value for "reason", the character length must be smaller than or equal to 3.')
63
61
  # end
@@ -68,8 +66,6 @@ module CyberSource
68
66
  # Check to see if the all the properties in the model are valid
69
67
  # @return true if the model is valid
70
68
  def valid?
71
- # ansuguma
72
-
73
69
  # return false if !@reason.nil? && @reason.to_s.length > 3
74
70
  true
75
71
  end
@@ -77,8 +73,6 @@ module CyberSource
77
73
  # Custom attribute writer method with validation
78
74
  # @param [Object] reason Value to be assigned
79
75
  def reason=(reason)
80
- # ansuguma
81
-
82
76
  # if !reason.nil? && reason.to_s.length > 3
83
77
  # fail ArgumentError, 'invalid value for "reason", the character length must be smaller than or equal to 3.'
84
78
  # end
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class InlineResponse2003
16
+ class ReportingV3NotificationofChangesGet200Response
17
17
  # List of Notification Of Change Info values
18
18
  attr_accessor :notification_of_changes
19
19
 
@@ -27,7 +27,7 @@ module CyberSource
27
27
  # Attribute type mapping.
28
28
  def self.swagger_types
29
29
  {
30
- :'notification_of_changes' => :'Array<InlineResponse2003NotificationOfChanges>'
30
+ :'notification_of_changes' => :'Array<ReportingV3NotificationofChangesGet200ResponseNotificationOfChanges>'
31
31
  }
32
32
  end
33
33
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # Notification Of Change
17
- class InlineResponse2003NotificationOfChanges
17
+ class ReportingV3NotificationofChangesGet200ResponseNotificationOfChanges
18
18
  # Merchant Reference Number
19
19
  attr_accessor :merchant_reference_number
20
20
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # Error Bean
17
- class InlineResponse4007
17
+ class ReportingV3NotificationofChangesGet400Response
18
18
  # Error code
19
19
  attr_accessor :code
20
20
 
@@ -53,7 +53,7 @@ module CyberSource
53
53
  :'localization_key' => :'String',
54
54
  :'correlation_id' => :'String',
55
55
  :'detail' => :'String',
56
- :'fields' => :'Array<InlineResponse4007Fields>'
56
+ :'fields' => :'Array<ReportingV3NotificationofChangesGet400ResponseFields>'
57
57
  }
58
58
  end
59
59