cybersource_rest_client 0.0.86 → 0.0.87
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.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +14 -6
- data/lib/cybersource_rest_client/api/agent_capabilities_api.rb +24 -24
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +3 -3
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/foreign_exchange_rates_api.rb +3 -3
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +9 -9
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
- data/lib/cybersource_rest_client/api/offers_api.rb +3 -3
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +1 -1
- data/lib/cybersource_rest_client/api/transaction_query_api.rb +3 -3
- data/lib/cybersource_rest_client/api/visa_protect_risk_insights_api.rb +104 -0
- data/lib/cybersource_rest_client/models/inline_response_200_16.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_200_17.rb +5 -5
- data/lib/cybersource_rest_client/models/inline_response_200_18.rb +5 -5
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_10.rb +18 -93
- data/lib/cybersource_rest_client/models/inline_response_201_11.rb +103 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_12_client_reference_information.rb → inline_response_201_11_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_error_information.rb → inline_response_201_11_error_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information.rb → inline_response_201_11_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion.rb → inline_response_201_11_order_information_currency_conversion.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_12_order_information_currency_conversion_offer.rb → inline_response_201_11_order_information_currency_conversion_offer.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_12_processor_information.rb → inline_response_201_11_processor_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_12.rb +110 -89
- data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_address.rb → inline_response_201_12_fulfillment_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_fulfillment_options.rb → inline_response_201_12_fulfillment_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_item.rb → inline_response_201_12_item.rb} +20 -20
- data/lib/cybersource_rest_client/models/inline_response_201_12_line_items.rb +256 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_13_links.rb → inline_response_201_12_links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_messages.rb → inline_response_201_12_messages.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_payment_provider.rb → inline_response_201_12_payment_provider.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_13_totals.rb → inline_response_201_12_totals.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_13.rb +61 -67
- data/lib/cybersource_rest_client/models/{inline_response_201_14_discounts.rb → inline_response_201_13_discounts.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_fulfillment.rb → inline_response_201_13_fulfillment.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_13_item.rb +19 -19
- data/lib/cybersource_rest_client/models/inline_response_201_13_line_items.rb +20 -51
- data/lib/cybersource_rest_client/models/{inline_response_201_14_order.rb → inline_response_201_13_order.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_payment.rb → inline_response_201_13_payment.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp.rb → inline_response_201_13_ucp.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_14_ucp_capabilities.rb → inline_response_201_13_ucp_capabilities.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +82 -39
- data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information.rb → inline_response_201_3_error_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_5_error_information_details.rb → inline_response_201_3_error_information_details.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information.rb → inline_response_201_3_order_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/inline_response_201_3_order_information_amount_details.rb +315 -0
- data/lib/cybersource_rest_client/models/inline_response_201_3_processing_information.rb +189 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_4_processing_information_routing.rb → inline_response_201_3_processing_information_routing.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_3_processor_information.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +41 -30
- data/lib/cybersource_rest_client/models/{inline_response_201_5__links.rb → inline_response_201_4__links.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5__links_self.rb → inline_response_201_4__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_acquirer_information.rb → inline_response_201_4_acquirer_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_client_reference_information.rb → inline_response_201_4_client_reference_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_error_information_details.rb +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_merchant_information.rb → inline_response_201_4_merchant_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb +46 -97
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information.rb → inline_response_201_4_payment_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_5_payment_information_card.rb → inline_response_201_4_payment_information_card.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_processing_information.rb +59 -8
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information_payouts_options.rb → inline_response_201_4_processing_information_payouts_options.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_4_processor_information.rb +342 -7
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processor_information_card_verification.rb → inline_response_201_4_processor_information_card_verification.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_5_transactions.rb → inline_response_201_4_transactions.rb} +7 -7
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +35 -68
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information.rb → inline_response_201_5_payout_information.rb} +3 -3
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_pull_funds.rb → inline_response_201_5_payout_information_pull_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_6_payout_information_push_funds.rb → inline_response_201_5_payout_information_push_funds.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_6.rb +59 -26
- data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information.rb → inline_response_201_6_integration_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_integration_information_tenant_configurations.rb → inline_response_201_6_integration_information_tenant_configurations.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_organization_information.rb → inline_response_201_6_organization_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_product_information_setups.rb → inline_response_201_6_product_information_setups.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_7_registration_information.rb → inline_response_201_6_registration_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups.rb → inline_response_201_6_setups.rb} +4 -4
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_commerce_solutions.rb → inline_response_201_6_setups_commerce_solutions.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_risk.rb → inline_response_201_6_setups_risk.rb} +1 -1
- data/lib/cybersource_rest_client/models/{inline_response_201_7_setups_value_added_services.rb → inline_response_201_6_setups_value_added_services.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_7.rb +19 -78
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information.rb → inline_response_201_7_key_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information.rb → inline_response_201_7_key_information_error_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_8_key_information_error_information_details.rb → inline_response_201_7_key_information_error_information_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_201_8.rb +117 -25
- data/lib/cybersource_rest_client/models/inline_response_201_9.rb +68 -105
- data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads.rb → inline_response_201_9_payloads.rb} +2 -2
- data/lib/cybersource_rest_client/models/{inline_response_201_10_payloads_test_payload.rb → inline_response_201_9_payloads_test_payload.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_merchant_defined_field_values_with_definition.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_complete_mandate.rb +16 -5
- data/lib/cybersource_rest_client/models/ucv1sessions_data.rb +11 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_acquirer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/ucv1sessions_data_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ucv1sessions_data_consumer_authentication_information.rb +16 -5
- data/lib/cybersource_rest_client/models/{inline_response_201_14_line_items.rb → unified_risk_post201_response.rb} +28 -42
- data/lib/cybersource_rest_client/models/{inline_response_201_3_results.rb → unified_risk_post201_response_results.rb} +3 -3
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights.rb +291 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_client.rb +208 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_error.rb +202 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages.rb +190 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights.rb +250 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_results_risk_insights_packages_transaction_insights_insights.rb +219 -0
- data/lib/cybersource_rest_client/models/unified_risk_post201_response_transaction_insights_insights_warnings.rb +214 -0
- data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response.rb → unified_risk_post400_response.rb} +2 -2
- data/lib/cybersource_rest_client/models/{unified_risk_labels_post400_response_errors.rb → unified_risk_post400_response_errors.rb} +1 -1
- data/lib/cybersource_rest_client/models/unifiedrisk_account.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer.rb +302 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_acquirer_merchant_account_security_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication.rb +402 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authentication_challenge.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_authorization.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_browser.rb +420 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer.rb +403 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_customer_address.rb +279 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_5_processing_information.rb → unifiedrisk_customer_personal_identification.rb} +99 -42
- data/lib/cybersource_rest_client/models/unifiedrisk_device.rb +681 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_device_point_of_sale.rb +344 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_initiating_party.rb +223 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant.rb +326 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor.rb +389 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_annual_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_average_ticket_size.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_expected_monthly_sales.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_hierarchy.rb +224 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_merchant_descriptor_limit_value.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_merchant_trading_address.rb +301 -0
- data/lib/cybersource_rest_client/models/{label_request.rb → unifiedrisk_order.rb} +60 -72
- data/lib/cybersource_rest_client/models/unifiedrisk_order_billing.rb +360 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_line_items.rb +262 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping.rb +464 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store.rb +251 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_order_shipping_store_address.rb +191 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_3_results_risk_insights.rb → unifiedrisk_order_shipping_store_store_address.rb} +43 -43
- data/lib/cybersource_rest_client/models/unifiedrisk_partner.rb +214 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment.rb +423 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_approvals.rb +193 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account.rb +451 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_5_order_information_amount_details.rb → unifiedrisk_payment_bank_account_balance_before.rb} +49 -56
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_branch_address.rb +328 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_credit_limit.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_bank_account_financial_institution.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_batch.rb +323 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card.rb +461 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_par_details.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_card_token_details.rb +380 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check.rb +289 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_check_deposit_location.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty.rb +287 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_counterparty_branch_address.rb +279 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_sdk.rb +268 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_token.rb +213 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification.rb +230 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_additional.rb +256 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication.rb +232 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_pin.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_authentication_three_ds.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security.rb +199 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_avs.rb +218 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_card_security_cvv.rb +196 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_verification_digital.rb +212 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wallet.rb +201 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_payment_wire.rb +364 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment.rb +308 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history.rb +276 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_account_history.rb +207 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_buyer_history_customer_account.rb +273 -0
- data/lib/cybersource_rest_client/models/{inline_response_201_14.rb → unifiedrisk_risk_assessment_buyer_history_customer_account_alertnate_authentication.rb} +59 -114
- data/lib/cybersource_rest_client/models/unifiedrisk_risk_assessment_vital4.rb +191 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_session.rb +202 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal.rb +238 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_address.rb +301 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_terminal_capabilities.rb +234 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk.rb +708 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_third_party_risk_raw_data.rb +189 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction.rb +305 -12
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_additional_fees.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_amount.rb +257 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details.rb +220 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_credits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_batch_debits_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_credits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_batch_details_file_debits.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details.rb +190 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_check_details_deposited_cash_amount.rb +246 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_transaction_recurring_details.rb +341 -0
- data/lib/cybersource_rest_client/models/unifiedrisk_travel.rb +279 -0
- data/lib/cybersource_rest_client/models/vpri_request.rb +505 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data.rb +190 -0
- data/lib/cybersource_rest_client/models/vpri_transaction_insights_additional_data_card_bin_data.rb +357 -0
- data/lib/cybersource_rest_client.rb +153 -61
- metadata +155 -63
- data/lib/cybersource_rest_client/api/transaction_risk_labeling_api.rb +0 -104
- data/lib/cybersource_rest_client/models/inline_response_201_5_processor_information.rb +0 -548
data/lib/cybersource_rest_client/models/inline_response_201_4_order_information_amount_details.rb
CHANGED
|
@@ -13,69 +13,51 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2014OrderInformationAmountDetails
|
|
16
|
-
#
|
|
17
|
-
attr_accessor :
|
|
16
|
+
# Amount that was authorized.
|
|
17
|
+
attr_accessor :authorized_amount
|
|
18
18
|
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
21
|
-
|
|
22
|
-
# Amount in your original local pricing currency. This value cannot be negative. You can include a decimal point (.) in this field to denote the currency exponent, but you cannot include any other special characters. If needed, CyberSource truncates the amount to the correct number of decimal places.
|
|
23
|
-
attr_accessor :original_amount
|
|
19
|
+
# Currency used for the order. Use the three-character ISO Standard Currency Codes.
|
|
20
|
+
attr_accessor :currency
|
|
24
21
|
|
|
25
|
-
#
|
|
26
|
-
attr_accessor :
|
|
22
|
+
# The rate of conversion of the currency given in the request.
|
|
23
|
+
attr_accessor :exchange_rate
|
|
27
24
|
|
|
28
|
-
#
|
|
29
|
-
attr_accessor :
|
|
25
|
+
# Grand total for the order. This value cannot be negative. You can include a decimal point (.), but no other special characters. CyberSource truncates the amount to the correct number of decimal places.
|
|
26
|
+
attr_accessor :total_amount
|
|
30
27
|
|
|
31
|
-
#
|
|
28
|
+
# This is a multicurrency field. It contains the transaction amount, converted to the currency used to bill the cardholder's account.
|
|
32
29
|
attr_accessor :settlement_amount
|
|
33
30
|
|
|
34
|
-
# The currency in which Visa or Mastercard settles with the acquirer/acquirer. Use [ISO 4217 3-Alpha Currency Codes](https://developer.cybersource.com/content/dam/docs/cybs/en-us/currency-codes/reference/all/na/currency-codes.pdf).
|
|
35
|
-
attr_accessor :settlement_currency
|
|
36
|
-
|
|
37
|
-
# Exchange rate returned by the card network for settlement.
|
|
38
|
-
attr_accessor :settlement_exchange_rate
|
|
39
|
-
|
|
40
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
41
32
|
def self.attribute_map
|
|
42
33
|
{
|
|
43
|
-
:'
|
|
34
|
+
:'authorized_amount' => :'authorizedAmount',
|
|
35
|
+
:'currency' => :'currency',
|
|
44
36
|
:'exchange_rate' => :'exchangeRate',
|
|
45
|
-
:'
|
|
46
|
-
:'
|
|
47
|
-
:'original_amount_without_markup' => :'originalAmountWithoutMarkup',
|
|
48
|
-
:'settlement_amount' => :'settlementAmount',
|
|
49
|
-
:'settlement_currency' => :'settlementCurrency',
|
|
50
|
-
:'settlement_exchange_rate' => :'settlementExchangeRate'
|
|
37
|
+
:'total_amount' => :'totalAmount',
|
|
38
|
+
:'settlement_amount' => :'settlementAmount'
|
|
51
39
|
}
|
|
52
40
|
end
|
|
53
41
|
|
|
54
42
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
55
43
|
def self.json_map
|
|
56
44
|
{
|
|
57
|
-
:'
|
|
45
|
+
:'authorized_amount' => :'authorized_amount',
|
|
46
|
+
:'currency' => :'currency',
|
|
58
47
|
:'exchange_rate' => :'exchange_rate',
|
|
59
|
-
:'
|
|
60
|
-
:'
|
|
61
|
-
:'original_amount_without_markup' => :'original_amount_without_markup',
|
|
62
|
-
:'settlement_amount' => :'settlement_amount',
|
|
63
|
-
:'settlement_currency' => :'settlement_currency',
|
|
64
|
-
:'settlement_exchange_rate' => :'settlement_exchange_rate'
|
|
48
|
+
:'total_amount' => :'total_amount',
|
|
49
|
+
:'settlement_amount' => :'settlement_amount'
|
|
65
50
|
}
|
|
66
51
|
end
|
|
67
52
|
|
|
68
53
|
# Attribute type mapping.
|
|
69
54
|
def self.swagger_types
|
|
70
55
|
{
|
|
71
|
-
:'
|
|
56
|
+
:'authorized_amount' => :'String',
|
|
57
|
+
:'currency' => :'String',
|
|
72
58
|
:'exchange_rate' => :'String',
|
|
73
|
-
:'
|
|
74
|
-
:'
|
|
75
|
-
:'original_amount_without_markup' => :'String',
|
|
76
|
-
:'settlement_amount' => :'String',
|
|
77
|
-
:'settlement_currency' => :'String',
|
|
78
|
-
:'settlement_exchange_rate' => :'String'
|
|
59
|
+
:'total_amount' => :'String',
|
|
60
|
+
:'settlement_amount' => :'String'
|
|
79
61
|
}
|
|
80
62
|
end
|
|
81
63
|
|
|
@@ -87,37 +69,25 @@ module CyberSource
|
|
|
87
69
|
# convert string to symbol for hash key
|
|
88
70
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
89
71
|
|
|
90
|
-
if attributes.has_key?(:'
|
|
91
|
-
self.
|
|
72
|
+
if attributes.has_key?(:'authorizedAmount')
|
|
73
|
+
self.authorized_amount = attributes[:'authorizedAmount']
|
|
92
74
|
end
|
|
93
75
|
|
|
94
|
-
if attributes.has_key?(:'
|
|
95
|
-
self.
|
|
76
|
+
if attributes.has_key?(:'currency')
|
|
77
|
+
self.currency = attributes[:'currency']
|
|
96
78
|
end
|
|
97
79
|
|
|
98
|
-
if attributes.has_key?(:'
|
|
99
|
-
self.
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
if attributes.has_key?(:'destinationAmount')
|
|
103
|
-
self.destination_amount = attributes[:'destinationAmount']
|
|
80
|
+
if attributes.has_key?(:'exchangeRate')
|
|
81
|
+
self.exchange_rate = attributes[:'exchangeRate']
|
|
104
82
|
end
|
|
105
83
|
|
|
106
|
-
if attributes.has_key?(:'
|
|
107
|
-
self.
|
|
84
|
+
if attributes.has_key?(:'totalAmount')
|
|
85
|
+
self.total_amount = attributes[:'totalAmount']
|
|
108
86
|
end
|
|
109
87
|
|
|
110
88
|
if attributes.has_key?(:'settlementAmount')
|
|
111
89
|
self.settlement_amount = attributes[:'settlementAmount']
|
|
112
90
|
end
|
|
113
|
-
|
|
114
|
-
if attributes.has_key?(:'settlementCurrency')
|
|
115
|
-
self.settlement_currency = attributes[:'settlementCurrency']
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
if attributes.has_key?(:'settlementExchangeRate')
|
|
119
|
-
self.settlement_exchange_rate = attributes[:'settlementExchangeRate']
|
|
120
|
-
end
|
|
121
91
|
end
|
|
122
92
|
|
|
123
93
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -134,33 +104,27 @@ module CyberSource
|
|
|
134
104
|
end
|
|
135
105
|
|
|
136
106
|
# Custom attribute writer method with validation
|
|
137
|
-
# @param [Object]
|
|
138
|
-
def
|
|
139
|
-
@
|
|
107
|
+
# @param [Object] authorized_amount Value to be assigned
|
|
108
|
+
def authorized_amount=(authorized_amount)
|
|
109
|
+
@authorized_amount = authorized_amount
|
|
140
110
|
end
|
|
141
111
|
|
|
142
112
|
# Custom attribute writer method with validation
|
|
143
|
-
# @param [Object]
|
|
144
|
-
def
|
|
145
|
-
@
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
# Custom attribute writer method with validation
|
|
149
|
-
# @param [Object] original_amount Value to be assigned
|
|
150
|
-
def original_amount=(original_amount)
|
|
151
|
-
@original_amount = original_amount
|
|
113
|
+
# @param [Object] currency Value to be assigned
|
|
114
|
+
def currency=(currency)
|
|
115
|
+
@currency = currency
|
|
152
116
|
end
|
|
153
117
|
|
|
154
118
|
# Custom attribute writer method with validation
|
|
155
|
-
# @param [Object]
|
|
156
|
-
def
|
|
157
|
-
@
|
|
119
|
+
# @param [Object] exchange_rate Value to be assigned
|
|
120
|
+
def exchange_rate=(exchange_rate)
|
|
121
|
+
@exchange_rate = exchange_rate
|
|
158
122
|
end
|
|
159
123
|
|
|
160
124
|
# Custom attribute writer method with validation
|
|
161
|
-
# @param [Object]
|
|
162
|
-
def
|
|
163
|
-
@
|
|
125
|
+
# @param [Object] total_amount Value to be assigned
|
|
126
|
+
def total_amount=(total_amount)
|
|
127
|
+
@total_amount = total_amount
|
|
164
128
|
end
|
|
165
129
|
|
|
166
130
|
# Custom attribute writer method with validation
|
|
@@ -169,31 +133,16 @@ module CyberSource
|
|
|
169
133
|
@settlement_amount = settlement_amount
|
|
170
134
|
end
|
|
171
135
|
|
|
172
|
-
# Custom attribute writer method with validation
|
|
173
|
-
# @param [Object] settlement_currency Value to be assigned
|
|
174
|
-
def settlement_currency=(settlement_currency)
|
|
175
|
-
@settlement_currency = settlement_currency
|
|
176
|
-
end
|
|
177
|
-
|
|
178
|
-
# Custom attribute writer method with validation
|
|
179
|
-
# @param [Object] settlement_exchange_rate Value to be assigned
|
|
180
|
-
def settlement_exchange_rate=(settlement_exchange_rate)
|
|
181
|
-
@settlement_exchange_rate = settlement_exchange_rate
|
|
182
|
-
end
|
|
183
|
-
|
|
184
136
|
# Checks equality by comparing each attribute.
|
|
185
137
|
# @param [Object] Object to be compared
|
|
186
138
|
def ==(o)
|
|
187
139
|
return true if self.equal?(o)
|
|
188
140
|
self.class == o.class &&
|
|
189
|
-
|
|
141
|
+
authorized_amount == o.authorized_amount &&
|
|
142
|
+
currency == o.currency &&
|
|
190
143
|
exchange_rate == o.exchange_rate &&
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
original_amount_without_markup == o.original_amount_without_markup &&
|
|
194
|
-
settlement_amount == o.settlement_amount &&
|
|
195
|
-
settlement_currency == o.settlement_currency &&
|
|
196
|
-
settlement_exchange_rate == o.settlement_exchange_rate
|
|
144
|
+
total_amount == o.total_amount &&
|
|
145
|
+
settlement_amount == o.settlement_amount
|
|
197
146
|
end
|
|
198
147
|
|
|
199
148
|
# @see the `==` method
|
|
@@ -205,7 +154,7 @@ module CyberSource
|
|
|
205
154
|
# Calculates hash code according to all attributes.
|
|
206
155
|
# @return [Fixnum] Hash code
|
|
207
156
|
def hash
|
|
208
|
-
[
|
|
157
|
+
[authorized_amount, currency, exchange_rate, total_amount, settlement_amount].hash
|
|
209
158
|
end
|
|
210
159
|
|
|
211
160
|
# Builds the object from hash
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse2014PaymentInformation
|
|
16
16
|
# Last four digits of the cardholder's account number.
|
|
17
17
|
attr_accessor :suffix
|
|
18
18
|
|
|
@@ -44,7 +44,7 @@ module CyberSource
|
|
|
44
44
|
{
|
|
45
45
|
:'suffix' => :'String',
|
|
46
46
|
:'prefix' => :'String',
|
|
47
|
-
:'card' => :'
|
|
47
|
+
:'card' => :'InlineResponse2014PaymentInformationCard'
|
|
48
48
|
}
|
|
49
49
|
end
|
|
50
50
|
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse2014PaymentInformationCard
|
|
16
16
|
# Product type of the card on which the transaction is performed. Valid values include: - `Credit` - `Debit` - `Prepaid`
|
|
17
17
|
attr_accessor :type
|
|
18
18
|
|
|
@@ -13,26 +13,44 @@ require 'date'
|
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
15
|
class InlineResponse2014ProcessingInformation
|
|
16
|
-
|
|
16
|
+
# Payouts transaction type. Possible Values: - `AA` - Account to account - `AB` - Business to Business - `PP` - Person to person - `TU` - Top-up for enhanced prepaid loads - `WT` - Wallet transfer - `BI` - Bank Initiated - `FT` - Funds Transfer - `FD` - Funds Disbursement - `GD` - Government Disbursement - `PD` - Payroll Disbursement - `LA` - Liquid Assets - `CP` - Card Bill Payment - `MP` - Non-card Bill Payment - `CD` - Cash Deposit - `CI` - Cash in - `CO` - Cash out - `GP` - Gambling Payment - `LO` - Loyalty and Offers - `MD` - Merchant Disbursement - `MI` - Merchant Initiated OCT for Faster Refund - `OG` - Online Gambling - `OT` - Own Account Transfer - `PS` - Payment for goods and services - `RP` - Request-To-Pay Service
|
|
17
|
+
attr_accessor :business_application_id
|
|
18
|
+
|
|
19
|
+
# Type of transaction.
|
|
20
|
+
attr_accessor :commerce_indicator
|
|
21
|
+
|
|
22
|
+
attr_accessor :payouts_options
|
|
23
|
+
|
|
24
|
+
# CyberSource or merchant generated transaction reference number. This is sent to the processor and is echoed back in the response to the merchant. This is This value is used for reconciliation purposes.
|
|
25
|
+
attr_accessor :reconciliation_id
|
|
17
26
|
|
|
18
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
19
28
|
def self.attribute_map
|
|
20
29
|
{
|
|
21
|
-
:'
|
|
30
|
+
:'business_application_id' => :'businessApplicationId',
|
|
31
|
+
:'commerce_indicator' => :'commerceIndicator',
|
|
32
|
+
:'payouts_options' => :'payoutsOptions',
|
|
33
|
+
:'reconciliation_id' => :'reconciliationId'
|
|
22
34
|
}
|
|
23
35
|
end
|
|
24
36
|
|
|
25
37
|
# Attribute mapping from JSON key to ruby-style variable name.
|
|
26
38
|
def self.json_map
|
|
27
39
|
{
|
|
28
|
-
:'
|
|
40
|
+
:'business_application_id' => :'business_application_id',
|
|
41
|
+
:'commerce_indicator' => :'commerce_indicator',
|
|
42
|
+
:'payouts_options' => :'payouts_options',
|
|
43
|
+
:'reconciliation_id' => :'reconciliation_id'
|
|
29
44
|
}
|
|
30
45
|
end
|
|
31
46
|
|
|
32
47
|
# Attribute type mapping.
|
|
33
48
|
def self.swagger_types
|
|
34
49
|
{
|
|
35
|
-
:'
|
|
50
|
+
:'business_application_id' => :'String',
|
|
51
|
+
:'commerce_indicator' => :'String',
|
|
52
|
+
:'payouts_options' => :'InlineResponse2014ProcessingInformationPayoutsOptions',
|
|
53
|
+
:'reconciliation_id' => :'String'
|
|
36
54
|
}
|
|
37
55
|
end
|
|
38
56
|
|
|
@@ -44,8 +62,20 @@ module CyberSource
|
|
|
44
62
|
# convert string to symbol for hash key
|
|
45
63
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
46
64
|
|
|
47
|
-
if attributes.has_key?(:'
|
|
48
|
-
self.
|
|
65
|
+
if attributes.has_key?(:'businessApplicationId')
|
|
66
|
+
self.business_application_id = attributes[:'businessApplicationId']
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
if attributes.has_key?(:'commerceIndicator')
|
|
70
|
+
self.commerce_indicator = attributes[:'commerceIndicator']
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
if attributes.has_key?(:'payoutsOptions')
|
|
74
|
+
self.payouts_options = attributes[:'payoutsOptions']
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
if attributes.has_key?(:'reconciliationId')
|
|
78
|
+
self.reconciliation_id = attributes[:'reconciliationId']
|
|
49
79
|
end
|
|
50
80
|
end
|
|
51
81
|
|
|
@@ -62,12 +92,33 @@ module CyberSource
|
|
|
62
92
|
true
|
|
63
93
|
end
|
|
64
94
|
|
|
95
|
+
# Custom attribute writer method with validation
|
|
96
|
+
# @param [Object] business_application_id Value to be assigned
|
|
97
|
+
def business_application_id=(business_application_id)
|
|
98
|
+
@business_application_id = business_application_id
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Custom attribute writer method with validation
|
|
102
|
+
# @param [Object] commerce_indicator Value to be assigned
|
|
103
|
+
def commerce_indicator=(commerce_indicator)
|
|
104
|
+
@commerce_indicator = commerce_indicator
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Custom attribute writer method with validation
|
|
108
|
+
# @param [Object] reconciliation_id Value to be assigned
|
|
109
|
+
def reconciliation_id=(reconciliation_id)
|
|
110
|
+
@reconciliation_id = reconciliation_id
|
|
111
|
+
end
|
|
112
|
+
|
|
65
113
|
# Checks equality by comparing each attribute.
|
|
66
114
|
# @param [Object] Object to be compared
|
|
67
115
|
def ==(o)
|
|
68
116
|
return true if self.equal?(o)
|
|
69
117
|
self.class == o.class &&
|
|
70
|
-
|
|
118
|
+
business_application_id == o.business_application_id &&
|
|
119
|
+
commerce_indicator == o.commerce_indicator &&
|
|
120
|
+
payouts_options == o.payouts_options &&
|
|
121
|
+
reconciliation_id == o.reconciliation_id
|
|
71
122
|
end
|
|
72
123
|
|
|
73
124
|
# @see the `==` method
|
|
@@ -79,7 +130,7 @@ module CyberSource
|
|
|
79
130
|
# Calculates hash code according to all attributes.
|
|
80
131
|
# @return [Fixnum] Hash code
|
|
81
132
|
def hash
|
|
82
|
-
[
|
|
133
|
+
[business_application_id, commerce_indicator, payouts_options, reconciliation_id].hash
|
|
83
134
|
end
|
|
84
135
|
|
|
85
136
|
# Builds the object from hash
|
|
@@ -12,7 +12,7 @@ Swagger Codegen version: 2.4.38
|
|
|
12
12
|
require 'date'
|
|
13
13
|
|
|
14
14
|
module CyberSource
|
|
15
|
-
class
|
|
15
|
+
class InlineResponse2014ProcessingInformationPayoutsOptions
|
|
16
16
|
# This field identifies the card acceptor for defining the point of service terminal in both local and interchange environments. An acquirer assigns this value for a merchant's involvement in a transaction. Depending on the acquirer and merchant billing and reporting requirements, this code can represent a merchant, a specific merchant location, or a specific merchant location terminal. Acquiring Institution Identification Code uniquely identifies the merchant. This value from the original is required in any subsequent messages, include reversals, chargebacks, and representments.
|
|
17
17
|
attr_accessor :acquirer_merchant_id
|
|
18
18
|
|