cybersource_rest_client 0.0.19 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +4 -0
- data/lib/AuthenticationSDK/util/Constants.rb +8 -0
- data/lib/cybersource_rest_client.rb +104 -11
- data/lib/cybersource_rest_client/api/authentication_exemptions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +142 -0
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +2 -2
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +2 -2
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +2 -2
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +78 -13
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payments_api.rb +71 -0
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +2 -2
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +4 -4
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -2
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +87 -87
- data/lib/cybersource_rest_client/api/reports_api.rb +4 -4
- data/lib/cybersource_rest_client/api/reversal_api.rb +65 -0
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +4 -4
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -4
- data/lib/cybersource_rest_client/api/tokenization_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +15 -9
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -2
- data/lib/cybersource_rest_client/api/verification_api.rb +154 -0
- data/lib/cybersource_rest_client/api/void_api.rb +65 -0
- data/lib/cybersource_rest_client/models/add_negative_list_request.rb +228 -0
- data/lib/cybersource_rest_client/models/authentication_exemptions_request.rb +1 -1
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +22 -4
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +11 -2
- data/lib/cybersource_rest_client/models/create_credit_request.rb +32 -5
- data/lib/cybersource_rest_client/models/create_instrument_identifier_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_payment_request.rb +22 -4
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +1 -1
- data/lib/cybersource_rest_client/models/embedded_instrument_identifier_response.rb +10 -1
- data/lib/cybersource_rest_client/models/error.rb +13 -23
- data/lib/cybersource_rest_client/models/error_bean.rb +1 -1
- data/lib/cybersource_rest_client/models/error_links.rb +15 -15
- data/lib/cybersource_rest_client/models/error_response.rb +20 -2
- data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +183 -0
- data/lib/cybersource_rest_client/models/generate_public_key_request.rb +14 -4
- data/lib/cybersource_rest_client/models/increment_auth_request.rb +219 -0
- data/lib/cybersource_rest_client/models/inline_response_400.rb +14 -59
- data/lib/cybersource_rest_client/models/inline_response_400_1.rb +59 -14
- data/lib/cybersource_rest_client/models/{inline_response_400_fields.rb → inline_response_400_1_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/instrument_identifier_enrollable_card.rb +1 -1
- data/lib/cybersource_rest_client/models/instrument_identifier_response.rb +10 -1
- data/lib/cybersource_rest_client/models/instrument_identifier_tokenized_card.rb +272 -0
- data/lib/cybersource_rest_client/models/key_parameters.rb +14 -4
- data/lib/cybersource_rest_client/models/link.rb +25 -4
- data/lib/cybersource_rest_client/models/links.rb +18 -23
- data/lib/cybersource_rest_client/models/mit_reversal_request.rb +219 -0
- data/lib/cybersource_rest_client/models/mit_void_request.rb +183 -0
- data/lib/cybersource_rest_client/models/oct_create_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +210 -0
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +15 -6
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information.rb +14 -4
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +298 -0
- data/lib/cybersource_rest_client/models/{pts_v2_payments_reversals_post201_response__links.rb → pts_v2_incremental_authorization_patch201_response__links.rb} +1 -1
- data/lib/cybersource_rest_client/models/{ptsv2payouts_client_reference_information.rb → pts_v2_incremental_authorization_patch201_response_client_reference_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +205 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information.rb +183 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +199 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +293 -0
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +225 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +23 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_invoice_details.rb +184 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +199 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processing_information.rb +184 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +264 -19
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +28 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +29 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +10 -10
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +35 -10
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +14 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +3 -28
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +14 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +108 -15
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +209 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +32 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +17 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +29 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +55 -21
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +299 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +74 -14
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +26 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +21 -12
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +249 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +30 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +10 -10
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +29 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +27 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +91 -16
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +158 -15
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +19 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +359 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +226 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +1229 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +233 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +988 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +285 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +614 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +349 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +208 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +249 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_processing_information_authorization_options_initiator.rb +184 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +199 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +34 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +194 -19
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +23 -14
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_travel_information.rb +201 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +19 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +54 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +33 -8
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +29 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +22 -4
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +22 -4
- data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +285 -0
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +224 -0
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +327 -0
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +209 -0
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +433 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_exemptions_post201_response.rb +2 -2
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +3 -3
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +249 -4
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +246 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +224 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_error_information.rb +205 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +3 -3
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information.rb +386 -7
- data/lib/cybersource_rest_client/models/{riskv1authentications_consumer_authentication_information_ivr.rb → risk_v1_authentications_post201_response_consumer_authentication_information_ivr.rb} +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response.rb +225 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +54 -4
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +285 -0
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb +229 -0
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list.rb +185 -0
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +235 -0
- data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +237 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +199 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb +233 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information.rb +203 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +410 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +342 -0
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +392 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_acquirer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/riskv1authenticationexemptions_payment_information_fluid_data.rb +268 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +4 -214
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +13 -4
- data/lib/cybersource_rest_client/models/riskv1authentications_acquirer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb +4 -333
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb +2 -2
- data/lib/cybersource_rest_client/models/{riskv1authentications_client_reference_information.rb → riskv1authenticationsetups_client_reference_information.rb} +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information.rb +210 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +286 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +325 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +224 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_token_information.rb +184 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +1 -26
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +4 -13
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +1 -26
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +4 -13
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +4 -13
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information.rb +183 -0
- data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +247 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +224 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.rb +205 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +249 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information.rb +203 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +503 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +199 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +364 -0
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +249 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_buyer_information.rb +186 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +224 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information.rb +213 -0
- data/lib/cybersource_rest_client/models/{riskv1decisions_order_information_address.rb → riskv1liststypeentries_order_information_address.rb} +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +449 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +199 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +325 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information.rb +193 -0
- data/lib/cybersource_rest_client/models/{riskv1decisions_payment_information_bank.rb → riskv1liststypeentries_payment_information_bank.rb} +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +234 -0
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information.rb +183 -0
- data/lib/cybersource_rest_client/models/{riskv1decisions_risk_information_marking_details.rb → riskv1liststypeentries_risk_information_marking_details.rb} +29 -44
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_embedded_instrument_identifier.rb +10 -1
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response.rb +10 -1
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card.rb +272 -0
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response_tokenized_card_card.rb +253 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +4 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +219 -0
- data/lib/cybersource_rest_client/models/{request.rb → validate_request.rb} +12 -3
- data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +201 -0
- metadata +107 -14
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +0 -365
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb +0 -221
@@ -38,6 +38,12 @@ module CyberSource
|
|
38
38
|
# Year of the start of the Maestro (UK Domestic) card validity period. Do not include the field, even with a blank value, if the card is not a Maestro (UK Domestic) card. `Format: YYYY`. **Note** The start date is not required for Maestro (UK Domestic) transactions.
|
39
39
|
attr_accessor :start_year
|
40
40
|
|
41
|
+
# Flag that specifies the type of account associated with the card. The cardholder provides this information during the payment process. This field is required in the following cases: - Debit transactions on Cielo and Comercio Latino. - Transactions with Brazilian-issued cards on CyberSource through VisaNet. - Applicable only for CyberSource through VisaNet (CtV). **Note** Combo cards in Brazil contain credit and debit functionality in a single card. Visa systems use a credit bank identification number (BIN) for this type of card. Using the BIN to determine whether a card is debit or credit can cause transactions with these cards to be processed incorrectly. CyberSource strongly recommends that you include this field for combo card transactions. Possible values include the following. - `CHECKING`: Checking account - `CREDIT`: Credit card account - `SAVING`: Saving account - `LINE_OF_CREDIT`: Line of credit or credit portion of combo card - `PREPAID`: Prepaid card account or prepaid portion of combo card - `UNIVERSAL`: Universal account
|
42
|
+
attr_accessor :source_account_type
|
43
|
+
|
44
|
+
# Type of account that is being used when the value for the override_payment_method field is line of credit (LI) or prepaid card (PP). Possible values for line of credit: - `AGRC`: Visa Agro Custeio - `AGRE`: Visa Agro Electron - `AGRI`: Visa Agro Investimento - `AGRO`: Visa Agro Possible values for prepaid card: - `VVA`: Visa Vale Alimentacao - `VVF`: Visa Vale Flex - `VVR`: Visa Vale Refeicao This field is supported only for combo card transactions in Brazil on CyberSource through VisaNet. The value for this field corresponds to the following data in the TC 33 capture file5: Record: CP07 TCR0, Position: 44-47, Field: Account Accessed
|
45
|
+
attr_accessor :source_account_type_details
|
46
|
+
|
41
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
48
|
def self.attribute_map
|
43
49
|
{
|
@@ -48,7 +54,9 @@ module CyberSource
|
|
48
54
|
:'account_encoder_id' => :'accountEncoderId',
|
49
55
|
:'issue_number' => :'issueNumber',
|
50
56
|
:'start_month' => :'startMonth',
|
51
|
-
:'start_year' => :'startYear'
|
57
|
+
:'start_year' => :'startYear',
|
58
|
+
:'source_account_type' => :'sourceAccountType',
|
59
|
+
:'source_account_type_details' => :'sourceAccountTypeDetails'
|
52
60
|
}
|
53
61
|
end
|
54
62
|
|
@@ -62,7 +70,9 @@ module CyberSource
|
|
62
70
|
:'account_encoder_id' => :'String',
|
63
71
|
:'issue_number' => :'String',
|
64
72
|
:'start_month' => :'String',
|
65
|
-
:'start_year' => :'String'
|
73
|
+
:'start_year' => :'String',
|
74
|
+
:'source_account_type' => :'String',
|
75
|
+
:'source_account_type_details' => :'String'
|
66
76
|
}
|
67
77
|
end
|
68
78
|
|
@@ -105,6 +115,14 @@ module CyberSource
|
|
105
115
|
if attributes.has_key?(:'startYear')
|
106
116
|
self.start_year = attributes[:'startYear']
|
107
117
|
end
|
118
|
+
|
119
|
+
if attributes.has_key?(:'sourceAccountType')
|
120
|
+
self.source_account_type = attributes[:'sourceAccountType']
|
121
|
+
end
|
122
|
+
|
123
|
+
if attributes.has_key?(:'sourceAccountTypeDetails')
|
124
|
+
self.source_account_type_details = attributes[:'sourceAccountTypeDetails']
|
125
|
+
end
|
108
126
|
end
|
109
127
|
|
110
128
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -139,6 +157,14 @@ module CyberSource
|
|
139
157
|
invalid_properties.push('invalid value for "start_year", the character length must be smaller than or equal to 4.')
|
140
158
|
end
|
141
159
|
|
160
|
+
if !@source_account_type.nil? && @source_account_type.to_s.length > 20
|
161
|
+
invalid_properties.push('invalid value for "source_account_type", the character length must be smaller than or equal to 20.')
|
162
|
+
end
|
163
|
+
|
164
|
+
if !@source_account_type_details.nil? && @source_account_type_details.to_s.length > 4
|
165
|
+
invalid_properties.push('invalid value for "source_account_type_details", the character length must be smaller than or equal to 4.')
|
166
|
+
end
|
167
|
+
|
142
168
|
invalid_properties
|
143
169
|
end
|
144
170
|
|
@@ -152,6 +178,8 @@ module CyberSource
|
|
152
178
|
return false if !@issue_number.nil? && @issue_number.to_s.length > 5
|
153
179
|
return false if !@start_month.nil? && @start_month.to_s.length > 2
|
154
180
|
return false if !@start_year.nil? && @start_year.to_s.length > 4
|
181
|
+
return false if !@source_account_type.nil? && @source_account_type.to_s.length > 20
|
182
|
+
return false if !@source_account_type_details.nil? && @source_account_type_details.to_s.length > 4
|
155
183
|
true
|
156
184
|
end
|
157
185
|
|
@@ -225,6 +253,26 @@ module CyberSource
|
|
225
253
|
@start_year = start_year
|
226
254
|
end
|
227
255
|
|
256
|
+
# Custom attribute writer method with validation
|
257
|
+
# @param [Object] source_account_type Value to be assigned
|
258
|
+
def source_account_type=(source_account_type)
|
259
|
+
if !source_account_type.nil? && source_account_type.to_s.length > 20
|
260
|
+
fail ArgumentError, 'invalid value for "source_account_type", the character length must be smaller than or equal to 20.'
|
261
|
+
end
|
262
|
+
|
263
|
+
@source_account_type = source_account_type
|
264
|
+
end
|
265
|
+
|
266
|
+
# Custom attribute writer method with validation
|
267
|
+
# @param [Object] source_account_type_details Value to be assigned
|
268
|
+
def source_account_type_details=(source_account_type_details)
|
269
|
+
if !source_account_type_details.nil? && source_account_type_details.to_s.length > 4
|
270
|
+
fail ArgumentError, 'invalid value for "source_account_type_details", the character length must be smaller than or equal to 4.'
|
271
|
+
end
|
272
|
+
|
273
|
+
@source_account_type_details = source_account_type_details
|
274
|
+
end
|
275
|
+
|
228
276
|
# Checks equality by comparing each attribute.
|
229
277
|
# @param [Object] Object to be compared
|
230
278
|
def ==(o)
|
@@ -237,7 +285,9 @@ module CyberSource
|
|
237
285
|
account_encoder_id == o.account_encoder_id &&
|
238
286
|
issue_number == o.issue_number &&
|
239
287
|
start_month == o.start_month &&
|
240
|
-
start_year == o.start_year
|
288
|
+
start_year == o.start_year &&
|
289
|
+
source_account_type == o.source_account_type &&
|
290
|
+
source_account_type_details == o.source_account_type_details
|
241
291
|
end
|
242
292
|
|
243
293
|
# @see the `==` method
|
@@ -249,7 +299,7 @@ module CyberSource
|
|
249
299
|
# Calculates hash code according to all attributes.
|
250
300
|
# @return [Fixnum] Hash code
|
251
301
|
def hash
|
252
|
-
[number, expiration_month, expiration_year, type, account_encoder_id, issue_number, start_month, start_year].hash
|
302
|
+
[number, expiration_month, expiration_year, type, account_encoder_id, issue_number, start_month, start_year, source_account_type, source_account_type_details].hash
|
253
303
|
end
|
254
304
|
|
255
305
|
# Builds the object from hash
|
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsidrefundsProcessingInformation
|
17
|
-
# Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/
|
17
|
+
# Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay.
|
18
18
|
attr_accessor :payment_solution
|
19
19
|
|
20
20
|
# Please check with Cybersource customer support to see if your merchant account is configured correctly so you can include this field in your request. * For Payouts: max length for FDCCompass is String (22).
|
21
21
|
attr_accessor :reconciliation_id
|
22
22
|
|
23
|
-
# Value that links the current authorization request to the original authorization request. Set this value to the ID that was returned in the reply message from the original authorization request. This value is used for: - Partial authorizations - Split shipments For details, see `link_to_request` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/
|
23
|
+
# Value that links the current authorization request to the original authorization request. Set this value to the ID that was returned in the reply message from the original authorization request. This value is used for: - Partial authorizations - Split shipments For details, see `link_to_request` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
24
24
|
attr_accessor :link_id
|
25
25
|
|
26
|
-
# Attribute that lets you define custom grouping for your processor reports. This field is supported only for **Worldpay VAP**. For details, see `report_group` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/
|
26
|
+
# Attribute that lets you define custom grouping for your processor reports. This field is supported only for **Worldpay VAP**. For details, see `report_group` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
27
27
|
attr_accessor :report_group
|
28
28
|
|
29
|
-
# Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field. For details, see the `vc_order_id` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/
|
29
|
+
# Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field. For details, see the `vc_order_id` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/)
|
30
30
|
attr_accessor :visa_checkout_id
|
31
31
|
|
32
32
|
# Set this field to 3 to indicate that the request includes Level III data.
|
@@ -34,6 +34,9 @@ module CyberSource
|
|
34
34
|
|
35
35
|
attr_accessor :recurring_options
|
36
36
|
|
37
|
+
# Flag that indicates that the transaction includes airline data or restaurant data. This field must be set to `airline` in order for airline data to be sent to the processor. For example, if this field is not set to airline or is not included in the request, CyberSource does not send airline data to the processor. You must set this field to `restaurant` in order for restaurant data to be sent to the processor. When this field is not set to restaurant or is not included in the request, CyberSource does not send restaurant data to the processor. Possible Values: - `airline` - `restaurant` - `lodging` - `auto_rental` - `transit` - `healthcare_medical` - `healthcare_transit`
|
38
|
+
attr_accessor :industry_data_type
|
39
|
+
|
37
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
41
|
def self.attribute_map
|
39
42
|
{
|
@@ -43,7 +46,8 @@ module CyberSource
|
|
43
46
|
:'report_group' => :'reportGroup',
|
44
47
|
:'visa_checkout_id' => :'visaCheckoutId',
|
45
48
|
:'purchase_level' => :'purchaseLevel',
|
46
|
-
:'recurring_options' => :'recurringOptions'
|
49
|
+
:'recurring_options' => :'recurringOptions',
|
50
|
+
:'industry_data_type' => :'industryDataType'
|
47
51
|
}
|
48
52
|
end
|
49
53
|
|
@@ -56,7 +60,8 @@ module CyberSource
|
|
56
60
|
:'report_group' => :'String',
|
57
61
|
:'visa_checkout_id' => :'String',
|
58
62
|
:'purchase_level' => :'String',
|
59
|
-
:'recurring_options' => :'Ptsv2paymentsidrefundsProcessingInformationRecurringOptions'
|
63
|
+
:'recurring_options' => :'Ptsv2paymentsidrefundsProcessingInformationRecurringOptions',
|
64
|
+
:'industry_data_type' => :'String'
|
60
65
|
}
|
61
66
|
end
|
62
67
|
|
@@ -95,6 +100,10 @@ module CyberSource
|
|
95
100
|
if attributes.has_key?(:'recurringOptions')
|
96
101
|
self.recurring_options = attributes[:'recurringOptions']
|
97
102
|
end
|
103
|
+
|
104
|
+
if attributes.has_key?(:'industryDataType')
|
105
|
+
self.industry_data_type = attributes[:'industryDataType']
|
106
|
+
end
|
98
107
|
end
|
99
108
|
|
100
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -125,6 +134,10 @@ module CyberSource
|
|
125
134
|
invalid_properties.push('invalid value for "purchase_level", the character length must be smaller than or equal to 1.')
|
126
135
|
end
|
127
136
|
|
137
|
+
if !@industry_data_type.nil? && @industry_data_type.to_s.length > 20
|
138
|
+
invalid_properties.push('invalid value for "industry_data_type", the character length must be smaller than or equal to 20.')
|
139
|
+
end
|
140
|
+
|
128
141
|
invalid_properties
|
129
142
|
end
|
130
143
|
|
@@ -137,6 +150,7 @@ module CyberSource
|
|
137
150
|
return false if !@report_group.nil? && @report_group.to_s.length > 25
|
138
151
|
return false if !@visa_checkout_id.nil? && @visa_checkout_id.to_s.length > 48
|
139
152
|
return false if !@purchase_level.nil? && @purchase_level.to_s.length > 1
|
153
|
+
return false if !@industry_data_type.nil? && @industry_data_type.to_s.length > 20
|
140
154
|
true
|
141
155
|
end
|
142
156
|
|
@@ -200,6 +214,16 @@ module CyberSource
|
|
200
214
|
@purchase_level = purchase_level
|
201
215
|
end
|
202
216
|
|
217
|
+
# Custom attribute writer method with validation
|
218
|
+
# @param [Object] industry_data_type Value to be assigned
|
219
|
+
def industry_data_type=(industry_data_type)
|
220
|
+
if !industry_data_type.nil? && industry_data_type.to_s.length > 20
|
221
|
+
fail ArgumentError, 'invalid value for "industry_data_type", the character length must be smaller than or equal to 20.'
|
222
|
+
end
|
223
|
+
|
224
|
+
@industry_data_type = industry_data_type
|
225
|
+
end
|
226
|
+
|
203
227
|
# Checks equality by comparing each attribute.
|
204
228
|
# @param [Object] Object to be compared
|
205
229
|
def ==(o)
|
@@ -211,7 +235,8 @@ module CyberSource
|
|
211
235
|
report_group == o.report_group &&
|
212
236
|
visa_checkout_id == o.visa_checkout_id &&
|
213
237
|
purchase_level == o.purchase_level &&
|
214
|
-
recurring_options == o.recurring_options
|
238
|
+
recurring_options == o.recurring_options &&
|
239
|
+
industry_data_type == o.industry_data_type
|
215
240
|
end
|
216
241
|
|
217
242
|
# @see the `==` method
|
@@ -223,7 +248,7 @@ module CyberSource
|
|
223
248
|
# Calculates hash code according to all attributes.
|
224
249
|
# @return [Fixnum] Hash code
|
225
250
|
def hash
|
226
|
-
[payment_solution, reconciliation_id, link_id, report_group, visa_checkout_id, purchase_level, recurring_options].hash
|
251
|
+
[payment_solution, reconciliation_id, link_id, report_group, visa_checkout_id, purchase_level, recurring_options, industry_data_type].hash
|
227
252
|
end
|
228
253
|
|
229
254
|
# Builds the object from hash
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsidrefundsProcessingInformationRecurringOptions
|
17
|
-
# Flag that indicates whether this is a payment towards an existing contractual loan. Possible values: - `true`: Loan payment - `false`: (default) Not a loan payment For processor-specific details, see `debt_indicator` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/
|
17
|
+
# Flag that indicates whether this is a payment towards an existing contractual loan. Possible values: - `true`: Loan payment - `false`: (default) Not a loan payment For processor-specific details, see `debt_indicator` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
18
18
|
attr_accessor :loan_payment
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb
CHANGED
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsidreversalsClientReferenceInformation
|
17
|
-
# Client-generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. For information about tracking orders, see \"Tracking and Reconciling Your Orders\" in [Getting Started with CyberSource Advanced for the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Getting_Started_SCMP/html/
|
17
|
+
# Client-generated order reference or tracking number. CyberSource recommends that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. For information about tracking orders, see \"Tracking and Reconciling Your Orders\" in [Getting Started with CyberSource Advanced for the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Getting_Started_SCMP/html/) #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.
|
18
18
|
attr_accessor :code
|
19
19
|
|
20
20
|
# Comments
|
@@ -20,11 +20,15 @@ module CyberSource
|
|
20
20
|
# Identifier for the partner that is integrated to CyberSource. Send this value in all requests that are sent through the partner solution. CyberSource assigns the ID to the partner. **Note** When you see a partner ID of 999 in reports, the partner ID that was submitted is incorrect.
|
21
21
|
attr_accessor :solution_id
|
22
22
|
|
23
|
+
# Value that identifies the application vendor and application version for a third party gateway. CyberSource provides you with this value during testing and validation. This field is supported only on CyberSource through VisaNet.
|
24
|
+
attr_accessor :third_party_certification_number
|
25
|
+
|
23
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
27
|
def self.attribute_map
|
25
28
|
{
|
26
29
|
:'developer_id' => :'developerId',
|
27
|
-
:'solution_id' => :'solutionId'
|
30
|
+
:'solution_id' => :'solutionId',
|
31
|
+
:'third_party_certification_number' => :'thirdPartyCertificationNumber'
|
28
32
|
}
|
29
33
|
end
|
30
34
|
|
@@ -32,7 +36,8 @@ module CyberSource
|
|
32
36
|
def self.swagger_types
|
33
37
|
{
|
34
38
|
:'developer_id' => :'String',
|
35
|
-
:'solution_id' => :'String'
|
39
|
+
:'solution_id' => :'String',
|
40
|
+
:'third_party_certification_number' => :'String'
|
36
41
|
}
|
37
42
|
end
|
38
43
|
|
@@ -51,6 +56,10 @@ module CyberSource
|
|
51
56
|
if attributes.has_key?(:'solutionId')
|
52
57
|
self.solution_id = attributes[:'solutionId']
|
53
58
|
end
|
59
|
+
|
60
|
+
if attributes.has_key?(:'thirdPartyCertificationNumber')
|
61
|
+
self.third_party_certification_number = attributes[:'thirdPartyCertificationNumber']
|
62
|
+
end
|
54
63
|
end
|
55
64
|
|
56
65
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -65,6 +74,10 @@ module CyberSource
|
|
65
74
|
invalid_properties.push('invalid value for "solution_id", the character length must be smaller than or equal to 8.')
|
66
75
|
end
|
67
76
|
|
77
|
+
if !@third_party_certification_number.nil? && @third_party_certification_number.to_s.length > 12
|
78
|
+
invalid_properties.push('invalid value for "third_party_certification_number", the character length must be smaller than or equal to 12.')
|
79
|
+
end
|
80
|
+
|
68
81
|
invalid_properties
|
69
82
|
end
|
70
83
|
|
@@ -73,6 +86,7 @@ module CyberSource
|
|
73
86
|
def valid?
|
74
87
|
return false if !@developer_id.nil? && @developer_id.to_s.length > 8
|
75
88
|
return false if !@solution_id.nil? && @solution_id.to_s.length > 8
|
89
|
+
return false if !@third_party_certification_number.nil? && @third_party_certification_number.to_s.length > 12
|
76
90
|
true
|
77
91
|
end
|
78
92
|
|
@@ -96,13 +110,24 @@ module CyberSource
|
|
96
110
|
@solution_id = solution_id
|
97
111
|
end
|
98
112
|
|
113
|
+
# Custom attribute writer method with validation
|
114
|
+
# @param [Object] third_party_certification_number Value to be assigned
|
115
|
+
def third_party_certification_number=(third_party_certification_number)
|
116
|
+
if !third_party_certification_number.nil? && third_party_certification_number.to_s.length > 12
|
117
|
+
fail ArgumentError, 'invalid value for "third_party_certification_number", the character length must be smaller than or equal to 12.'
|
118
|
+
end
|
119
|
+
|
120
|
+
@third_party_certification_number = third_party_certification_number
|
121
|
+
end
|
122
|
+
|
99
123
|
# Checks equality by comparing each attribute.
|
100
124
|
# @param [Object] Object to be compared
|
101
125
|
def ==(o)
|
102
126
|
return true if self.equal?(o)
|
103
127
|
self.class == o.class &&
|
104
128
|
developer_id == o.developer_id &&
|
105
|
-
solution_id == o.solution_id
|
129
|
+
solution_id == o.solution_id &&
|
130
|
+
third_party_certification_number == o.third_party_certification_number
|
106
131
|
end
|
107
132
|
|
108
133
|
# @see the `==` method
|
@@ -114,7 +139,7 @@ module CyberSource
|
|
114
139
|
# Calculates hash code according to all attributes.
|
115
140
|
# @return [Fixnum] Hash code
|
116
141
|
def hash
|
117
|
-
[developer_id, solution_id].hash
|
142
|
+
[developer_id, solution_id, third_party_certification_number].hash
|
118
143
|
end
|
119
144
|
|
120
145
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb
CHANGED
@@ -17,7 +17,7 @@ module CyberSource
|
|
17
17
|
# Number of units for this order. The default is `1`. For an authorization or capture transaction (`processingOptions.capture` is set to `true` or `false`), this field is required when _orderInformation.lineItems[].productCode_ is not set to **default** or one of the other values that are related to shipping and/or handling. When orderInformation.lineItems[].productCode is \"gift_card\", this is the total count of individual prepaid gift cards purchased.
|
18
18
|
attr_accessor :quantity
|
19
19
|
|
20
|
-
# Per-item price of the product. This value cannot be negative. You can include a decimal point (.), but you cannot include any other special characters. CyberSource truncates the amount to the correct number of decimal places. For processor-specific information, see the `amount` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths. See these guides for details: - [Merchant Descriptors Using the SCMP API Guide] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/
|
20
|
+
# Per-item price of the product. This value cannot be negative. You can include a decimal point (.), but you cannot include any other special characters. CyberSource truncates the amount to the correct number of decimal places. For processor-specific information, see the `amount` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths. See these guides for details: - [Merchant Descriptors Using the SCMP API Guide] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/) - \"Capture Information for Specific Processors\" section in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### DCC with a Third-Party Provider Set this field to the converted amount that was returned by the DCC provider. You must include either the 1st line item in the order and this field, or the request-level field `orderInformation.amountDetails.totalAmount` in your request. For details, see \"Dynamic Currency Conversion with a Third Party Provider\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### FDMS South If you accept IDR or CLP currencies, see the entry for FDMS South in the [Merchant Descriptors Using the SCMP API Guide.] (https://apps.cybersource.com/library/documentation/dev_guides/Merchant_Descriptors_SCMP_API/html/) #### Zero Amount Authorizations If your processor supports zero amount authorizations, you can set this field to 0 for the authorization to check if the card is lost or stolen. See \"Zero Amount Authorizations\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
21
21
|
attr_accessor :unit_price
|
22
22
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb
CHANGED
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsidreversalsPointOfSaleInformationEmv
|
17
|
-
# EMV data that is transmitted from the chip card to the issuer, and from the issuer to the chip card. The EMV data is in the tag-length-value format and includes chip card tags, terminal tags, and transaction detail tags. For details, see the `emv_request_combined_tags` field description in [Card-Present Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Retail_SCMP_API/html/
|
17
|
+
# EMV data that is transmitted from the chip card to the issuer, and from the issuer to the chip card. The EMV data is in the tag-length-value format and includes chip card tags, terminal tags, and transaction detail tags. For details, see the `emv_request_combined_tags` field description in [Card-Present Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Retail_SCMP_API/html/) **Note** The information about EMV applies to credit card processing and PIN debit processing. All other information in this guide applies only to credit card processing. PIN debit processing is available only on FDC Nashville Global. **Note** For information about the individual tags, see the “Application Specification” section in the EMV 4.3 Specifications: http://emvco.com **Important** The following tags contain sensitive information and **must not** be included in this field: - **56**: Track 1 equivalent data - **57**: Track 2 equivalent data - **5A**: Application PAN - **5F20**: Cardholder name - **5F24**: Application expiration date (This sensitivity has been relaxed for cmcic, amexdirect, fdiglobal, opdfde, and six) - **99**: Transaction PIN - **9F0B**: Cardholder name (extended) - **9F1F**: Track 1 discretionary data - **9F20**: Track 2 discretionary data For captures, this field is required for contact EMV transactions. Otherwise, it is optional. For credits, this field is required for contact EMV stand-alone credits and contactless EMV stand-alone credits. Otherwise, it is optional. **Important** For contact EMV captures, contact EMV stand-alone credits, and contactless EMV stand-alone credits, you must include the following tags in this field. For all other types of EMV transactions, the following tags are optional. - **95**: Terminal verification results - **9F10**: Issuer application data - **9F26**: Application cryptogram
|
18
18
|
attr_accessor :tags
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsidreversalsProcessingInformation
|
17
|
-
# Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/
|
17
|
+
# Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay.
|
18
18
|
attr_accessor :payment_solution
|
19
19
|
|
20
20
|
# Please check with Cybersource customer support to see if your merchant account is configured correctly so you can include this field in your request. * For Payouts: max length for FDCCompass is String (22).
|
21
21
|
attr_accessor :reconciliation_id
|
22
22
|
|
23
|
-
# Value that links the current authorization request to the original authorization request. Set this value to the ID that was returned in the reply message from the original authorization request. This value is used for: - Partial authorizations - Split shipments For details, see `link_to_request` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/
|
23
|
+
# Value that links the current authorization request to the original authorization request. Set this value to the ID that was returned in the reply message from the original authorization request. This value is used for: - Partial authorizations - Split shipments For details, see `link_to_request` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
24
24
|
attr_accessor :link_id
|
25
25
|
|
26
|
-
# Attribute that lets you define custom grouping for your processor reports. This field is supported only for **Worldpay VAP**. For details, see `report_group` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/
|
26
|
+
# Attribute that lets you define custom grouping for your processor reports. This field is supported only for **Worldpay VAP**. For details, see `report_group` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
27
27
|
attr_accessor :report_group
|
28
28
|
|
29
|
-
# Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field. For details, see the `vc_order_id` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/
|
29
|
+
# Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field. For details, see the `vc_order_id` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/)
|
30
30
|
attr_accessor :visa_checkout_id
|
31
31
|
|
32
32
|
attr_accessor :issuer
|
@@ -16,7 +16,7 @@ module CyberSource
|
|
16
16
|
class Ptsv2paymentsidreversalsReversalInformation
|
17
17
|
attr_accessor :amount_details
|
18
18
|
|
19
|
-
# Reason for the authorization reversal. Possible value: - `34`: Suspected fraud CyberSource ignores this field for processors that do not support this value. For details, see `auth_reversal_reason` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/
|
19
|
+
# Reason for the authorization reversal. Possible value: - `34`: Suspected fraud CyberSource ignores this field for processors that do not support this value. For details, see `auth_reversal_reason` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/)
|
20
20
|
attr_accessor :reason
|
21
21
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -14,10 +14,10 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsidreversalsReversalInformationAmountDetails
|
17
|
-
# 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. **Note** For CTV, FDCCompass, Paymentech processors, the maximum length for this field is 12. **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths. For details, see: - \"Authorization Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/
|
17
|
+
# 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. **Note** For CTV, FDCCompass, Paymentech processors, the maximum length for this field is 12. **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths. For details, see: - \"Authorization Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). - \"Capture Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). - \"Credit Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). If your processor supports zero amount authorizations, you can set this field to 0 for the authorization to check if the card is lost or stolen. For details, see \"Zero Amount Authorizations,\" \"Credit Information for Specific Processors\" in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### DCC with a Third-Party Provider Set this field to the converted amount that was returned by the DCC provider. You must include either this field or the 1st line item in the order and the specific line-order amount in your request. For details, see `grand_total_amount` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). #### FDMS South If you accept IDR or CLP currencies, see the entry for FDMS South in \"Authorization Information for Specific Processors\" of the [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### DCC for First Data Not used. #### Invoicing Grand total for the order, this is required for creating a new invoice.
|
18
18
|
attr_accessor :total_amount
|
19
19
|
|
20
|
-
# Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/
|
20
|
+
# Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).
|
21
21
|
attr_accessor :currency
|
22
22
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -14,10 +14,10 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2payoutsOrderInformationAmountDetails
|
17
|
-
# 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. **Note** For CTV, FDCCompass, Paymentech processors, the maximum length for this field is 12. **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths. For details, see: - \"Authorization Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/
|
17
|
+
# 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. **Note** For CTV, FDCCompass, Paymentech processors, the maximum length for this field is 12. **Important** Some processors have specific requirements and limitations, such as maximum amounts and maximum field lengths. For details, see: - \"Authorization Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). - \"Capture Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). - \"Credit Information for Specific Processors\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). If your processor supports zero amount authorizations, you can set this field to 0 for the authorization to check if the card is lost or stolen. For details, see \"Zero Amount Authorizations,\" \"Credit Information for Specific Processors\" in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### DCC with a Third-Party Provider Set this field to the converted amount that was returned by the DCC provider. You must include either this field or the 1st line item in the order and the specific line-order amount in your request. For details, see `grand_total_amount` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf). #### FDMS South If you accept IDR or CLP currencies, see the entry for FDMS South in \"Authorization Information for Specific Processors\" of the [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) #### DCC for First Data Not used. #### Invoicing Grand total for the order, this is required for creating a new invoice.
|
18
18
|
attr_accessor :total_amount
|
19
19
|
|
20
|
-
# Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/
|
20
|
+
# Currency used for the order. Use the three-character I[ISO Standard Currency Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf) For details about currency as used in partial authorizations, see \"Features for Debit Cards and Prepaid Cards\" in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) For an authorization reversal (`reversalInformation`) or a capture (`processingOptions.capture` is set to `true`), you must use the same currency that you used in your payment authorization request. #### DCC for First Data Your local currency. For details, see the `currency` field description in [Dynamic Currency Conversion For First Data Using the SCMP API](http://apps.cybersource.com/library/documentation/dev_guides/DCC_FirstData_SCMP/DCC_FirstData_SCMP_API.pdf).
|
21
21
|
attr_accessor :currency
|
22
22
|
|
23
23
|
attr_accessor :surcharge
|
@@ -17,10 +17,10 @@ module CyberSource
|
|
17
17
|
# Payouts transaction type. Applicable Processors: FDC Compass, Paymentech, CtV Possible values: **Credit Card Bill Payment** - **CP**: credit card bill payment **Funds Disbursement** - **FD**: funds disbursement - **GD**: government disbursement - **MD**: merchant disbursement **Money Transfer** - **AA**: account to account. Sender and receiver are same person. - **PP**: person to person. Sender and receiver are different. **Prepaid Load** - **TU**: top up
|
18
18
|
attr_accessor :business_application_id
|
19
19
|
|
20
|
-
# This field is optionally used by Push Payments Gateway participants (merchants and acquirers) to get the attributes for specified networks only. The networks specified in this field must be a subset of the information provided during program enrollment. Refer to Sharing Group Code/Network Routing Order. Note: Supported only in US for domestic transactions involving Push Payments Gateway Service. VisaNet checks to determine if there are issuer routing preferences for any of the networks specified by the network routing order. If an issuer preference exists for one of the specified debit networks, VisaNet makes a routing selection based on the issuer’s preference. If an issuer preference exists for more than one of the specified debit networks, or if no issuer preference exists, VisaNet makes a selection based on the acquirer’s routing priorities. For details, see the `network_order` field description in [BIN Lookup Service Using the SCMP API.](http://apps.cybersource.com/library/documentation/BIN_Lookup/BIN_Lookup_SCMP_API/html/
|
20
|
+
# This field is optionally used by Push Payments Gateway participants (merchants and acquirers) to get the attributes for specified networks only. The networks specified in this field must be a subset of the information provided during program enrollment. Refer to Sharing Group Code/Network Routing Order. Note: Supported only in US for domestic transactions involving Push Payments Gateway Service. VisaNet checks to determine if there are issuer routing preferences for any of the networks specified by the network routing order. If an issuer preference exists for one of the specified debit networks, VisaNet makes a routing selection based on the issuer’s preference. If an issuer preference exists for more than one of the specified debit networks, or if no issuer preference exists, VisaNet makes a selection based on the acquirer’s routing priorities. For details, see the `network_order` field description in [BIN Lookup Service Using the SCMP API.](http://apps.cybersource.com/library/documentation/BIN_Lookup/BIN_Lookup_SCMP_API/html/)
|
21
21
|
attr_accessor :network_routing_order
|
22
22
|
|
23
|
-
# Type of transaction. Value for an OCT transaction: - `internet` For details, see the `e_commerce_indicator` field description in [Payouts Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/payouts_SCMP/html/
|
23
|
+
# Type of transaction. Value for an OCT transaction: - `internet` For details, see the `e_commerce_indicator` field description in [Payouts Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/payouts_SCMP/html/)
|
24
24
|
attr_accessor :commerce_indicator
|
25
25
|
|
26
26
|
# Please check with Cybersource customer support to see if your merchant account is configured correctly so you can include this field in your request. * For Payouts: max length for FDCCompass is String (22).
|
@@ -35,6 +35,10 @@ module CyberSource
|
|
35
35
|
# The object containing the custom data that the merchant defines.
|
36
36
|
attr_accessor :merchant_defined_information
|
37
37
|
|
38
|
+
attr_accessor :travel_information
|
39
|
+
|
40
|
+
attr_accessor :promotion_information
|
41
|
+
|
38
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
43
|
def self.attribute_map
|
40
44
|
{
|
@@ -47,7 +51,9 @@ module CyberSource
|
|
47
51
|
:'merchant_information' => :'merchantInformation',
|
48
52
|
:'aggregator_information' => :'aggregatorInformation',
|
49
53
|
:'point_of_sale_information' => :'pointOfSaleInformation',
|
50
|
-
:'merchant_defined_information' => :'merchantDefinedInformation'
|
54
|
+
:'merchant_defined_information' => :'merchantDefinedInformation',
|
55
|
+
:'travel_information' => :'travelInformation',
|
56
|
+
:'promotion_information' => :'promotionInformation'
|
51
57
|
}
|
52
58
|
end
|
53
59
|
|
@@ -63,7 +69,9 @@ module CyberSource
|
|
63
69
|
:'merchant_information' => :'Ptsv2paymentsidrefundsMerchantInformation',
|
64
70
|
:'aggregator_information' => :'Ptsv2paymentsidcapturesAggregatorInformation',
|
65
71
|
:'point_of_sale_information' => :'Ptsv2paymentsidrefundsPointOfSaleInformation',
|
66
|
-
:'merchant_defined_information' => :'Array<Ptsv2paymentsMerchantDefinedInformation>'
|
72
|
+
:'merchant_defined_information' => :'Array<Ptsv2paymentsMerchantDefinedInformation>',
|
73
|
+
:'travel_information' => :'Ptsv2paymentsidcapturesTravelInformation',
|
74
|
+
:'promotion_information' => :'Ptsv2paymentsPromotionInformation'
|
67
75
|
}
|
68
76
|
end
|
69
77
|
|
@@ -116,6 +124,14 @@ module CyberSource
|
|
116
124
|
self.merchant_defined_information = value
|
117
125
|
end
|
118
126
|
end
|
127
|
+
|
128
|
+
if attributes.has_key?(:'travelInformation')
|
129
|
+
self.travel_information = attributes[:'travelInformation']
|
130
|
+
end
|
131
|
+
|
132
|
+
if attributes.has_key?(:'promotionInformation')
|
133
|
+
self.promotion_information = attributes[:'promotionInformation']
|
134
|
+
end
|
119
135
|
end
|
120
136
|
|
121
137
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -145,7 +161,9 @@ module CyberSource
|
|
145
161
|
merchant_information == o.merchant_information &&
|
146
162
|
aggregator_information == o.aggregator_information &&
|
147
163
|
point_of_sale_information == o.point_of_sale_information &&
|
148
|
-
merchant_defined_information == o.merchant_defined_information
|
164
|
+
merchant_defined_information == o.merchant_defined_information &&
|
165
|
+
travel_information == o.travel_information &&
|
166
|
+
promotion_information == o.promotion_information
|
149
167
|
end
|
150
168
|
|
151
169
|
# @see the `==` method
|
@@ -157,7 +175,7 @@ module CyberSource
|
|
157
175
|
# Calculates hash code according to all attributes.
|
158
176
|
# @return [Fixnum] Hash code
|
159
177
|
def hash
|
160
|
-
[client_reference_information, processing_information, payment_information, order_information, buyer_information, device_information, merchant_information, aggregator_information, point_of_sale_information, merchant_defined_information].hash
|
178
|
+
[client_reference_information, processing_information, payment_information, order_information, buyer_information, device_information, merchant_information, aggregator_information, point_of_sale_information, merchant_defined_information, travel_information, promotion_information].hash
|
161
179
|
end
|
162
180
|
|
163
181
|
# Builds the object from hash
|