cybersource_rest_client 0.0.58 → 0.0.59

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +9 -9
  3. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations.rb → card_processing_config.rb} +3 -3
  4. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common.rb → card_processing_config_common.rb} +3 -3
  5. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common_acquirer.rb → card_processing_config_common_acquirer.rb} +1 -1
  6. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common_currencies.rb → card_processing_config_common_currencies.rb} +1 -1
  7. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common_currencies_1.rb → card_processing_config_common_currencies_1.rb} +1 -1
  8. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_common_merchant_descriptor_info.rb → card_processing_config_common_merchant_descriptor_information.rb} +1 -1
  9. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common_payment_types.rb → card_processing_config_common_payment_types.rb} +2 -2
  10. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_common_processors.rb → card_processing_config_common_processors.rb} +4 -4
  11. data/lib/cybersource_rest_client/models/{payments_products_virtual_terminal_configuration_information_configurations.rb → card_processing_config_features.rb} +3 -3
  12. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_card_not_present.rb → card_processing_config_features_card_not_present.rb} +3 -3
  13. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_card_not_present_installment.rb → card_processing_config_features_card_not_present_installment.rb} +1 -1
  14. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_card_not_present_payouts.rb → card_processing_config_features_card_not_present_payouts.rb} +2 -2
  15. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_features_card_not_present_payouts_currencies.rb → card_processing_config_features_card_not_present_payouts_currencies.rb} +1 -1
  16. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_card_not_present_processors.rb → card_processing_config_features_card_not_present_processors.rb} +2 -2
  17. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_features_card_present.rb → card_processing_config_features_card_present.rb} +2 -2
  18. data/lib/cybersource_rest_client/models/{payment_products_card_processing_config_card_present_processors.rb → card_processing_config_features_card_present_processors.rb} +1 -1
  19. data/lib/cybersource_rest_client/models/create_credit_request.rb +21 -1
  20. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations.rb → dm_config.rb} +5 -5
  21. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_organization.rb → dm_config_organization.rb} +1 -1
  22. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_portfolio_controls.rb → dm_config_portfolio_controls.rb} +1 -1
  23. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_processing_options.rb → dm_config_processing_options.rb} +1 -1
  24. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_thirdparty.rb → dm_config_thirdparty.rb} +2 -2
  25. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_thirdparty_provider.rb → dm_config_thirdparty_provider.rb} +8 -8
  26. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_signifyd.rb → dm_config_thirdparty_provider_accurint.rb} +2 -2
  27. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_accurint_creds.rb → dm_config_thirdparty_provider_accurint_credentials.rb} +1 -1
  28. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_configuration_information_configurations_thirdparty_provider_ekata.rb → dm_config_thirdparty_provider_credilink.rb} +2 -2
  29. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_credilink_creds.rb → dm_config_thirdparty_provider_credilink_credentials.rb} +1 -1
  30. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_emailage.rb → dm_config_thirdparty_provider_ekata.rb} +2 -2
  31. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_ekata_creds.rb → dm_config_thirdparty_provider_ekata_credentials.rb} +1 -1
  32. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_credilink.rb → dm_config_thirdparty_provider_emailage.rb} +2 -2
  33. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_perseuss.rb → dm_config_thirdparty_provider_perseuss.rb} +2 -2
  34. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_accurint.rb → dm_config_thirdparty_provider_signifyd.rb} +2 -2
  35. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_signifyd_creds.rb → dm_config_thirdparty_provider_signifyd_credentials.rb} +1 -1
  36. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_targus.rb → dm_config_thirdparty_provider_targus.rb} +2 -2
  37. data/lib/cybersource_rest_client/models/{risk_products_decision_manager_config_thirdparty_provider_targus_creds.rb → dm_config_thirdparty_provider_targus_credentials.rb} +1 -1
  38. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations.rb → e_check_config.rb} +4 -4
  39. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations_common.rb → e_check_config_common.rb} +3 -3
  40. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations_common_internal_only.rb → e_check_config_common_internal_only.rb} +2 -2
  41. data/lib/cybersource_rest_client/models/{payments_products_e_check_config_common_internal_only_processors.rb → e_check_config_common_internal_only_processors.rb} +1 -1
  42. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations_common_processors.rb → e_check_config_common_processors.rb} +1 -1
  43. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations_features.rb → e_check_config_features.rb} +2 -2
  44. data/lib/cybersource_rest_client/models/{payment_products_e_check_config_account_validation_service.rb → e_check_config_features_account_validation_service.rb} +3 -3
  45. data/lib/cybersource_rest_client/models/{payment_products_e_check_config_account_validation_service_internal_only.rb → e_check_config_features_account_validation_service_internal_only.rb} +1 -1
  46. data/lib/cybersource_rest_client/models/{payment_products_e_check_config_account_validation_service_processors.rb → e_check_config_features_account_validation_service_processors.rb} +1 -1
  47. data/lib/cybersource_rest_client/models/{payments_products_e_check_configuration_information_configurations_underwriting.rb → e_check_config_underwriting.rb} +1 -1
  48. data/lib/cybersource_rest_client/models/inline_response_201_1_setups_payments.rb +15 -5
  49. data/lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb +242 -0
  50. data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +1 -1
  51. data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +8 -8
  52. data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +1 -1
  53. data/lib/cybersource_rest_client/models/{payments_products_payer_authentication_configuration_information_configurations.rb → payer_auth_config.rb} +2 -2
  54. data/lib/cybersource_rest_client/models/{payments_products_payer_authentication_configuration_information_configurations_card_types.rb → payer_auth_config_card_types.rb} +9 -9
  55. data/lib/cybersource_rest_client/models/{payments_products_payer_authentication_configuration_information_configurations_card_types_cb.rb → payer_auth_config_card_types_cb.rb} +2 -2
  56. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_config_card_types_j_cbj_secure.rb → payer_auth_config_card_types_j_cbj_secure.rb} +2 -2
  57. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_config_card_types_verified.rb → payer_auth_config_card_types_verified_by_visa.rb} +2 -2
  58. data/lib/cybersource_rest_client/models/{payment_products_payer_authentication_config_card_types_verified_currencies.rb → payer_auth_config_card_types_verified_by_visa_currencies.rb} +1 -1
  59. data/lib/cybersource_rest_client/models/payments_products.rb +15 -5
  60. data/lib/cybersource_rest_client/models/payments_products_card_processing_configuration_information.rb +1 -1
  61. data/lib/cybersource_rest_client/models/payments_products_e_check_configuration_information.rb +1 -1
  62. data/lib/cybersource_rest_client/models/payments_products_payer_authentication_configuration_information.rb +1 -1
  63. data/lib/cybersource_rest_client/models/payments_products_secure_acceptance_configuration_information.rb +1 -1
  64. data/lib/cybersource_rest_client/models/payments_products_virtual_terminal_configuration_information.rb +1 -1
  65. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_consumer_authentication_information_issuer_information.rb → payments_strong_auth_issuer_information.rb} +1 -1
  66. data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +1 -1
  67. data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +8 -8
  68. data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +8 -8
  69. data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +1 -1
  70. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_strong_authentication.rb +1 -1
  71. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +1 -1
  72. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +22 -5
  73. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +1 -1
  74. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +1 -1
  75. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +15 -5
  76. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +15 -5
  77. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_refund_options.rb +191 -0
  78. data/lib/cybersource_rest_client/models/ptsv2credits_recipient_information.rb +214 -0
  79. data/lib/cybersource_rest_client/models/ptsv2credits_sender_information.rb +275 -0
  80. data/lib/cybersource_rest_client/models/ptsv2credits_sender_information_account.rb +214 -0
  81. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +12 -1
  82. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information.rb +35 -5
  83. data/lib/cybersource_rest_client/models/risk_products_decision_manager_configuration_information.rb +1 -1
  84. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations.rb → sa_config.rb} +7 -7
  85. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_checkout.rb → sa_config_checkout.rb} +1 -1
  86. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_contact_information.rb → sa_config_contact_information.rb} +1 -1
  87. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_notifications.rb → sa_config_notifications.rb} +3 -3
  88. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_config_notifications_customer_notifications.rb → sa_config_notifications_customer_notifications.rb} +1 -1
  89. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_config_notifications_merchant_notifications.rb → sa_config_notifications_merchant_notifications.rb} +1 -1
  90. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_payment_methods.rb → sa_config_payment_methods.rb} +1 -1
  91. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_payment_types.rb → sa_config_payment_types.rb} +2 -2
  92. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_config_payment_types_card_types.rb → sa_config_payment_types_card_types.rb} +5 -5
  93. data/lib/cybersource_rest_client/models/{payment_products_secure_acceptance_config_payment_types_card_types_discover.rb → sa_config_payment_types_card_types_discover.rb} +1 -1
  94. data/lib/cybersource_rest_client/models/{payments_products_secure_acceptance_configuration_information_configurations_service.rb → sa_config_service.rb} +1 -1
  95. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_authorization_options.rb → tms_authorization_options.rb} +2 -2
  96. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_authorization_options_initiator.rb → tms_authorization_options_initiator.rb} +2 -2
  97. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_merchant_initiated_transaction.rb → tms_authorization_options_initiator_merchant_initiated_transaction.rb} +1 -1
  98. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier.rb → tms_embedded_instrument_identifier.rb} +9 -9
  99. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links.rb → tms_embedded_instrument_identifier__links.rb} +3 -3
  100. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_payment_instruments.rb → tms_embedded_instrument_identifier__links_payment_instruments.rb} +1 -1
  101. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier__links_self.rb → tms_embedded_instrument_identifier__links_self.rb} +1 -1
  102. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb → tms_embedded_instrument_identifier_bank_account.rb} +1 -1
  103. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb → tms_embedded_instrument_identifier_bill_to.rb} +1 -1
  104. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb → tms_embedded_instrument_identifier_card.rb} +1 -1
  105. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb → tms_embedded_instrument_identifier_issuer.rb} +1 -1
  106. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_metadata.rb → tms_embedded_instrument_identifier_metadata.rb} +1 -1
  107. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_processing_information.rb → tms_embedded_instrument_identifier_processing_information.rb} +2 -2
  108. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_tokenized_card.rb → tms_embedded_instrument_identifier_tokenized_card.rb} +2 -2
  109. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_tokenized_card_card.rb → tms_embedded_instrument_identifier_tokenized_card_card.rb} +1 -1
  110. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_processing_information.rb → tms_payment_instrument_processing_info.rb} +2 -2
  111. data/lib/cybersource_rest_client/models/{tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb → tms_payment_instrument_processing_info_bank_transfer_options.rb} +1 -1
  112. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +1 -1
  113. data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded.rb +1 -1
  114. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +21 -1
  115. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +28 -1
  116. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +40 -1
  117. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +1 -1
  118. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_capture_options.rb +214 -0
  119. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_recurring_payment_information.rb +197 -0
  120. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_unscheduled_payment_information.rb +191 -0
  121. data/lib/cybersource_rest_client/models/{payments_products_card_processing_configuration_information_configurations_features.rb → vt_config.rb} +3 -3
  122. data/lib/cybersource_rest_client/models/{payments_products_virtual_terminal_configuration_information_configurations_card_not_present.rb → vt_config_card_not_present.rb} +3 -3
  123. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_global_payment_info.rb → vt_config_card_not_present_global_payment_information.rb} +4 -4
  124. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_global_payment_info_basic_info.rb → vt_config_card_not_present_global_payment_information_basic_information.rb} +1 -1
  125. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_merchant_defined_data_fields.rb → vt_config_card_not_present_global_payment_information_merchant_defined_data_fields.rb} +1 -1
  126. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_payment_info.rb → vt_config_card_not_present_global_payment_information_payment_information.rb} +1 -1
  127. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_receipt_info.rb → vt_config_card_not_present_receipt_information.rb} +4 -4
  128. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_receipt_info_email_receipt.rb → vt_config_card_not_present_receipt_information_email_receipt.rb} +1 -1
  129. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_receipt_info_header.rb → vt_config_card_not_present_receipt_information_header.rb} +1 -1
  130. data/lib/cybersource_rest_client/models/{payment_products_virtual_terminal_config_card_not_present_receipt_info_order_info.rb → vt_config_card_not_present_receipt_information_order_information.rb} +1 -1
  131. data/lib/cybersource_rest_client.rb +97 -89
  132. metadata +99 -91
