cybersource_rest_client 0.0.79 → 0.0.80

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 (214) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/core/MerchantConfig.rb +1 -0
  3. data/lib/AuthenticationSDK/util/Cache.rb +14 -0
  4. data/lib/AuthenticationSDK/util/Constants.rb +2 -0
  5. data/lib/AuthenticationSDK/util/JWT/JWTExceptions.rb +81 -0
  6. data/lib/AuthenticationSDK/util/JWT/JWTUtility.rb +154 -0
  7. data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +8 -4
  8. data/lib/cybersource_rest_client/api/batches_api.rb +29 -13
  9. data/lib/cybersource_rest_client/api/billing_agreements_api.rb +15 -3
  10. data/lib/cybersource_rest_client/api/bin_lookup_api.rb +5 -1
  11. data/lib/cybersource_rest_client/api/capture_api.rb +5 -1
  12. data/lib/cybersource_rest_client/api/chargeback_details_api.rb +5 -1
  13. data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +5 -1
  14. data/lib/cybersource_rest_client/api/conversion_details_api.rb +5 -1
  15. data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +18 -6
  16. data/lib/cybersource_rest_client/api/credit_api.rb +5 -1
  17. data/lib/cybersource_rest_client/api/customer_api.rb +22 -6
  18. data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +27 -7
  19. data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +27 -7
  20. data/lib/cybersource_rest_client/api/decision_manager_api.rb +28 -8
  21. data/lib/cybersource_rest_client/api/device_de_association_api.rb +13 -5
  22. data/lib/cybersource_rest_client/api/device_search_api.rb +16 -8
  23. data/lib/cybersource_rest_client/api/download_dtd_api.rb +5 -1
  24. data/lib/cybersource_rest_client/api/download_xsd_api.rb +5 -1
  25. data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +10 -2
  26. data/lib/cybersource_rest_client/api/flex_api_api.rb +5 -1
  27. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +33 -9
  28. data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +5 -1
  29. data/lib/cybersource_rest_client/api/invoice_settings_api.rb +10 -2
  30. data/lib/cybersource_rest_client/api/invoices_api.rb +35 -7
  31. data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +41 -13
  32. data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +13 -5
  33. data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +29 -13
  34. data/lib/cybersource_rest_client/api/microform_integration_api.rb +5 -1
  35. data/lib/cybersource_rest_client/api/net_fundings_api.rb +5 -1
  36. data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +5 -1
  37. data/lib/cybersource_rest_client/api/offers_api.rb +13 -5
  38. data/lib/cybersource_rest_client/api/orders_api.rb +10 -2
  39. data/lib/cybersource_rest_client/api/payer_authentication_api.rb +15 -3
  40. data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +5 -1
  41. data/lib/cybersource_rest_client/api/payment_instrument_api.rb +22 -6
  42. data/lib/cybersource_rest_client/api/payment_links_api.rb +20 -4
  43. data/lib/cybersource_rest_client/api/payment_tokens_api.rb +5 -1
  44. data/lib/cybersource_rest_client/api/payments_api.rb +30 -6
  45. data/lib/cybersource_rest_client/api/payouts_api.rb +5 -1
  46. data/lib/cybersource_rest_client/api/plans_api.rb +40 -8
  47. data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +5 -1
  48. data/lib/cybersource_rest_client/api/push_funds_api.rb +5 -1
  49. data/lib/cybersource_rest_client/api/refund_api.rb +10 -2
  50. data/lib/cybersource_rest_client/api/report_definitions_api.rb +10 -2
  51. data/lib/cybersource_rest_client/api/report_downloads_api.rb +5 -1
  52. data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +25 -5
  53. data/lib/cybersource_rest_client/api/reports_api.rb +15 -3
  54. data/lib/cybersource_rest_client/api/retrieval_details_api.rb +5 -1
  55. data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +5 -1
  56. data/lib/cybersource_rest_client/api/reversal_api.rb +10 -2
  57. data/lib/cybersource_rest_client/api/search_transactions_api.rb +10 -2
  58. data/lib/cybersource_rest_client/api/secure_file_share_api.rb +10 -2
  59. data/lib/cybersource_rest_client/api/subscriptions_api.rb +49 -17
  60. data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +10 -2
  61. data/lib/cybersource_rest_client/api/taxes_api.rb +10 -2
  62. data/lib/cybersource_rest_client/api/token_api.rb +14 -6
  63. data/lib/cybersource_rest_client/api/tokenize_api.rb +103 -0
  64. data/lib/cybersource_rest_client/api/tokenized_card_api.rb +105 -4
  65. data/lib/cybersource_rest_client/api/transaction_batches_api.rb +20 -4
  66. data/lib/cybersource_rest_client/api/transaction_details_api.rb +5 -1
  67. data/lib/cybersource_rest_client/api/transient_token_data_api.rb +10 -2
  68. data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +5 -1
  69. data/lib/cybersource_rest_client/api/user_management_api.rb +5 -1
  70. data/lib/cybersource_rest_client/api/user_management_search_api.rb +5 -1
  71. data/lib/cybersource_rest_client/api/verification_api.rb +10 -2
  72. data/lib/cybersource_rest_client/api/void_api.rb +25 -5
  73. data/lib/cybersource_rest_client/models/create_plan_request.rb +1 -11
  74. data/lib/cybersource_rest_client/models/create_subscription_request.rb +1 -1
  75. data/lib/cybersource_rest_client/models/create_subscription_request_1.rb +1 -1
  76. data/lib/cybersource_rest_client/models/create_subscription_response.rb +15 -5
  77. data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +13 -2
  78. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_client_reference_information.rb +196 -0
  79. data/lib/cybersource_rest_client/models/get_all_subscriptions_response_subscriptions.rb +11 -1
  80. data/lib/cybersource_rest_client/models/get_subscription_response.rb +11 -1
  81. data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument.rb +1 -1
  82. data/lib/cybersource_rest_client/models/get_subscription_response_1_payment_instrument_buyer_information.rb +1 -1
  83. data/lib/cybersource_rest_client/models/get_subscription_response_1_shipping_address.rb +1 -1
  84. data/lib/cybersource_rest_client/models/get_subscription_response_reactivation_information.rb +22 -22
  85. data/lib/cybersource_rest_client/models/inline_response_200.rb +9 -44
  86. data/lib/cybersource_rest_client/models/inline_response_200_1.rb +29 -31
  87. data/lib/cybersource_rest_client/models/inline_response_200_10.rb +33 -37
  88. data/lib/cybersource_rest_client/models/{inline_response_200_9_devices.rb → inline_response_200_10_devices.rb} +2 -2
  89. data/lib/cybersource_rest_client/models/{inline_response_200_9_payment_processor_to_terminal_map.rb → inline_response_200_10_payment_processor_to_terminal_map.rb} +1 -1
  90. data/lib/cybersource_rest_client/models/inline_response_200_11.rb +47 -86
  91. data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded.rb → inline_response_200_11__embedded.rb} +2 -2
  92. data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded__links.rb → inline_response_200_11__embedded__links.rb} +2 -2
  93. data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded__links_reports.rb → inline_response_200_11__embedded__links_reports.rb} +1 -1
  94. data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded_batches.rb → inline_response_200_11__embedded_batches.rb} +3 -3
  95. data/lib/cybersource_rest_client/models/{inline_response_200_10__embedded_totals.rb → inline_response_200_11__embedded_totals.rb} +1 -1
  96. data/lib/cybersource_rest_client/models/inline_response_200_11__links.rb +16 -17
  97. data/lib/cybersource_rest_client/models/inline_response_200_12.rb +47 -49
  98. data/lib/cybersource_rest_client/models/inline_response_200_12__links.rb +201 -0
  99. data/lib/cybersource_rest_client/models/{inline_response_200_11__links_report.rb → inline_response_200_12__links_report.rb} +1 -1
  100. data/lib/cybersource_rest_client/models/{inline_response_200_11_billing.rb → inline_response_200_12_billing.rb} +1 -1
  101. data/lib/cybersource_rest_client/models/inline_response_200_13.rb +102 -31
  102. data/lib/cybersource_rest_client/models/{inline_response_200_12_records.rb → inline_response_200_13_records.rb} +3 -3
  103. data/lib/cybersource_rest_client/models/{inline_response_200_12_response_record.rb → inline_response_200_13_response_record.rb} +2 -2
  104. data/lib/cybersource_rest_client/models/{inline_response_200_12_response_record_additional_updates.rb → inline_response_200_13_response_record_additional_updates.rb} +1 -1
  105. data/lib/cybersource_rest_client/models/{inline_response_200_12_source_record.rb → inline_response_200_13_source_record.rb} +1 -1
  106. data/lib/cybersource_rest_client/models/inline_response_200_14.rb +18 -84
  107. data/lib/cybersource_rest_client/models/inline_response_200_15.rb +287 -0
  108. data/lib/cybersource_rest_client/models/{inline_response_200_14_client_reference_information.rb → inline_response_200_15_client_reference_information.rb} +1 -1
  109. data/lib/cybersource_rest_client/models/{inline_response_200_content.rb → inline_response_200_1_content.rb} +1 -1
  110. data/lib/cybersource_rest_client/models/inline_response_200_2.rb +32 -103
  111. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded.rb → inline_response_200_2__embedded.rb} +3 -3
  112. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture.rb → inline_response_200_2__embedded_capture.rb} +2 -2
  113. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture__links.rb → inline_response_200_2__embedded_capture__links.rb} +2 -2
  114. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_capture__links_self.rb → inline_response_200_2__embedded_capture__links_self.rb} +1 -1
  115. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal.rb → inline_response_200_2__embedded_reversal.rb} +2 -2
  116. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal__links.rb → inline_response_200_2__embedded_reversal__links.rb} +2 -2
  117. data/lib/cybersource_rest_client/models/{inline_response_200_1__embedded_reversal__links_self.rb → inline_response_200_2__embedded_reversal__links_self.rb} +1 -1
  118. data/lib/cybersource_rest_client/models/inline_response_200_3.rb +100 -54
  119. data/lib/cybersource_rest_client/models/inline_response_200_4.rb +65 -25
  120. data/lib/cybersource_rest_client/models/{inline_response_200_3_integration_information.rb → inline_response_200_4_integration_information.rb} +2 -2
  121. data/lib/cybersource_rest_client/models/{inline_response_200_3_integration_information_tenant_configurations.rb → inline_response_200_4_integration_information_tenant_configurations.rb} +1 -1
  122. data/lib/cybersource_rest_client/models/inline_response_200_5.rb +25 -126
  123. data/lib/cybersource_rest_client/models/inline_response_200_6.rb +1 -12
  124. data/lib/cybersource_rest_client/models/inline_response_200_7.rb +129 -51
  125. data/lib/cybersource_rest_client/models/inline_response_200_8.rb +55 -10
  126. data/lib/cybersource_rest_client/models/{inline_response_200_7_devices.rb → inline_response_200_8_devices.rb} +1 -1
  127. data/lib/cybersource_rest_client/models/inline_response_200_9.rb +10 -55
  128. data/lib/cybersource_rest_client/models/{inline_response_200_10__links.rb → inline_response_200_details.rb} +18 -17
  129. data/lib/cybersource_rest_client/models/inline_response_200_errors.rb +213 -0
  130. data/lib/cybersource_rest_client/models/inline_response_200_responses.rb +224 -0
  131. data/lib/cybersource_rest_client/models/inline_response_201_3_setups_payments.rb +15 -5
  132. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +9 -9
  133. data/lib/cybersource_rest_client/models/patch_customer_request.rb +9 -9
  134. data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +3 -3
  135. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +9 -9
  136. data/lib/cybersource_rest_client/models/payment_instrument_list_1__embedded_payment_instruments.rb +8 -8
  137. data/lib/cybersource_rest_client/models/payment_instrument_list__embedded.rb +1 -1
  138. data/lib/cybersource_rest_client/models/payments_products.rb +15 -5
  139. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +9 -9
  140. data/lib/cybersource_rest_client/models/post_customer_request.rb +9 -9
  141. data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +3 -3
  142. data/lib/cybersource_rest_client/models/post_issuer_life_cycle_simulation_request.rb +211 -0
  143. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +9 -9
  144. data/lib/cybersource_rest_client/models/post_tokenize_request.rb +199 -0
  145. data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +22 -5
  146. data/lib/cybersource_rest_client/models/shipping_address_list_for_customer__embedded.rb +1 -1
  147. data/lib/cybersource_rest_client/models/tms_issuerlifecycleeventsimulations_metadata_card_art_combined_asset.rb +190 -0
  148. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_merchant_information.rb → tms_merchant_information.rb} +2 -2
  149. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb → tms_merchant_information_merchant_descriptor.rb} +1 -1
  150. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb → tmsv2tokenize_default_payment_instrument_buyer_info_issued_by.rb} +1 -1
  151. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb → tmsv2tokenize_default_payment_instrument_buyer_info_personal_identification.rb} +2 -2
  152. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb → tmsv2tokenize_default_payment_instrument_card_tokenized_info.rb} +1 -1
  153. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb → tmsv2tokenize_default_payment_instrument_instrument_identifier.rb} +1 -1
  154. data/lib/cybersource_rest_client/models/tmsv2tokenize_processing_information.rb +205 -0
  155. data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information.rb +247 -0
  156. data/lib/cybersource_rest_client/models/tmsv2tokenize_token_information_customer.rb +289 -0
  157. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded.rb → tmsv2tokenize_token_information_customer__embedded.rb} +3 -3
  158. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument.rb} +10 -10
  159. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__embedded.rb} +1 -1
  160. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__links.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links.rb} +3 -3
  161. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__links_self.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument__links_self.rb} +1 -1
  162. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_bank_account.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bank_account.rb} +1 -1
  163. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_bill_to.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_bill_to.rb} +1 -1
  164. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_buyer_information.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_buyer_information.rb} +2 -2
  165. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_card.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_card.rb} +2 -2
  166. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_metadata.rb → tmsv2tokenize_token_information_customer__embedded_default_payment_instrument_metadata.rb} +1 -1
  167. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address.rb} +4 -4
  168. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links.rb} +3 -3
  169. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links_customer.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_customer.rb} +1 -1
  170. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address__links_self.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address__links_self.rb} +1 -1
  171. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address_metadata.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address_metadata.rb} +1 -1
  172. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_shipping_address_ship_to.rb → tmsv2tokenize_token_information_customer__embedded_default_shipping_address_ship_to.rb} +1 -1
  173. data/lib/cybersource_rest_client/models/{tmsv2customers__links.rb → tmsv2tokenize_token_information_customer__links.rb} +4 -4
  174. data/lib/cybersource_rest_client/models/{tmsv2customers__links_payment_instruments.rb → tmsv2tokenize_token_information_customer__links_payment_instruments.rb} +1 -1
  175. data/lib/cybersource_rest_client/models/{tmsv2customers__links_self.rb → tmsv2tokenize_token_information_customer__links_self.rb} +1 -1
  176. data/lib/cybersource_rest_client/models/{tmsv2customers__links_shipping_address.rb → tmsv2tokenize_token_information_customer__links_shipping_address.rb} +1 -1
  177. data/lib/cybersource_rest_client/models/{tmsv2customers_buyer_information.rb → tmsv2tokenize_token_information_customer_buyer_information.rb} +1 -1
  178. data/lib/cybersource_rest_client/models/{tmsv2customers_client_reference_information.rb → tmsv2tokenize_token_information_customer_client_reference_information.rb} +1 -1
  179. data/lib/cybersource_rest_client/models/{tmsv2customers_default_payment_instrument.rb → tmsv2tokenize_token_information_customer_default_payment_instrument.rb} +1 -1
  180. data/lib/cybersource_rest_client/models/{tmsv2customers_default_shipping_address.rb → tmsv2tokenize_token_information_customer_default_shipping_address.rb} +1 -1
  181. data/lib/cybersource_rest_client/models/{tmsv2customers_merchant_defined_information.rb → tmsv2tokenize_token_information_customer_merchant_defined_information.rb} +1 -1
  182. data/lib/cybersource_rest_client/models/{tmsv2customers_metadata.rb → tmsv2tokenize_token_information_customer_metadata.rb} +1 -1
  183. data/lib/cybersource_rest_client/models/{tmsv2customers_object_information.rb → tmsv2tokenize_token_information_customer_object_information.rb} +1 -1
  184. data/lib/cybersource_rest_client/models/{rbsv1subscriptions_client_reference_information_partner.rb → tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_card.rb} +41 -24
  185. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata.rb +189 -0
  186. data/lib/cybersource_rest_client/models/tmsv2tokenizedcardstokenized_card_idissuerlifecycleeventsimulations_metadata_card_art.rb +189 -0
  187. data/lib/cybersource_rest_client/models/update_subscription.rb +1 -1
  188. data/lib/cybersource_rest_client/models/upv1capturecontexts_data.rb +25 -5
  189. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_buyer_information.rb +41 -5
  190. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_buyer_information_personal_identification.rb +1 -0
  191. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_client_reference_information_partner.rb +3 -3
  192. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_consumer_authentication_information.rb +24 -5
  193. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_device_information.rb +196 -0
  194. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_information_merchant_descriptor.rb +124 -5
  195. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information.rb +15 -5
  196. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_amount_details.rb +15 -5
  197. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_amount_details_tax_details.rb +213 -0
  198. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_invoice_details.rb +213 -0
  199. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items.rb +30 -0
  200. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items_passenger.rb +8 -0
  201. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_order_information_line_items_tax_details.rb +7 -0
  202. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_payment_information.rb +189 -0
  203. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_payment_information_card.rb +196 -0
  204. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information.rb +1 -0
  205. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options.rb +74 -5
  206. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_processing_information_authorization_options_initiator.rb +1 -0
  207. data/lib/cybersource_rest_client/models/upv1capturecontexts_data_recipient_information.rb +39 -5
  208. data/lib/cybersource_rest_client/models/upv1capturecontexts_order_information.rb +1 -0
  209. data/lib/cybersource_rest_client/utilities/capture_context/capture_context_parsing_utility.rb +113 -0
  210. data/lib/cybersource_rest_client/utilities/capture_context/public_key_fetcher.rb +131 -0
  211. data/lib/cybersource_rest_client.rb +80 -62
  212. metadata +85 -64
  213. data/lib/cybersource_rest_client/models/rbsv1plans_client_reference_information.rb +0 -239
  214. data/lib/cybersource_rest_client/models/rbsv1subscriptions_client_reference_information.rb +0 -256
