cybersource_rest_client 0.0.62 → 0.0.64
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/cybersource_rest_client/api/bin_lookup_api.rb +93 -0
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +3 -3
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +4 -4
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -2
- data/lib/cybersource_rest_client/api_client.rb +28 -26
- data/lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb +3 -3
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post400_response.rb → bin_lookupv400_response.rb} +224 -224
- data/lib/cybersource_rest_client/models/binv1binlookup_client_reference_information.rb +222 -0
- data/lib/cybersource_rest_client/models/binv1binlookup_payment_information.rb +219 -0
- data/lib/cybersource_rest_client/models/binv1binlookup_payment_information_card.rb +196 -0
- data/lib/cybersource_rest_client/models/binv1binlookup_processing_information.rb +200 -0
- data/lib/cybersource_rest_client/models/binv1binlookup_processing_information_payout_options.rb +213 -0
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_options_funding_options_initiator.rb → binv1binlookup_token_information.rb} +207 -196
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +3 -3
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +3 -3
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +3 -3
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +9 -9
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +12 -12
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +9 -9
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +15 -15
- data/lib/cybersource_rest_client/models/case_management_comments_request.rb +3 -3
- data/lib/cybersource_rest_client/models/create_bin_lookup_request.rb +219 -0
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +6 -6
- data/lib/cybersource_rest_client/models/e_check_config_common.rb +9 -9
- data/lib/cybersource_rest_client/models/e_check_config_common_processors.rb +3 -3
- data/lib/cybersource_rest_client/models/get_all_plans_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +253 -253
- data/lib/cybersource_rest_client/models/inline_response_201_1.rb +248 -315
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_aggregator_information.rb → inline_response_201_1_issuer_information.rb} +264 -223
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information.rb +209 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card.rb +277 -0
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_merchant_defined_information.rb → inline_response_201_1_payment_account_information_card_brands.rb} +213 -213
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_features.rb +320 -0
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_options_funding_options.rb → inline_response_201_1_payment_account_information_network.rb} +190 -189
- data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information.rb +216 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_pull_funds.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_push_funds.rb +417 -0
- data/lib/cybersource_rest_client/models/inline_response_201_2.rb +315 -222
- data/lib/cybersource_rest_client/models/{inline_response_201_1_integration_information.rb → inline_response_201_2_integration_information.rb} +192 -192
- data/lib/cybersource_rest_client/models/{inline_response_201_1_integration_information_tenant_configurations.rb → inline_response_201_2_integration_information_tenant_configurations.rb} +286 -286
- data/lib/cybersource_rest_client/models/{inline_response_201_1_organization_information.rb → inline_response_201_2_organization_information.rb} +217 -217
- data/lib/cybersource_rest_client/models/{inline_response_201_1_product_information_setups.rb → inline_response_201_2_product_information_setups.rb} +214 -214
- data/lib/cybersource_rest_client/models/{inline_response_201_1_registration_information.rb → inline_response_201_2_registration_information.rb} +256 -256
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups.rb → inline_response_201_2_setups.rb} +219 -219
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_commerce_solutions.rb → inline_response_201_2_setups_commerce_solutions.rb} +209 -209
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments.rb → inline_response_201_2_setups_payments.rb} +349 -349
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing.rb → inline_response_201_2_setups_payments_card_processing.rb} +199 -199
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing_configuration_status.rb → inline_response_201_2_setups_payments_card_processing_configuration_status.rb} +299 -299
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing_subscription_status.rb → inline_response_201_2_setups_payments_card_processing_subscription_status.rb} +278 -278
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_digital_payments.rb → inline_response_201_2_setups_payments_digital_payments.rb} +189 -189
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_risk.rb → inline_response_201_2_setups_risk.rb} +199 -199
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_value_added_services.rb → inline_response_201_2_setups_value_added_services.rb} +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +222 -347
- data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information.rb → inline_response_201_3_key_information.rb} +300 -300
- data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information_error_information.rb → inline_response_201_3_key_information_error_information.rb} +202 -202
- data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information_error_information_details.rb → inline_response_201_3_key_information_error_information_details.rb} +201 -201
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +347 -222
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +222 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +248 -248
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +270 -270
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +258 -258
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb +235 -235
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +225 -225
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +225 -225
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +333 -333
- data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb +241 -241
- data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +2 -2
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_processor_account.rb +3 -3
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +6 -6
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pushfunds.rb +3 -3
- data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +2 -2
- data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +2 -2
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +3 -3
- 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_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +284 -284
- 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_order_post201_response_buyer_information_personal_identification.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +233 -233
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +249 -249
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_processor_information.rb +264 -264
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +765 -765
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +609 -609
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +264 -264
- 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_payment_information.rb +5 -5
- 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 +309 -309
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information.rb +199 -189
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_information_recurring_options.rb → pts_v2_payments_post201_response_payment_insights_information_orchestration.rb} +192 -190
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +230 -230
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +223 -223
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +217 -217
- 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 +736 -736
- 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_electronic_verification_results.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +230 -230
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +2 -2
- 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_issuer_information.rb +196 -196
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +1 -1
- 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_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information.rb +5 -32
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +74 -13
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +232 -310
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +41 -23
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +18 -43
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +28 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_personal_identification.rb +33 -7
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +27 -26
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +10 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +41 -5
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification.rb +33 -7
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_buyer_information.rb +247 -247
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +326 -326
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +285 -285
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +241 -241
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +275 -275
- data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +453 -453
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_line_items.rb +361 -361
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_ship_to.rb +485 -485
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_card.rb +275 -275
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +366 -366
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1075 -1075
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +308 -308
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication_issuer_information.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +416 -416
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +464 -464
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +405 -405
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +641 -624
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_order.rb +332 -332
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +286 -286
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +444 -444
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +699 -699
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +496 -496
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +346 -336
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +428 -428
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_order_information_surcharge.rb → ptsv2payments_payment_information_payment_account_reference.rb} +196 -196
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +377 -377
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +633 -633
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +257 -257
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +704 -704
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +2 -2
- 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_loan_options.rb +213 -213
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +205 -205
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +315 -315
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +15 -5
- data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_token_provisioning_information.rb → ptsv2payments_token_information_token_provisioning_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +332 -332
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +604 -604
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +267 -267
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +287 -287
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +206 -206
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +362 -362
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +257 -257
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +502 -502
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +299 -289
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +377 -377
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +342 -342
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +192 -192
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +213 -213
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +287 -287
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +234 -234
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +286 -286
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +301 -301
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +5 -39
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +190 -196
- data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +4 -4
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +3 -37
- data/lib/cybersource_rest_client/models/push_funds400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds_request.rb +5 -60
- data/lib/cybersource_rest_client/models/rbsv1plans_order_information_amount_details.rb +7 -7
- data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +3 -3
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information_customer.rb +3 -3
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_subscription_information.rb +3 -3
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +543 -543
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +4 -4
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +5 -5
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +12 -12
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +290 -290
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +258 -258
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +8 -8
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +22 -22
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +497 -497
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +9 -9
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +351 -351
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +9 -9
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +299 -299
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +213 -213
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +223 -223
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +416 -416
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +259 -259
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +16 -16
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +314 -314
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +196 -196
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +2 -2
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account.rb +207 -207
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_tokenized_card.rb +12 -1
- data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info.rb +200 -200
- data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info_bank_transfer_options.rb +196 -196
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +236 -236
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +2 -2
- 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_order_information_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +292 -292
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +349 -349
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +365 -365
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +3 -3
- 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_authorization_options_initiator.rb +222 -222
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +383 -383
- 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__embedded_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +241 -241
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +231 -231
- data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +6 -6
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +196 -196
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +403 -403
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client.rb +39 -30
- metadata +42 -33
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +0 -332
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +0 -234
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +0 -298
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +0 -246
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options.rb +0 -189
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d406a2c0336a5d9e4d03d336c5f708d94aaf3efdf4e417b857e6e0b9ecc21764
|
4
|
+
data.tar.gz: e21b1e9be21ae6fa47887822debea7d0b2c5dc888ee8c31e186c717d89356c80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4588e311ae1dc6ded04645e8e403ca68990d541e6f281bdf7b1f46b40ed1c07983fd8cf2c964bd5e36fe62d9cc968b4eb04a059de25656f5785f2901f5245947
|
7
|
+
data.tar.gz: 513bf8c36aae0c145456917ab1da7a0605cf83a7fb85f1d952c7c4e48d17f3fe94e4527629a12b5d0f0abf42bf8c5ddbb89bfb69459e8e579b835d846db9f9d9
|
@@ -0,0 +1,93 @@
|
|
1
|
+
=begin
|
2
|
+
#CyberSource Merged Spec
|
3
|
+
|
4
|
+
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.38
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'uri'
|
13
|
+
|
14
|
+
module CyberSource
|
15
|
+
class BinLookupApi
|
16
|
+
attr_accessor :api_client
|
17
|
+
|
18
|
+
def initialize(api_client = ApiClient.default, config)
|
19
|
+
@api_client = api_client
|
20
|
+
@api_client.set_configuration(config)
|
21
|
+
end
|
22
|
+
# BIN Lookup API
|
23
|
+
# The BIN Lookup Service is a versatile business tool that provides card network agnostic solution designed to ensure frictionless transaction experience by utilizing up-to-date Bank Identification Number (BIN) attributes sourced from multiple global and regional data sources. This service helps to improve authorization rates by helping to route transactions to the best-suited card network, minimizes fraud through card detail verification and aids in regulatory compliance by identifying card properties. The service is flexible and provides businesses with a flexible choice of inputs such as primary account number (PAN), network token from major networks which includes device PAN (DPAN), and all types of tokens generated via CyberSource Token Management Service (TMS). Currently, the range of available credentials is contingent on the networks enabled for the business entity. Therefore, the network information specified in this documentation is illustrative and subject to personalized offerings for each reseller or merchant.
|
24
|
+
#
|
25
|
+
# @param create_bin_lookup_request
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @return [InlineResponse2011]
|
28
|
+
#
|
29
|
+
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
30
|
+
def get_account_info(create_bin_lookup_request, opts = {})
|
31
|
+
data, status_code, headers = get_account_info_with_http_info(create_bin_lookup_request, opts)
|
32
|
+
return data, status_code, headers
|
33
|
+
end
|
34
|
+
|
35
|
+
# BIN Lookup API
|
36
|
+
# The BIN Lookup Service is a versatile business tool that provides card network agnostic solution designed to ensure frictionless transaction experience by utilizing up-to-date Bank Identification Number (BIN) attributes sourced from multiple global and regional data sources. This service helps to improve authorization rates by helping to route transactions to the best-suited card network, minimizes fraud through card detail verification and aids in regulatory compliance by identifying card properties. The service is flexible and provides businesses with a flexible choice of inputs such as primary account number (PAN), network token from major networks which includes device PAN (DPAN), and all types of tokens generated via CyberSource Token Management Service (TMS). Currently, the range of available credentials is contingent on the networks enabled for the business entity. Therefore, the network information specified in this documentation is illustrative and subject to personalized offerings for each reseller or merchant.
|
37
|
+
# @param create_bin_lookup_request
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [Array<(InlineResponse2011, Fixnum, Hash)>] InlineResponse2011 data, response status code and response headers
|
40
|
+
def get_account_info_with_http_info(create_bin_lookup_request, opts = {})
|
41
|
+
|
42
|
+
if @api_client.config.debugging
|
43
|
+
begin
|
44
|
+
raise
|
45
|
+
@api_client.config.logger.debug 'Calling API: BinLookupApi.get_account_info ...'
|
46
|
+
rescue
|
47
|
+
puts 'Cannot write to log'
|
48
|
+
end
|
49
|
+
end
|
50
|
+
# verify the required parameter 'create_bin_lookup_request' is set
|
51
|
+
if @api_client.config.client_side_validation && create_bin_lookup_request.nil?
|
52
|
+
fail ArgumentError, "Missing the required parameter 'create_bin_lookup_request' when calling BinLookupApi.get_account_info"
|
53
|
+
end
|
54
|
+
# resource path
|
55
|
+
local_var_path = 'bin/v1/binlookup'
|
56
|
+
|
57
|
+
# query parameters
|
58
|
+
query_params = {}
|
59
|
+
|
60
|
+
# header parameters
|
61
|
+
header_params = {}
|
62
|
+
# HTTP header 'Accept' (if needed)
|
63
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json;charset=utf-8'])
|
64
|
+
# HTTP header 'Content-Type'
|
65
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
66
|
+
|
67
|
+
# form parameters
|
68
|
+
form_params = {}
|
69
|
+
|
70
|
+
# http body (model)
|
71
|
+
post_body = @api_client.object_to_http_body(create_bin_lookup_request)
|
72
|
+
sdk_tracker = SdkTracker.new
|
73
|
+
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateBinLookupRequest', @api_client.config.host)
|
74
|
+
auth_names = []
|
75
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
76
|
+
:header_params => header_params,
|
77
|
+
:query_params => query_params,
|
78
|
+
:form_params => form_params,
|
79
|
+
:body => post_body,
|
80
|
+
:auth_names => auth_names,
|
81
|
+
:return_type => 'InlineResponse2011')
|
82
|
+
if @api_client.config.debugging
|
83
|
+
begin
|
84
|
+
raise
|
85
|
+
@api_client.config.logger.debug "API called: BinLookupApi#get_account_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
|
+
rescue
|
87
|
+
puts 'Cannot write to log'
|
88
|
+
end
|
89
|
+
end
|
90
|
+
return data, status_code, headers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -24,7 +24,7 @@ module CyberSource
|
|
24
24
|
#
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [CreateWebhookRequest] :create_webhook_request The webhook payload
|
27
|
-
# @return [
|
27
|
+
# @return [InlineResponse2014]
|
28
28
|
#
|
29
29
|
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
30
30
|
def create_webhook_subscription(opts = {})
|
@@ -36,7 +36,7 @@ module CyberSource
|
|
36
36
|
# Create a new webhook subscription. Before creating a webhook, ensure that a security key has been created at the top of this developer center section. You will not need to pass us back the key during the creation of the webhook, but you will receive an error if you did not already create a key or store one on file.
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @option opts [CreateWebhookRequest] :create_webhook_request The webhook payload
|
39
|
-
# @return [Array<(
|
39
|
+
# @return [Array<(InlineResponse2014, Fixnum, Hash)>] InlineResponse2014 data, response status code and response headers
|
40
40
|
def create_webhook_subscription_with_http_info(opts = {})
|
41
41
|
|
42
42
|
if @api_client.config.debugging
|
@@ -74,7 +74,7 @@ module CyberSource
|
|
74
74
|
:form_params => form_params,
|
75
75
|
:body => post_body,
|
76
76
|
:auth_names => auth_names,
|
77
|
-
:return_type => '
|
77
|
+
:return_type => 'InlineResponse2014')
|
78
78
|
if @api_client.config.debugging
|
79
79
|
begin
|
80
80
|
raise
|
@@ -165,7 +165,7 @@ module CyberSource
|
|
165
165
|
# @param [Hash] opts the optional parameters
|
166
166
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
167
167
|
# @option opts [SaveSymEgressKey] :save_sym_egress_key Provide egress Symmetric key information to save (create or store or refresh)
|
168
|
-
# @return [
|
168
|
+
# @return [InlineResponse2013]
|
169
169
|
#
|
170
170
|
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
171
171
|
def save_sym_egress_key(v_c_sender_organization_id, v_c_permissions, opts = {})
|
@@ -180,7 +180,7 @@ module CyberSource
|
|
180
180
|
# @param [Hash] opts the optional parameters
|
181
181
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
182
182
|
# @option opts [SaveSymEgressKey] :save_sym_egress_key Provide egress Symmetric key information to save (create or store or refresh)
|
183
|
-
# @return [Array<(
|
183
|
+
# @return [Array<(InlineResponse2013, Fixnum, Hash)>] InlineResponse2013 data, response status code and response headers
|
184
184
|
def save_sym_egress_key_with_http_info(v_c_sender_organization_id, v_c_permissions, opts = {})
|
185
185
|
|
186
186
|
if @api_client.config.debugging
|
@@ -237,7 +237,7 @@ module CyberSource
|
|
237
237
|
:form_params => form_params,
|
238
238
|
:body => post_body,
|
239
239
|
:auth_names => auth_names,
|
240
|
-
:return_type => '
|
240
|
+
:return_type => 'InlineResponse2013')
|
241
241
|
if @api_client.config.debugging
|
242
242
|
begin
|
243
243
|
raise
|
@@ -257,7 +257,7 @@ module CyberSource
|
|
257
257
|
# @param save_asym_egress_key Provide egress Asymmetric key information to save (create or store)
|
258
258
|
# @param [Hash] opts the optional parameters
|
259
259
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
260
|
-
# @return [
|
260
|
+
# @return [InlineResponse2015]
|
261
261
|
#
|
262
262
|
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
263
263
|
def save_asym_egress_key(v_c_sender_organization_id, v_c_permissions, save_asym_egress_key, opts = {})
|
@@ -272,7 +272,7 @@ module CyberSource
|
|
272
272
|
# @param save_asym_egress_key Provide egress Asymmetric key information to save (create or store)
|
273
273
|
# @param [Hash] opts the optional parameters
|
274
274
|
# @option opts [String] :v_c_correlation_id A globally unique id associated with your request
|
275
|
-
# @return [Array<(
|
275
|
+
# @return [Array<(InlineResponse2015, Fixnum, Hash)>] InlineResponse2015 data, response status code and response headers
|
276
276
|
def save_asym_egress_key_with_http_info(v_c_sender_organization_id, v_c_permissions, save_asym_egress_key, opts = {})
|
277
277
|
|
278
278
|
if @api_client.config.debugging
|
@@ -333,7 +333,7 @@ module CyberSource
|
|
333
333
|
:form_params => form_params,
|
334
334
|
:body => post_body,
|
335
335
|
:auth_names => auth_names,
|
336
|
-
:return_type => '
|
336
|
+
:return_type => 'InlineResponse2015')
|
337
337
|
if @api_client.config.debugging
|
338
338
|
begin
|
339
339
|
raise
|
@@ -97,7 +97,7 @@ module CyberSource
|
|
97
97
|
# @param post_registration_body Boarding registration data
|
98
98
|
# @param [Hash] opts the optional parameters
|
99
99
|
# @option opts [String] :v_c_idempotency_id defines idempotency of the request
|
100
|
-
# @return [
|
100
|
+
# @return [InlineResponse2012]
|
101
101
|
#
|
102
102
|
# DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
|
103
103
|
def post_registration(post_registration_body, opts = {})
|
@@ -110,7 +110,7 @@ module CyberSource
|
|
110
110
|
# @param post_registration_body Boarding registration data
|
111
111
|
# @param [Hash] opts the optional parameters
|
112
112
|
# @option opts [String] :v_c_idempotency_id defines idempotency of the request
|
113
|
-
# @return [Array<(
|
113
|
+
# @return [Array<(InlineResponse2012, Fixnum, Hash)>] InlineResponse2012 data, response status code and response headers
|
114
114
|
def post_registration_with_http_info(post_registration_body, opts = {})
|
115
115
|
|
116
116
|
if @api_client.config.debugging
|
@@ -153,7 +153,7 @@ module CyberSource
|
|
153
153
|
:form_params => form_params,
|
154
154
|
:body => post_body,
|
155
155
|
:auth_names => auth_names,
|
156
|
-
:return_type => '
|
156
|
+
:return_type => 'InlineResponse2012')
|
157
157
|
if @api_client.config.debugging
|
158
158
|
begin
|
159
159
|
raise
|
@@ -96,7 +96,7 @@ module CyberSource
|
|
96
96
|
return data, status_code, headers
|
97
97
|
end
|
98
98
|
# Get Individual Batch File
|
99
|
-
#
|
99
|
+
# This API provides details like upload date, completion date, transaction count and accepted and rejected transaction count of the individual batch file using the batch id
|
100
100
|
#
|
101
101
|
# @param id The batch id assigned for the template.
|
102
102
|
# @param [Hash] opts the optional parameters
|
@@ -108,7 +108,7 @@ module CyberSource
|
|
108
108
|
end
|
109
109
|
|
110
110
|
# Get Individual Batch File
|
111
|
-
#
|
111
|
+
# This API provides details like upload date, completion date, transaction count and accepted and rejected transaction count of the individual batch file using the batch id
|
112
112
|
# @param id The batch id assigned for the template.
|
113
113
|
# @param [Hash] opts the optional parameters
|
114
114
|
# @return [Array<(PtsV1TransactionBatchesIdGet200Response, Fixnum, Hash)>] PtsV1TransactionBatchesIdGet200Response data, response status code and response headers
|
@@ -167,7 +167,7 @@ module CyberSource
|
|
167
167
|
return data, status_code, headers
|
168
168
|
end
|
169
169
|
# Get a List of Batch Files
|
170
|
-
# Provide the search range
|
170
|
+
# Provide the date and time search range to get a list of Batch Files ready for settlement
|
171
171
|
#
|
172
172
|
# @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
|
173
173
|
# @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
|
@@ -180,7 +180,7 @@ module CyberSource
|
|
180
180
|
end
|
181
181
|
|
182
182
|
# Get a List of Batch Files
|
183
|
-
# Provide the search range
|
183
|
+
# Provide the date and time search range to get a list of Batch Files ready for settlement
|
184
184
|
# @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
|
185
185
|
# @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
|
186
186
|
# @param [Hash] opts the optional parameters
|
@@ -20,7 +20,7 @@ module CyberSource
|
|
20
20
|
@api_client.set_configuration(config)
|
21
21
|
end
|
22
22
|
# Generate Unified Checkout Capture Context
|
23
|
-
# Unified Checkout is a powerful product within the Digital Acceptance Suite. Unified Checkout is designed to assist merchants with the adoption and inclusion of digital payments within their payment acceptance page. With Unified Checkout Integration you can add digital payment methods to create familiar, convenient and seamless payment experiences that are designed to reduce checkout friction and increase conversions. Click to Pay Drop-in UI is built on the Unified Checkout platform. For more information about Unified Checkout, see the [Unified Checkout Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-intro.html). For examples on how to integrate Unified Checkout within your webpage please see our [GitHub Unified Checkout Samples](https://github.com/CyberSource/cybersource-unified-checkout-sample-java).
|
23
|
+
# Unified Checkout is a powerful product within the Digital Acceptance Suite. Unified Checkout is designed to assist merchants with the adoption and inclusion of digital payments within their payment acceptance page. With Unified Checkout Integration you can add digital payment methods to create familiar, convenient and seamless payment experiences that are designed to reduce checkout friction and increase conversions. Click to Pay Drop-in UI is built on the Unified Checkout platform. For more information about Unified Checkout, see the [Unified Checkout Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-intro.html). For examples on how to integrate Unified Checkout within your webpage please see our [GitHub Unified Checkout Samples](https://github.com/CyberSource/cybersource-unified-checkout-sample-java). Generate Unified Checkout Capture Context Generate a one-time use capture context used for the invocation of Unified Checkout. The Request wil contain all of the parameters for how Unified Checkout will operate within a client webpage. The resulting payload will be a JWT signed object that can be used to initiate Unified Checkout or Click to Pay Drop-in UI within a web page
|
24
24
|
#
|
25
25
|
# @param generate_unified_checkout_capture_context_request
|
26
26
|
# @param [Hash] opts the optional parameters
|
@@ -32,7 +32,7 @@ module CyberSource
|
|
32
32
|
end
|
33
33
|
|
34
34
|
# Generate Unified Checkout Capture Context
|
35
|
-
# Unified Checkout is a powerful product within the Digital Acceptance Suite. Unified Checkout is designed to assist merchants with the adoption and inclusion of digital payments within their payment acceptance page. With Unified Checkout Integration you can add digital payment methods to create familiar, convenient and seamless payment experiences that are designed to reduce checkout friction and increase conversions. Click to Pay Drop-in UI is built on the Unified Checkout platform. For more information about Unified Checkout, see the [Unified Checkout Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-intro.html). For examples on how to integrate Unified Checkout within your webpage please see our [GitHub Unified Checkout Samples](https://github.com/CyberSource/cybersource-unified-checkout-sample-java).
|
35
|
+
# Unified Checkout is a powerful product within the Digital Acceptance Suite. Unified Checkout is designed to assist merchants with the adoption and inclusion of digital payments within their payment acceptance page. With Unified Checkout Integration you can add digital payment methods to create familiar, convenient and seamless payment experiences that are designed to reduce checkout friction and increase conversions. Click to Pay Drop-in UI is built on the Unified Checkout platform. For more information about Unified Checkout, see the [Unified Checkout Developer Guides Page](https://developer.cybersource.com/docs/cybs/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-intro.html). For examples on how to integrate Unified Checkout within your webpage please see our [GitHub Unified Checkout Samples](https://github.com/CyberSource/cybersource-unified-checkout-sample-java). Generate Unified Checkout Capture Context Generate a one-time use capture context used for the invocation of Unified Checkout. The Request wil contain all of the parameters for how Unified Checkout will operate within a client webpage. The resulting payload will be a JWT signed object that can be used to initiate Unified Checkout or Click to Pay Drop-in UI within a web page
|
36
36
|
# @param generate_unified_checkout_capture_context_request
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
@@ -21,6 +21,8 @@ module CyberSource
|
|
21
21
|
# The Configuration object holding settings to be used in the API client.
|
22
22
|
attr_accessor :config
|
23
23
|
|
24
|
+
attr_accessor :merchantconfig
|
25
|
+
|
24
26
|
# Defines the headers to be used in HTTP requests of all API calls by default.
|
25
27
|
#
|
26
28
|
# @return [Hash]
|
@@ -115,13 +117,13 @@ module CyberSource
|
|
115
117
|
end
|
116
118
|
|
117
119
|
headers = opts[:header_params]
|
118
|
-
if
|
120
|
+
if @merchantconfig.authenticationType.upcase != Constants::AUTH_TYPE_MUTUAL_AUTH
|
119
121
|
headers = CallAuthenticationHeader(http_method, path, body_params, headers, query_params)
|
120
122
|
end
|
121
123
|
http_method = http_method.to_sym.downcase
|
122
124
|
header_params = headers.merge(@default_headers)
|
123
|
-
if
|
124
|
-
header_params = header_params.merge(
|
125
|
+
if @merchantconfig.defaultCustomHeaders
|
126
|
+
header_params = header_params.merge(@merchantconfig.defaultCustomHeaders)
|
125
127
|
end
|
126
128
|
form_params = opts[:form_params] || {}
|
127
129
|
|
@@ -130,9 +132,9 @@ module CyberSource
|
|
130
132
|
_verify_ssl_host = @config.verify_ssl_host ? 2 : 0
|
131
133
|
|
132
134
|
# client cert
|
133
|
-
if
|
134
|
-
@config.cert_file = File.join(
|
135
|
-
@config.key_file = File.join(
|
135
|
+
if @merchantconfig.enableClientCert
|
136
|
+
@config.cert_file = File.join(@merchantconfig.clientCertDirectory, @merchantconfig.sslClientCert)
|
137
|
+
@config.key_file = File.join(@merchantconfig.clientCertDirectory, @merchantconfig.privateKey)
|
136
138
|
end
|
137
139
|
|
138
140
|
req_opts = {
|
@@ -144,7 +146,7 @@ module CyberSource
|
|
144
146
|
:ssl_verifypeer => @config.verify_ssl,
|
145
147
|
:ssl_verifyhost => _verify_ssl_host,
|
146
148
|
:sslcert => @config.cert_file,
|
147
|
-
:sslkeypasswd =>
|
149
|
+
:sslkeypasswd => @merchantconfig.sslKeyPassword || "",
|
148
150
|
:sslkey => @config.key_file,
|
149
151
|
:verbose => @config.debugging
|
150
152
|
}
|
@@ -172,13 +174,13 @@ module CyberSource
|
|
172
174
|
# set merchantConfig
|
173
175
|
def set_configuration(config)
|
174
176
|
require_relative '../AuthenticationSDK/core/MerchantConfig.rb'
|
175
|
-
|
176
|
-
@config.host =
|
177
|
-
if
|
178
|
-
@config.host =
|
179
|
-
if
|
177
|
+
@merchantconfig = Merchantconfig.new(config)
|
178
|
+
@config.host = @merchantconfig.requestHost
|
179
|
+
if @merchantconfig.intermediateHost
|
180
|
+
@config.host = @merchantconfig.intermediateHost
|
181
|
+
if @merchantconfig.intermediateHost.start_with?(Constants::HTTPS_URI_PREFIX)
|
180
182
|
@config.scheme = 'https'
|
181
|
-
elsif
|
183
|
+
elsif @merchantconfig.intermediateHost.start_with?(Constants::HTTP_URI_PREFIX)
|
182
184
|
@config.scheme = 'http'
|
183
185
|
end
|
184
186
|
end
|
@@ -190,32 +192,32 @@ module CyberSource
|
|
190
192
|
request_target = get_query_param(path, query_params)
|
191
193
|
# Request Type. [Non-Editable]
|
192
194
|
request_type = http_method.to_s
|
193
|
-
log_obj = Log.new
|
195
|
+
log_obj = Log.new @merchantconfig.log_config, "ApiClient"
|
194
196
|
# Set Request Type into the merchant config object.
|
195
|
-
|
197
|
+
@merchantconfig.requestType = request_type
|
196
198
|
# Set Request Target into the merchant config object.
|
197
|
-
|
199
|
+
@merchantconfig.requestTarget = request_target
|
198
200
|
# Construct the URL.
|
199
|
-
url = Constants::HTTPS_URI_PREFIX +
|
201
|
+
url = Constants::HTTPS_URI_PREFIX + @merchantconfig.requestHost + @merchantconfig.requestTarget
|
200
202
|
# set Request Json to Merchant config object
|
201
|
-
|
203
|
+
@merchantconfig.requestJsonData = body_params
|
202
204
|
# Set URL into the merchant config object.
|
203
|
-
|
205
|
+
@merchantconfig.requestUrl = url
|
204
206
|
# Calling APISDK, Apisdk.controller.
|
205
207
|
gmtDateTime = DateTime.now.httpdate
|
206
|
-
token = Authorization.new.getToken(
|
208
|
+
token = Authorization.new.getToken(@merchantconfig, gmtDateTime)
|
207
209
|
|
208
210
|
# Adding client ID header
|
209
211
|
header_params['v-c-client-id'] = @client_id
|
210
212
|
|
211
213
|
# Adding solution ID header
|
212
|
-
# header_params['v-c-solution-id'] =
|
214
|
+
# header_params['v-c-solution-id'] = @merchantconfig.solutionId if !@merchantconfig.solutionId.nil? && !@merchantconfig.solutionId.empty?
|
213
215
|
# HTTP header 'Accept' (if needed)
|
214
|
-
if
|
216
|
+
if @merchantconfig.authenticationType.upcase == Constants::AUTH_TYPE_HTTP
|
215
217
|
# Appending headers for Get Connection
|
216
|
-
header_params['v-c-merchant-id'] =
|
218
|
+
header_params['v-c-merchant-id'] = @merchantconfig.merchantId
|
217
219
|
header_params['Date'] = gmtDateTime
|
218
|
-
header_params['Host'] =
|
220
|
+
header_params['Host'] = @merchantconfig.requestHost
|
219
221
|
header_params['Signature'] = token
|
220
222
|
if request_type == Constants::POST_REQUEST_TYPE || request_type == Constants::PUT_REQUEST_TYPE || request_type == Constants::PATCH_REQUEST_TYPE
|
221
223
|
digest = DigestGeneration.new.generateDigest(body_params)
|
@@ -223,11 +225,11 @@ module CyberSource
|
|
223
225
|
header_params['Digest'] = digest_payload
|
224
226
|
end
|
225
227
|
end
|
226
|
-
if
|
228
|
+
if @merchantconfig.authenticationType.upcase == Constants::AUTH_TYPE_JWT
|
227
229
|
token = "Bearer " + token
|
228
230
|
header_params['Authorization'] = token
|
229
231
|
end
|
230
|
-
if
|
232
|
+
if @merchantconfig.authenticationType.upcase == Constants::AUTH_TYPE_OAUTH
|
231
233
|
token = "Bearer " + token
|
232
234
|
header_params['Authorization'] = token
|
233
235
|
end
|
@@ -88,9 +88,9 @@ module CyberSource
|
|
88
88
|
# Custom attribute writer method with validation
|
89
89
|
# @param [Object] id Value to be assigned
|
90
90
|
def id=(id)
|
91
|
-
if id.nil?
|
92
|
-
fail ArgumentError, 'id cannot be nil'
|
93
|
-
end
|
91
|
+
#if id.nil?
|
92
|
+
#fail ArgumentError, 'id cannot be nil'
|
93
|
+
#end
|
94
94
|
|
95
95
|
@id = id
|
96
96
|
end
|