@@ -0,0 +1,214 @@
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.2.3
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CyberSource
16
+ class Ptsv2creditsSenderInformationAccount
17
+ # Account number of the sender of the funds. For Gaming Payment of Winnings transactions this is the merchant account number. * Required for Mastercard Payment of Winnings (POW) transactions. * Must contain only ASCII characters in range 32-122. * Must not be greater than 50 characters. * Required for POW on Barclays.
18
+ attr_accessor :number
19
+
20
+ # Source of funds for the sender. For Gaming Payment of Winnings transactions this is the merchant account type. * Required for Mastercard Payment of Winnings (POW) transactions. * Valid values: * 00 - Other * 01 - RTN + Bank Account * 02 - IBAN * 03 - Card Account * 04 - Email * 05 - PhoneNumber * 06 - Bank account number (BAN) + Bank Identification Code (BIC) * 07 - Wallet ID * 08 - Social Network ID
21
+ attr_accessor :funds_source
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'number' => :'number',
27
+ :'funds_source' => :'fundsSource'
28
+ }
29
+ end
30
+
31
+ # Attribute mapping from JSON key to ruby-style variable name.
32
+ def self.json_map
33
+ {
34
+ :'number' => :'number',
35
+ :'funds_source' => :'funds_source'
36
+ }
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ def self.swagger_types
41
+ {
42
+ :'number' => :'String',
43
+ :'funds_source' => :'String'
44
+ }
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ return unless attributes.is_a?(Hash)
51
+
52
+ # convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
54
+
55
+ if attributes.has_key?(:'number')
56
+ self.number = attributes[:'number']
57
+ end
58
+
59
+ if attributes.has_key?(:'fundsSource')
60
+ self.funds_source = attributes[:'fundsSource']
61
+ end
62
+ end
63
+
64
+ # Show invalid properties with the reasons. Usually used together with valid?
65
+ # @return Array for valid properties with the reasons
66
+ def list_invalid_properties
67
+ invalid_properties = Array.new
68
+ invalid_properties
69
+ end
70
+
71
+ # Check to see if the all the properties in the model are valid
72
+ # @return true if the model is valid
73
+ def valid?
74
+ true
75
+ end
76
+
77
+ # Custom attribute writer method with validation
78
+ # @param [Object] number Value to be assigned
79
+ def number=(number)
80
+ @number = number
81
+ end
82
+
83
+ # Custom attribute writer method with validation
84
+ # @param [Object] funds_source Value to be assigned
85
+ def funds_source=(funds_source)
86
+ @funds_source = funds_source
87
+ end
88
+
89
+ # Checks equality by comparing each attribute.
90
+ # @param [Object] Object to be compared
91
+ def ==(o)
92
+ return true if self.equal?(o)
93
+ self.class == o.class &&
94
+ number == o.number &&
95
+ funds_source == o.funds_source
96
+ end
97
+
98
+ # @see the `==` method
99
+ # @param [Object] Object to be compared
100
+ def eql?(o)
101
+ self == o
102
+ end
103
+
104
+ # Calculates hash code according to all attributes.
105
+ # @return [Fixnum] Hash code
106
+ def hash
107
+ [number, funds_source].hash
108
+ end
109
+
110
+ # Builds the object from hash
111
+ # @param [Hash] attributes Model attributes in the form of hash
112
+ # @return [Object] Returns the model itself
113
+ def build_from_hash(attributes)
114
+ return nil unless attributes.is_a?(Hash)
115
+ self.class.swagger_types.each_pair do |key, type|
116
+ if type =~ /\AArray<(.*)>/i
117
+ # check to ensure the input is an array given that the the attribute
118
+ # is documented as an array but the input is not
119
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
120
+ self.send("#{self.class.json_map[key]}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
121
+ end
122
+ elsif !attributes[self.class.attribute_map[key]].nil?
123
+ self.send("#{self.class.json_map[key]}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
124
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
125
+ end
126
+
127
+ self
128
+ end
129
+
130
+ # Deserializes the data based on type
131
+ # @param string type Data type
132
+ # @param string value Value to be deserialized
133
+ # @return [Object] Deserialized data
134
+ def _deserialize(type, value)
135
+ case type.to_sym
136
+ when :DateTime
137
+ DateTime.parse(value)
138
+ when :Date
139
+ Date.parse(value)
140
+ when :String
141
+ value.to_s
142
+ when :Integer
143
+ value.to_i
144
+ when :Float
145
+ value.to_f
146
+ when :BOOLEAN
147
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
148
+ true
149
+ else
150
+ false
151
+ end
152
+ when :Object
153
+ # generic object (usually a Hash), return directly
154
+ value
155
+ when /\AArray<(?<inner_type>.+)>\z/
156
+ inner_type = Regexp.last_match[:inner_type]
157
+ value.map { |v| _deserialize(inner_type, v) }
158
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
159
+ k_type = Regexp.last_match[:k_type]
160
+ v_type = Regexp.last_match[:v_type]
161
+ {}.tap do |hash|
162
+ value.each do |k, v|
163
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
164
+ end
165
+ end
166
+ else # model
167
+ temp_model = CyberSource.const_get(type).new
168
+ temp_model.build_from_hash(value)
169
+ end
170
+ end
171
+
172
+ # Returns the string representation of the object
173
+ # @return [String] String presentation of the object
174
+ def to_s
175
+ to_hash.to_s
176
+ end
177
+
178
+ # to_body is an alias to to_hash (backward compatibility)
179
+ # @return [Hash] Returns the object in the form of hash
180
+ def to_body
181
+ to_hash
182
+ end
183
+
184
+ # Returns the object in the form of hash
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_hash
187
+ hash = {}
188
+ self.class.attribute_map.each_pair do |attr, param|
189
+ value = self.send(attr)
190
+ next if value.nil?
191
+ hash[param] = _to_hash(value)
192
+ end
193
+ hash
194
+ end
195
+
196
+ # Outputs non-array value in the form of hash
197
+ # For object, use to_hash. Otherwise, just return the value
198
+ # @param [Object] value Any valid value
199
+ # @return [Hash] Returns the value in the form of hash
200
+ def _to_hash(value)
201
+ if value.is_a?(Array)
202
+ value.compact.map { |v| _to_hash(v) }
203
+ elsif value.is_a?(Hash)
204
+ {}.tap do |hash|
205
+ value.each { |k, v| hash[k] = _to_hash(v) }
206
+ end
207
+ elsif value.respond_to? :to_hash
208
+ value.to_hash
209
+ else
210
+ value
211
+ end
212
+ end
213
+ end
214
+ end
@@ -32,6 +32,9 @@ module CyberSource
32
32
  # Flag that indicates whether the transaction is enabled for partial authorization. When the request includes this field, this value overrides the information in your account. Possible values: - `true`: Enable the transaction for partial authorization. - `false`: Do not enable the transaction for partial authorization. #### PIN debit Required field for partial authorizations that use PIN debit purchase; otherwise, not used. #### Used by **Authorization** Optional field. #### CyberSource through VisaNet To set the default for this field, contact CyberSource Customer Support. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR0 - Position: 164 - Field: Additional Authorization Indicators
33
33
  attr_accessor :partial_auth_indicator
34
34
 
35
+ # Flag that indicates whether the transaction is an extended authorization.
36
+ attr_accessor :extend_auth_indicator
37
+
35
38
  # Flag that indicates whether to return balance information. Possible values: - `true`: Return balance information. - `false`: Do not return balance information. #### Used by **Authorization** Required for a balance inquiry; otherwise, not used. #### PIN debit Required for a balance inquiry request of a PIN debit purchase; otherwise, not used.
36
39
  attr_accessor :balance_inquiry
37
40
 
@@ -85,6 +88,7 @@ module CyberSource
85
88
  :'verbal_auth_transaction_id' => :'verbalAuthTransactionId',
86
89
  :'auth_indicator' => :'authIndicator',
87
90
  :'partial_auth_indicator' => :'partialAuthIndicator',
91
+ :'extend_auth_indicator' => :'extendAuthIndicator',
88
92
  :'balance_inquiry' => :'balanceInquiry',
89
93
  :'ignore_avs_result' => :'ignoreAvsResult',
90
94
  :'decline_avs_flags' => :'declineAvsFlags',
@@ -112,6 +116,7 @@ module CyberSource
112
116
  :'verbal_auth_transaction_id' => :'verbal_auth_transaction_id',
113
117
  :'auth_indicator' => :'auth_indicator',
114
118
  :'partial_auth_indicator' => :'partial_auth_indicator',
119
+ :'extend_auth_indicator' => :'extend_auth_indicator',
115
120
  :'balance_inquiry' => :'balance_inquiry',
116
121
  :'ignore_avs_result' => :'ignore_avs_result',
117
122
  :'decline_avs_flags' => :'decline_avs_flags',
@@ -139,6 +144,7 @@ module CyberSource
139
144
  :'verbal_auth_transaction_id' => :'String',
140
145
  :'auth_indicator' => :'String',
141
146
  :'partial_auth_indicator' => :'BOOLEAN',
147
+ :'extend_auth_indicator' => :'String',
142
148
  :'balance_inquiry' => :'BOOLEAN',
143
149
  :'ignore_avs_result' => :'BOOLEAN',
144
150
  :'decline_avs_flags' => :'Array<String>',
@@ -189,6 +195,10 @@ module CyberSource
189
195
  self.partial_auth_indicator = attributes[:'partialAuthIndicator']
190
196
  end
191
197
 
198
+ if attributes.has_key?(:'extendAuthIndicator')
199
+ self.extend_auth_indicator = attributes[:'extendAuthIndicator']
200
+ end
201
+
192
202
  if attributes.has_key?(:'balanceInquiry')
193
203
  self.balance_inquiry = attributes[:'balanceInquiry']
194
204
  end
@@ -310,6 +320,7 @@ module CyberSource
310
320
  verbal_auth_transaction_id == o.verbal_auth_transaction_id &&
311
321
  auth_indicator == o.auth_indicator &&
312
322
  partial_auth_indicator == o.partial_auth_indicator &&
323
+ extend_auth_indicator == o.extend_auth_indicator &&
313
324
  balance_inquiry == o.balance_inquiry &&
314
325
  ignore_avs_result == o.ignore_avs_result &&
315
326
  decline_avs_flags == o.decline_avs_flags &&
@@ -336,7 +347,7 @@ module CyberSource
336
347
  # Calculates hash code according to all attributes.
337
348
  # @return [Fixnum] Hash code
338
349
  def hash
339
- [auth_type, pan_return_indicator, verbal_auth_code, verbal_auth_transaction_id, auth_indicator, partial_auth_indicator, balance_inquiry, ignore_avs_result, decline_avs_flags, ignore_cv_result, initiator, bill_payment, bill_payment_type, redemption_inquiry, transportation_mode, aggregated_auth_indicator, debt_recovery_indicator, deferred_auth_indicator, cash_advance_indicator, split_payment_transaction, card_verification_indicator].hash
350
+ [auth_type, pan_return_indicator, verbal_auth_code, verbal_auth_transaction_id, auth_indicator, partial_auth_indicator, extend_auth_indicator, balance_inquiry, ignore_avs_result, decline_avs_flags, ignore_cv_result, initiator, bill_payment, bill_payment_type, redemption_inquiry, transportation_mode, aggregated_auth_indicator, debt_recovery_indicator, deferred_auth_indicator, cash_advance_indicator, split_payment_transaction, card_verification_indicator].hash
340
351
  end
341
352
 
342
353
  # Builds the object from hash
@@ -18,11 +18,20 @@ module CyberSource
18
18
 
19
19
  attr_accessor :customer
20
20
 
21
+ attr_accessor :payment_instrument
22
+
23
+ attr_accessor :instrument_identifier
24
+
25
+ attr_accessor :tokenized_card
26
+
21
27
  # Attribute mapping from ruby-style variable name to JSON key.
22
28
  def self.attribute_map
23
29
  {
24
30
  :'card' => :'card',
25
- :'customer' => :'customer'
31
+ :'customer' => :'customer',
32
+ :'payment_instrument' => :'paymentInstrument',
33
+ :'instrument_identifier' => :'instrumentIdentifier',
34
+ :'tokenized_card' => :'tokenizedCard'
26
35
  }
27
36
  end
28
37
 
@@ -30,7 +39,10 @@ module CyberSource
30
39
  def self.json_map
31
40
  {
32
41
  :'card' => :'card',
33
- :'customer' => :'customer'
42
+ :'customer' => :'customer',
43
+ :'payment_instrument' => :'payment_instrument',
44
+ :'instrument_identifier' => :'instrument_identifier',
45
+ :'tokenized_card' => :'tokenized_card'
34
46
  }
35
47
  end
36
48
 
@@ -38,7 +50,10 @@ module CyberSource
38
50
  def self.swagger_types
39
51
  {
40
52
  :'card' => :'Ptsv2payoutsPaymentInformationCard',
41
- :'customer' => :'Ptsv2paymentsPaymentInformationCustomer'
53
+ :'customer' => :'Ptsv2paymentsPaymentInformationCustomer',
54
+ :'payment_instrument' => :'Ptsv2paymentsPaymentInformationPaymentInstrument',
55
+ :'instrument_identifier' => :'PtsV2PaymentsPost201ResponsePaymentInformationInstrumentIdentifier',
56
+ :'tokenized_card' => :'Ptsv2paymentsPaymentInformationTokenizedCard'
42
57
  }
43
58
  end
44
59
 
@@ -57,6 +72,18 @@ module CyberSource
57
72
  if attributes.has_key?(:'customer')
58
73
  self.customer = attributes[:'customer']
59
74
  end
75
+
76
+ if attributes.has_key?(:'paymentInstrument')
77
+ self.payment_instrument = attributes[:'paymentInstrument']
78
+ end
79
+
80
+ if attributes.has_key?(:'instrumentIdentifier')
81
+ self.instrument_identifier = attributes[:'instrumentIdentifier']
82
+ end
83
+
84
+ if attributes.has_key?(:'tokenizedCard')
85
+ self.tokenized_card = attributes[:'tokenizedCard']
86
+ end
60
87
  end
61
88
 
62
89
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -78,7 +105,10 @@ module CyberSource
78
105
  return true if self.equal?(o)
79
106
  self.class == o.class &&
80
107
  card == o.card &&
81
- customer == o.customer
108
+ customer == o.customer &&
109
+ payment_instrument == o.payment_instrument &&
110
+ instrument_identifier == o.instrument_identifier &&
111
+ tokenized_card == o.tokenized_card
82
112
  end
83
113
 
84
114
  # @see the `==` method
@@ -90,7 +120,7 @@ module CyberSource
90
120
  # Calculates hash code according to all attributes.
91
121
  # @return [Fixnum] Hash code
92
122
  def hash
93
- [card, customer].hash
123
+ [card, customer, payment_instrument, instrument_identifier, tokenized_card].hash
94
124
  end
95
125
 
96
126
  # Builds the object from hash
@@ -38,7 +38,7 @@ module CyberSource
38
38
  def self.swagger_types
39
39
  {
40
40
  :'template_id' => :'String',
41
- :'configurations' => :'RiskProductsDecisionManagerConfigurationInformationConfigurations'
41
+ :'configurations' => :'DmConfig'
42
42
  }
43
43
  end
44
44
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurations
16
+ class SAConfig
17
17
  # You can group Secure Acceptance profiles under parent profiles. By changing the parent profile, you can update all profiles underneath that parent. Specify the Parent Profile ID here.
18
18
  attr_accessor :parent_profile_id
19
19
 
@@ -59,12 +59,12 @@ module CyberSource
59
59
  def self.swagger_types
60
60
  {
61
61
  :'parent_profile_id' => :'String',
62
- :'contact_information' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation',
63
- :'notifications' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications',
64
- :'service' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsService',
65
- :'payment_methods' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods',
66
- :'checkout' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout',
67
- :'payment_types' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes'
62
+ :'contact_information' => :'SAConfigContactInformation',
63
+ :'notifications' => :'SAConfigNotifications',
64
+ :'service' => :'SAConfigService',
65
+ :'payment_methods' => :'SAConfigPaymentMethods',
66
+ :'checkout' => :'SAConfigCheckout',
67
+ :'payment_types' => :'SAConfigPaymentTypes'
68
68
  }
69
69
  end
70
70
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsCheckout
16
+ class SAConfigCheckout
17
17
  # Toggles whether or not the tax amount is displayed on the Hosted Checkout.
18
18
  attr_accessor :display_tax_amount
19
19
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # Optional contact information to be associated with the Secure Acceptance profile - for example the developer of the integration to the Hosted Checkout.
17
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsContactInformation
17
+ class SAConfigContactInformation
18
18
  attr_accessor :phone
19
19
 
20
20
  attr_accessor :company_name
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsNotifications
16
+ class SAConfigNotifications
17
17
  attr_accessor :merchant_notifications
18
18
 
19
19
  attr_accessor :customer_notifications
@@ -37,8 +37,8 @@ module CyberSource
37
37
  # Attribute type mapping.
38
38
  def self.swagger_types
39
39
  {
40
- :'merchant_notifications' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications',
41
- :'customer_notifications' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications'
40
+ :'merchant_notifications' => :'SAConfigNotificationsMerchantNotifications',
41
+ :'customer_notifications' => :'SAConfigNotificationsCustomerNotifications'
42
42
  }
43
43
  end
44
44
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # Features relating to notifications being sent directly to the payer using the Hosted Checkout.
17
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsCustomerNotifications
17
+ class SAConfigNotificationsCustomerNotifications
18
18
  # Toggles the custom receipt page, where merchants can receive the results of the transaction and display appropriate messaging. Usually set by web developers integrating to Secure Acceptance.
19
19
  attr_accessor :custom_receipt_page_enabled
20
20
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsNotificationsMerchantNotifications
16
+ class SAConfigNotificationsMerchantNotifications
17
17
  # Enables Webhook transaction confirmation messages sent to URL defined in backofficePostUrl. Usually enabled by web developers integrating to Secure Acceptance.
18
18
  attr_accessor :backoffice_post_enabled
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentMethods
16
+ class SAConfigPaymentMethods
17
17
  attr_accessor :enabled_payment_methods
18
18
 
19
19
  class EnumAttributeValidator
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # Object containing Payment Types supported
17
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypes
17
+ class SAConfigPaymentTypes
18
18
  attr_accessor :card_types
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -34,7 +34,7 @@ module CyberSource
34
34
  # Attribute type mapping.
35
35
  def self.swagger_types
36
36
  {
37
- :'card_types' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes'
37
+ :'card_types' => :'SAConfigPaymentTypesCardTypes'
38
38
  }
39
39
  end
40
40
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypes
16
+ class SAConfigPaymentTypesCardTypes
17
17
  attr_accessor :discover
18
18
 
19
19
  attr_accessor :amex
@@ -45,10 +45,10 @@ module CyberSource
45
45
  # Attribute type mapping.
46
46
  def self.swagger_types
47
47
  {
48
- :'discover' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover',
49
- :'amex' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover',
50
- :'master_card' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover',
51
- :'visa' => :'PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover'
48
+ :'discover' => :'SAConfigPaymentTypesCardTypesDiscover',
49
+ :'amex' => :'SAConfigPaymentTypesCardTypesDiscover',
50
+ :'master_card' => :'SAConfigPaymentTypesCardTypesDiscover',
51
+ :'visa' => :'SAConfigPaymentTypesCardTypesDiscover'
52
52
  }
53
53
  end
54
54
 
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  # Object containing supported Card Types and settings
17
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsPaymentTypesCardTypesDiscover
17
+ class SAConfigPaymentTypesCardTypesDiscover
18
18
  # Dictates whether or Card Verification Number is supported by the card type. Usually this is set at system level.
19
19
  attr_accessor :card_verification_number_supported
20
20
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class PaymentsProductsSecureAcceptanceConfigurationInformationConfigurationsService
16
+ class SAConfigService
17
17
  # Toggles whether verbose Decision Manager results should be present in the Secure Acceptance response. As this response passes through the browser, it is recommended to set this to \"false\" outside of debugging.
18
18
  attr_accessor :decision_manager_verbose_enabled
19
19
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptions
16
+ class TmsAuthorizationOptions
17
17
  attr_accessor :initiator
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -33,7 +33,7 @@ module CyberSource
33
33
  # Attribute type mapping.
34
34
  def self.swagger_types
35
35
  {
36
- :'initiator' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptionsInitiator'
36
+ :'initiator' => :'TmsAuthorizationOptionsInitiator'
37
37
  }
38
38
  end
39
39
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptionsInitiator
16
+ class TmsAuthorizationOptionsInitiator
17
17
  attr_accessor :merchant_initiated_transaction
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -33,7 +33,7 @@ module CyberSource
33
33
  # Attribute type mapping.
34
34
  def self.swagger_types
35
35
  {
36
- :'merchant_initiated_transaction' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction'
36
+ :'merchant_initiated_transaction' => :'TmsAuthorizationOptionsInitiatorMerchantInitiatedTransaction'
37
37
  }
38
38
  end
39
39
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction
16
+ class TmsAuthorizationOptionsInitiatorMerchantInitiatedTransaction
17
17
  # Network transaction identifier that was returned in the payment response field _processorInformation.transactionID_ in the reply message for either the original merchant-initiated payment in the series or the previous merchant-initiated payment in the series.
18
18
  attr_accessor :previous_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 Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier
16
+ class TmsEmbeddedInstrumentIdentifier
17
17
  attr_accessor :_links
18
18
 
19
19
  # The Id of the Instrument Identifier Token.
@@ -81,18 +81,18 @@ module CyberSource
81
81
  # Attribute type mapping.
82
82
  def self.swagger_types
83
83
  {
84
- :'_links' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinks',
84
+ :'_links' => :'TmsEmbeddedInstrumentIdentifierLinks',
85
85
  :'id' => :'String',
86
86
  :'object' => :'String',
87
87
  :'state' => :'String',
88
88
  :'type' => :'String',
89
- :'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierCard',
90
- :'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBankAccount',
91
- :'tokenized_card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierTokenizedCard',
92
- :'issuer' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierIssuer',
93
- :'processing_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierProcessingInformation',
94
- :'bill_to' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBillTo',
95
- :'metadata' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierMetadata'
89
+ :'card' => :'TmsEmbeddedInstrumentIdentifierCard',
90
+ :'bank_account' => :'TmsEmbeddedInstrumentIdentifierBankAccount',
91
+ :'tokenized_card' => :'TmsEmbeddedInstrumentIdentifierTokenizedCard',
92
+ :'issuer' => :'TmsEmbeddedInstrumentIdentifierIssuer',
93
+ :'processing_information' => :'TmsEmbeddedInstrumentIdentifierProcessingInformation',
94
+ :'bill_to' => :'TmsEmbeddedInstrumentIdentifierBillTo',
95
+ :'metadata' => :'TmsEmbeddedInstrumentIdentifierMetadata'
96
96
  }
97
97
  end
98
98
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinks
16
+ class TmsEmbeddedInstrumentIdentifierLinks
17
17
  attr_accessor :_self
18
18
 
19
19
  attr_accessor :payment_instruments
@@ -37,8 +37,8 @@ module CyberSource
37
37
  # Attribute type mapping.
38
38
  def self.swagger_types
39
39
  {
40
- :'_self' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinksSelf',
41
- :'payment_instruments' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinksPaymentInstruments'
40
+ :'_self' => :'TmsEmbeddedInstrumentIdentifierLinksSelf',
41
+ :'payment_instruments' => :'TmsEmbeddedInstrumentIdentifierLinksPaymentInstruments'
42
42
  }
43
43
  end
44
44
 
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
13
13
  require 'date'
14
14
 
15
15
  module CyberSource
16
- class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierLinksPaymentInstruments
16
+ class TmsEmbeddedInstrumentIdentifierLinksPaymentInstruments
17
17
  # Link to the Instrument Identifiers Payment Instruments.
18
18
  attr_accessor :href
19
19