@@ -0,0 +1,213 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
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.4.38
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module CyberSource
15
+ class InlineResponse200Errors
16
+ # The type of error. Possible Values: - invalidHeaders - missingHeaders - invalidFields - missingFields - unsupportedPaymentMethodModification - invalidCombination - forbidden - notFound - instrumentIdentifierDeletionError - tokenIdConflict - conflict - notAvailable - serverError - notAttempted A \"notAttempted\" error type is returned when the request cannot be processed because it depends on the existence of another token that does not exist. For example, creating a shipping address token is not attempted if the required customer token is missing.
17
+ attr_accessor :type
18
+
19
+ # The detailed message related to the type.
20
+ attr_accessor :message
21
+
22
+ attr_accessor :details
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'type' => :'type',
28
+ :'message' => :'message',
29
+ :'details' => :'details'
30
+ }
31
+ end
32
+
33
+ # Attribute mapping from JSON key to ruby-style variable name.
34
+ def self.json_map
35
+ {
36
+ :'type' => :'type',
37
+ :'message' => :'message',
38
+ :'details' => :'details'
39
+ }
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.swagger_types
44
+ {
45
+ :'type' => :'String',
46
+ :'message' => :'String',
47
+ :'details' => :'Array<InlineResponse200Details>'
48
+ }
49
+ end
50
+
51
+ # Initializes the object
52
+ # @param [Hash] attributes Model attributes in the form of hash
53
+ def initialize(attributes = {})
54
+ return unless attributes.is_a?(Hash)
55
+
56
+ # convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
58
+
59
+ if attributes.has_key?(:'type')
60
+ self.type = attributes[:'type']
61
+ end
62
+
63
+ if attributes.has_key?(:'message')
64
+ self.message = attributes[:'message']
65
+ end
66
+
67
+ if attributes.has_key?(:'details')
68
+ if (value = attributes[:'details']).is_a?(Array)
69
+ self.details = value
70
+ end
71
+ end
72
+ end
73
+
74
+ # Show invalid properties with the reasons. Usually used together with valid?
75
+ # @return Array for valid properties with the reasons
76
+ def list_invalid_properties
77
+ invalid_properties = Array.new
78
+ invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ true
85
+ end
86
+
87
+ # Checks equality by comparing each attribute.
88
+ # @param [Object] Object to be compared
89
+ def ==(o)
90
+ return true if self.equal?(o)
91
+ self.class == o.class &&
92
+ type == o.type &&
93
+ message == o.message &&
94
+ details == o.details
95
+ end
96
+
97
+ # @see the `==` method
98
+ # @param [Object] Object to be compared
99
+ def eql?(o)
100
+ self == o
101
+ end
102
+
103
+ # Calculates hash code according to all attributes.
104
+ # @return [Fixnum] Hash code
105
+ def hash
106
+ [type, message, details].hash
107
+ end
108
+
109
+ # Builds the object from hash
110
+ # @param [Hash] attributes Model attributes in the form of hash
111
+ # @return [Object] Returns the model itself
112
+ def build_from_hash(attributes)
113
+ return nil unless attributes.is_a?(Hash)
114
+ self.class.swagger_types.each_pair do |key, type|
115
+ if type =~ /\AArray<(.*)>/i
116
+ # check to ensure the input is an array given that the the attribute
117
+ # is documented as an array but the input is not
118
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
119
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
120
+ end
121
+ elsif !attributes[self.class.attribute_map[key]].nil?
122
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
123
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
124
+ end
125
+
126
+ self
127
+ end
128
+
129
+ # Deserializes the data based on type
130
+ # @param string type Data type
131
+ # @param string value Value to be deserialized
132
+ # @return [Object] Deserialized data
133
+ def _deserialize(type, value)
134
+ case type.to_sym
135
+ when :DateTime
136
+ DateTime.parse(value)
137
+ when :Date
138
+ Date.parse(value)
139
+ when :String
140
+ value.to_s
141
+ when :Integer
142
+ value.to_i
143
+ when :Float
144
+ value.to_f
145
+ when :BOOLEAN
146
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
147
+ true
148
+ else
149
+ false
150
+ end
151
+ when :Object
152
+ # generic object (usually a Hash), return directly
153
+ value
154
+ when /\AArray<(?<inner_type>.+)>\z/
155
+ inner_type = Regexp.last_match[:inner_type]
156
+ value.map { |v| _deserialize(inner_type, v) }
157
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
158
+ k_type = Regexp.last_match[:k_type]
159
+ v_type = Regexp.last_match[:v_type]
160
+ {}.tap do |hash|
161
+ value.each do |k, v|
162
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
163
+ end
164
+ end
165
+ else # model
166
+ temp_model = CyberSource.const_get(type).new
167
+ temp_model.build_from_hash(value)
168
+ end
169
+ end
170
+
171
+ # Returns the string representation of the object
172
+ # @return [String] String presentation of the object
173
+ def to_s
174
+ to_hash.to_s
175
+ end
176
+
177
+ # to_body is an alias to to_hash (backward compatibility)
178
+ # @return [Hash] Returns the object in the form of hash
179
+ def to_body
180
+ to_hash
181
+ end
182
+
183
+ # Returns the object in the form of hash
184
+ # @return [Hash] Returns the object in the form of hash
185
+ def to_hash
186
+ hash = {}
187
+ self.class.attribute_map.each_pair do |attr, param|
188
+ value = self.send(attr)
189
+ next if value.nil?
190
+ hash[param] = _to_hash(value)
191
+ end
192
+ hash
193
+ end
194
+
195
+ # Outputs non-array value in the form of hash
196
+ # For object, use to_hash. Otherwise, just return the value
197
+ # @param [Object] value Any valid value
198
+ # @return [Hash] Returns the value in the form of hash
199
+ def _to_hash(value)
200
+ if value.is_a?(Array)
201
+ value.compact.map { |v| _to_hash(v) }
202
+ elsif value.is_a?(Hash)
203
+ {}.tap do |hash|
204
+ value.each { |k, v| hash[k] = _to_hash(v) }
205
+ end
206
+ elsif value.respond_to? :to_hash
207
+ value.to_hash
208
+ else
209
+ value
210
+ end
211
+ end
212
+ end
213
+ end
@@ -0,0 +1,224 @@
1
+ =begin
2
+ #CyberSource Merged Spec
3
+
4
+ #All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
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.4.38
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module CyberSource
15
+ class InlineResponse200Responses
16
+ # TMS token type associated with the response. Possible Values: - customer - paymentInstrument - instrumentIdentifier - shippingAddress - tokenizedCard
17
+ attr_accessor :resource
18
+
19
+ # Http status associated with the response.
20
+ attr_accessor :http_status
21
+
22
+ # TMS token id associated with the response.
23
+ attr_accessor :id
24
+
25
+ attr_accessor :errors
26
+
27
+ # Attribute mapping from ruby-style variable name to JSON key.
28
+ def self.attribute_map
29
+ {
30
+ :'resource' => :'resource',
31
+ :'http_status' => :'httpStatus',
32
+ :'id' => :'id',
33
+ :'errors' => :'errors'
34
+ }
35
+ end
36
+
37
+ # Attribute mapping from JSON key to ruby-style variable name.
38
+ def self.json_map
39
+ {
40
+ :'resource' => :'resource',
41
+ :'http_status' => :'http_status',
42
+ :'id' => :'id',
43
+ :'errors' => :'errors'
44
+ }
45
+ end
46
+
47
+ # Attribute type mapping.
48
+ def self.swagger_types
49
+ {
50
+ :'resource' => :'String',
51
+ :'http_status' => :'Integer',
52
+ :'id' => :'String',
53
+ :'errors' => :'Array<InlineResponse200Errors>'
54
+ }
55
+ end
56
+
57
+ # Initializes the object
58
+ # @param [Hash] attributes Model attributes in the form of hash
59
+ def initialize(attributes = {})
60
+ return unless attributes.is_a?(Hash)
61
+
62
+ # convert string to symbol for hash key
63
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
64
+
65
+ if attributes.has_key?(:'resource')
66
+ self.resource = attributes[:'resource']
67
+ end
68
+
69
+ if attributes.has_key?(:'httpStatus')
70
+ self.http_status = attributes[:'httpStatus']
71
+ end
72
+
73
+ if attributes.has_key?(:'id')
74
+ self.id = attributes[:'id']
75
+ end
76
+
77
+ if attributes.has_key?(:'errors')
78
+ if (value = attributes[:'errors']).is_a?(Array)
79
+ self.errors = value
80
+ end
81
+ end
82
+ end
83
+
84
+ # Show invalid properties with the reasons. Usually used together with valid?
85
+ # @return Array for valid properties with the reasons
86
+ def list_invalid_properties
87
+ invalid_properties = Array.new
88
+ invalid_properties
89
+ end
90
+
91
+ # Check to see if the all the properties in the model are valid
92
+ # @return true if the model is valid
93
+ def valid?
94
+ true
95
+ end
96
+
97
+ # Checks equality by comparing each attribute.
98
+ # @param [Object] Object to be compared
99
+ def ==(o)
100
+ return true if self.equal?(o)
101
+ self.class == o.class &&
102
+ resource == o.resource &&
103
+ http_status == o.http_status &&
104
+ id == o.id &&
105
+ errors == o.errors
106
+ end
107
+
108
+ # @see the `==` method
109
+ # @param [Object] Object to be compared
110
+ def eql?(o)
111
+ self == o
112
+ end
113
+
114
+ # Calculates hash code according to all attributes.
115
+ # @return [Fixnum] Hash code
116
+ def hash
117
+ [resource, http_status, id, errors].hash
118
+ end
119
+
120
+ # Builds the object from hash
121
+ # @param [Hash] attributes Model attributes in the form of hash
122
+ # @return [Object] Returns the model itself
123
+ def build_from_hash(attributes)
124
+ return nil unless attributes.is_a?(Hash)
125
+ self.class.swagger_types.each_pair do |key, type|
126
+ if type =~ /\AArray<(.*)>/i
127
+ # check to ensure the input is an array given that the the attribute
128
+ # is documented as an array but the input is not
129
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
130
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
131
+ end
132
+ elsif !attributes[self.class.attribute_map[key]].nil?
133
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
134
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
135
+ end
136
+
137
+ self
138
+ end
139
+
140
+ # Deserializes the data based on type
141
+ # @param string type Data type
142
+ # @param string value Value to be deserialized
143
+ # @return [Object] Deserialized data
144
+ def _deserialize(type, value)
145
+ case type.to_sym
146
+ when :DateTime
147
+ DateTime.parse(value)
148
+ when :Date
149
+ Date.parse(value)
150
+ when :String
151
+ value.to_s
152
+ when :Integer
153
+ value.to_i
154
+ when :Float
155
+ value.to_f
156
+ when :BOOLEAN
157
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
158
+ true
159
+ else
160
+ false
161
+ end
162
+ when :Object
163
+ # generic object (usually a Hash), return directly
164
+ value
165
+ when /\AArray<(?<inner_type>.+)>\z/
166
+ inner_type = Regexp.last_match[:inner_type]
167
+ value.map { |v| _deserialize(inner_type, v) }
168
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
169
+ k_type = Regexp.last_match[:k_type]
170
+ v_type = Regexp.last_match[:v_type]
171
+ {}.tap do |hash|
172
+ value.each do |k, v|
173
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
174
+ end
175
+ end
176
+ else # model
177
+ temp_model = CyberSource.const_get(type).new
178
+ temp_model.build_from_hash(value)
179
+ end
180
+ end
181
+
182
+ # Returns the string representation of the object
183
+ # @return [String] String presentation of the object
184
+ def to_s
185
+ to_hash.to_s
186
+ end
187
+
188
+ # to_body is an alias to to_hash (backward compatibility)
189
+ # @return [Hash] Returns the object in the form of hash
190
+ def to_body
191
+ to_hash
192
+ end
193
+
194
+ # Returns the object in the form of hash
195
+ # @return [Hash] Returns the object in the form of hash
196
+ def to_hash
197
+ hash = {}
198
+ self.class.attribute_map.each_pair do |attr, param|
199
+ value = self.send(attr)
200
+ next if value.nil?
201
+ hash[param] = _to_hash(value)
202
+ end
203
+ hash
204
+ end
205
+
206
+ # Outputs non-array value in the form of hash
207
+ # For object, use to_hash. Otherwise, just return the value
208
+ # @param [Object] value Any valid value
209
+ # @return [Hash] Returns the value in the form of hash
210
+ def _to_hash(value)
211
+ if value.is_a?(Array)
212
+ value.compact.map { |v| _to_hash(v) }
213
+ elsif value.is_a?(Hash)
214
+ {}.tap do |hash|
215
+ value.each { |k, v| hash[k] = _to_hash(v) }
216
+ end
217
+ elsif value.respond_to? :to_hash
218
+ value.to_hash
219
+ else
220
+ value
221
+ end
222
+ end
223
+ end
224
+ end
@@ -51,6 +51,8 @@ module CyberSource
51
51
 
52
52
  attr_accessor :service_fee
53
53
 
54
+ attr_accessor :batch_upload
55
+
54
56
  # Attribute mapping from ruby-style variable name to JSON key.
55
57
  def self.attribute_map
56
58
  {
@@ -72,7 +74,8 @@ module CyberSource
72
74
  :'pay_by_link' => :'payByLink',
73
75
  :'unified_checkout' => :'unifiedCheckout',
74
76
  :'receivables_manager' => :'receivablesManager',
75
- :'service_fee' => :'serviceFee'
77
+ :'service_fee' => :'serviceFee',
78
+ :'batch_upload' => :'batchUpload'
76
79
  }
77
80
  end
78
81
 
@@ -97,7 +100,8 @@ module CyberSource
97
100
  :'pay_by_link' => :'pay_by_link',
98
101
  :'unified_checkout' => :'unified_checkout',
99
102
  :'receivables_manager' => :'receivables_manager',
100
- :'service_fee' => :'service_fee'
103
+ :'service_fee' => :'service_fee',
104
+ :'batch_upload' => :'batch_upload'
101
105
  }
102
106
  end
103
107
 
@@ -122,7 +126,8 @@ module CyberSource
122
126
  :'pay_by_link' => :'InlineResponse2013SetupsPaymentsDigitalPayments',
123
127
  :'unified_checkout' => :'InlineResponse2013SetupsPaymentsDigitalPayments',
124
128
  :'receivables_manager' => :'InlineResponse2013SetupsPaymentsDigitalPayments',
125
- :'service_fee' => :'InlineResponse2013SetupsPaymentsCardProcessing'
129
+ :'service_fee' => :'InlineResponse2013SetupsPaymentsCardProcessing',
130
+ :'batch_upload' => :'InlineResponse2013SetupsPaymentsDigitalPayments'
126
131
  }
127
132
  end
128
133
 
@@ -209,6 +214,10 @@ module CyberSource
209
214
  if attributes.has_key?(:'serviceFee')
210
215
  self.service_fee = attributes[:'serviceFee']
211
216
  end
217
+
218
+ if attributes.has_key?(:'batchUpload')
219
+ self.batch_upload = attributes[:'batchUpload']
220
+ end
212
221
  end
213
222
 
214
223
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -247,7 +256,8 @@ module CyberSource
247
256
  pay_by_link == o.pay_by_link &&
248
257
  unified_checkout == o.unified_checkout &&
249
258
  receivables_manager == o.receivables_manager &&
250
- service_fee == o.service_fee
259
+ service_fee == o.service_fee &&
260
+ batch_upload == o.batch_upload
251
261
  end
252
262
 
253
263
  # @see the `==` method
@@ -259,7 +269,7 @@ module CyberSource
259
269
  # Calculates hash code according to all attributes.
260
270
  # @return [Fixnum] Hash code
261
271
  def hash
262
- [card_processing, alternative_payment_methods, card_present_connect, e_check, payer_authentication, digital_payments, secure_acceptance, virtual_terminal, currency_conversion, tax, customer_invoicing, recurring_billing, cybs_ready_terminal, payment_orchestration, payouts, pay_by_link, unified_checkout, receivables_manager, service_fee].hash
272
+ [card_processing, alternative_payment_methods, card_present_connect, e_check, payer_authentication, digital_payments, secure_acceptance, virtual_terminal, currency_conversion, tax, customer_invoicing, recurring_billing, cybs_ready_terminal, payment_orchestration, payouts, pay_by_link, unified_checkout, receivables_manager, service_fee, batch_upload].hash
263
273
  end
264
274
 
265
275
  # Builds the object from hash
@@ -93,21 +93,21 @@ module CyberSource
93
93
  # Attribute type mapping.
94
94
  def self.swagger_types
95
95
  {
96
- :'_links' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks',
96
+ :'_links' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks',
97
97
  :'id' => :'String',
98
98
  :'object' => :'String',
99
99
  :'default' => :'BOOLEAN',
100
100
  :'state' => :'String',
101
101
  :'type' => :'String',
102
- :'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount',
103
- :'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard',
104
- :'buyer_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation',
105
- :'bill_to' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo',
102
+ :'bank_account' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount',
103
+ :'card' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard',
104
+ :'buyer_information' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation',
105
+ :'bill_to' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo',
106
106
  :'processing_information' => :'TmsPaymentInstrumentProcessingInfo',
107
- :'merchant_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation',
108
- :'instrument_identifier' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier',
109
- :'metadata' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata',
110
- :'_embedded' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded'
107
+ :'merchant_information' => :'TmsMerchantInformation',
108
+ :'instrument_identifier' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier',
109
+ :'metadata' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata',
110
+ :'_embedded' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded'
111
111
  }
112
112
  end
113
113
 
@@ -70,16 +70,16 @@ module CyberSource
70
70
  # Attribute type mapping.
71
71
  def self.swagger_types
72
72
  {
73
- :'_links' => :'Tmsv2customersLinks',
73
+ :'_links' => :'Tmsv2tokenizeTokenInformationCustomerLinks',
74
74
  :'id' => :'String',
75
- :'object_information' => :'Tmsv2customersObjectInformation',
76
- :'buyer_information' => :'Tmsv2customersBuyerInformation',
77
- :'client_reference_information' => :'Tmsv2customersClientReferenceInformation',
78
- :'merchant_defined_information' => :'Array<Tmsv2customersMerchantDefinedInformation>',
79
- :'default_payment_instrument' => :'Tmsv2customersDefaultPaymentInstrument',
80
- :'default_shipping_address' => :'Tmsv2customersDefaultShippingAddress',
81
- :'metadata' => :'Tmsv2customersMetadata',
82
- :'_embedded' => :'Tmsv2customersEmbedded'
75
+ :'object_information' => :'Tmsv2tokenizeTokenInformationCustomerObjectInformation',
76
+ :'buyer_information' => :'Tmsv2tokenizeTokenInformationCustomerBuyerInformation',
77
+ :'client_reference_information' => :'Tmsv2tokenizeTokenInformationCustomerClientReferenceInformation',
78
+ :'merchant_defined_information' => :'Array<Tmsv2tokenizeTokenInformationCustomerMerchantDefinedInformation>',
79
+ :'default_payment_instrument' => :'Tmsv2tokenizeTokenInformationCustomerDefaultPaymentInstrument',
80
+ :'default_shipping_address' => :'Tmsv2tokenizeTokenInformationCustomerDefaultShippingAddress',
81
+ :'metadata' => :'Tmsv2tokenizeTokenInformationCustomerMetadata',
82
+ :'_embedded' => :'Tmsv2tokenizeTokenInformationCustomerEmbedded'
83
83
  }
84
84
  end
85
85
 
@@ -50,11 +50,11 @@ module CyberSource
50
50
  # Attribute type mapping.
51
51
  def self.swagger_types
52
52
  {
53
- :'_links' => :'Tmsv2customersEmbeddedDefaultShippingAddressLinks',
53
+ :'_links' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressLinks',
54
54
  :'id' => :'String',
55
55
  :'default' => :'BOOLEAN',
56
- :'ship_to' => :'Tmsv2customersEmbeddedDefaultShippingAddressShipTo',
57
- :'metadata' => :'Tmsv2customersEmbeddedDefaultShippingAddressMetadata'
56
+ :'ship_to' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressShipTo',
57
+ :'metadata' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultShippingAddressMetadata'
58
58
  }
59
59
  end
60
60
 
@@ -93,21 +93,21 @@ module CyberSource
93
93
  # Attribute type mapping.
94
94
  def self.swagger_types
95
95
  {
96
- :'_links' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks',
96
+ :'_links' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks',
97
97
  :'id' => :'String',
98
98
  :'object' => :'String',
99
99
  :'default' => :'BOOLEAN',
100
100
  :'state' => :'String',
101
101
  :'type' => :'String',
102
- :'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount',
103
- :'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard',
104
- :'buyer_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation',
105
- :'bill_to' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo',
102
+ :'bank_account' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount',
103
+ :'card' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard',
104
+ :'buyer_information' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation',
105
+ :'bill_to' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo',
106
106
  :'processing_information' => :'TmsPaymentInstrumentProcessingInfo',
107
- :'merchant_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation',
108
- :'instrument_identifier' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier',
109
- :'metadata' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata',
110
- :'_embedded' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded'
107
+ :'merchant_information' => :'TmsMerchantInformation',
108
+ :'instrument_identifier' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier',
109
+ :'metadata' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata',
110
+ :'_embedded' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentEmbedded'
111
111
  }
112
112
  end
113
113
 
@@ -93,20 +93,20 @@ module CyberSource
93
93
  # Attribute type mapping.
94
94
  def self.swagger_types
95
95
  {
96
- :'_links' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentLinks',
96
+ :'_links' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentLinks',
97
97
  :'id' => :'String',
98
98
  :'object' => :'String',
99
99
  :'default' => :'BOOLEAN',
100
100
  :'state' => :'String',
101
101
  :'type' => :'String',
102
- :'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount',
103
- :'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard',
104
- :'buyer_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation',
105
- :'bill_to' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBillTo',
102
+ :'bank_account' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBankAccount',
103
+ :'card' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentCard',
104
+ :'buyer_information' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBuyerInformation',
105
+ :'bill_to' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentBillTo',
106
106
  :'processing_information' => :'TmsPaymentInstrumentProcessingInfo',
107
- :'merchant_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMerchantInformation',
108
- :'instrument_identifier' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentInstrumentIdentifier',
109
- :'metadata' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentMetadata',
107
+ :'merchant_information' => :'TmsMerchantInformation',
108
+ :'instrument_identifier' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentInstrumentIdentifier',
109
+ :'metadata' => :'Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrumentMetadata',
110
110
  :'_embedded' => :'PaymentInstrumentList1EmbeddedEmbedded'
111
111
  }
112
112
  end
@@ -33,7 +33,7 @@ module CyberSource
33
33
  # Attribute type mapping.
34
34
  def self.swagger_types
35
35
  {
36
- :'payment_instruments' => :'Array<Tmsv2customersEmbeddedDefaultPaymentInstrument>'
36
+ :'payment_instruments' => :'Array<Tmsv2tokenizeTokenInformationCustomerEmbeddedDefaultPaymentInstrument>'
37
37
  }
38
38
  end
39
39