cybersource_rest_client 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +88 -0
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +88 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +2 -2
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +154 -0
- data/lib/cybersource_rest_client/api/reversal_api.rb +0 -65
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +2 -2
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +2 -76
- data/lib/cybersource_rest_client/api/user_management_api.rb +2 -2
- data/lib/cybersource_rest_client/api/void_api.rb +0 -65
- data/lib/cybersource_rest_client/models/{mit_void_request.rb → authorization_options.rb} +8 -8
- data/lib/cybersource_rest_client/models/bill_to.rb +467 -0
- data/lib/cybersource_rest_client/models/buyer_information.rb +278 -0
- data/lib/cybersource_rest_client/models/card_info.rb +224 -0
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +275 -0
- data/lib/cybersource_rest_client/models/der_public_key.rb +205 -0
- data/lib/cybersource_rest_client/models/detail.rb +194 -0
- data/lib/cybersource_rest_client/models/embedded_instrument_identifier.rb +319 -0
- data/lib/cybersource_rest_client/models/error.rb +202 -0
- data/lib/cybersource_rest_client/models/error_bean.rb +247 -0
- data/lib/cybersource_rest_client/models/error_field_bean.rb +205 -0
- data/lib/cybersource_rest_client/models/{inline_response_200.rb → error_links.rb} +24 -22
- data/lib/cybersource_rest_client/models/error_response.rb +174 -0
- data/lib/cybersource_rest_client/models/error_response_with_hal.rb +174 -0
- data/lib/cybersource_rest_client/models/existing_instrument_identifier_id.rb +175 -0
- data/lib/cybersource_rest_client/models/file_bean.rb +202 -0
- data/lib/cybersource_rest_client/models/file_detail.rb +278 -0
- data/lib/cybersource_rest_client/models/file_details_response.rb +194 -0
- data/lib/cybersource_rest_client/models/initiator.rb +183 -0
- data/lib/cybersource_rest_client/models/instrument_identifier.rb +295 -0
- data/lib/cybersource_rest_client/models/instrument_identifier_bank_account.rb +242 -0
- data/lib/cybersource_rest_client/models/instrument_identifier_card.rb +208 -0
- data/lib/cybersource_rest_client/models/instrument_identifier_enrollable_card.rb +202 -0
- data/lib/cybersource_rest_client/models/instrument_identifier_processing_information.rb +183 -0
- data/lib/cybersource_rest_client/models/instrument_identifier_update.rb +183 -0
- data/lib/cybersource_rest_client/models/json_web_key.rb +225 -0
- data/lib/cybersource_rest_client/models/key_parameters.rb +189 -0
- data/lib/cybersource_rest_client/models/key_result.rb +202 -0
- data/lib/cybersource_rest_client/models/link.rb +183 -0
- data/lib/cybersource_rest_client/models/links.rb +201 -0
- data/lib/cybersource_rest_client/models/merchant_information.rb +183 -0
- data/lib/cybersource_rest_client/models/merchant_initiated_transaction.rb +199 -0
- data/lib/cybersource_rest_client/models/metadata.rb +184 -0
- data/lib/cybersource_rest_client/models/model_409_link.rb +183 -0
- data/lib/cybersource_rest_client/models/model_409_links.rb +183 -0
- data/lib/cybersource_rest_client/models/payment_instrument.rb +331 -0
- data/lib/cybersource_rest_client/models/payment_instrument_bank_account.rb +218 -0
- data/lib/cybersource_rest_client/models/payment_instrument_card.rb +403 -0
- data/lib/cybersource_rest_client/models/payment_instrument_for_instrument_identifier_links.rb +219 -0
- data/lib/cybersource_rest_client/models/payment_instruments_array.rb +175 -0
- data/lib/cybersource_rest_client/models/payment_instruments_for_instrument_identifier.rb +276 -0
- data/lib/cybersource_rest_client/models/personal_identification.rb +237 -0
- data/lib/cybersource_rest_client/models/personal_identification_array.rb +174 -0
- data/lib/cybersource_rest_client/models/pi_for_ii_link_first.rb +184 -0
- data/lib/cybersource_rest_client/models/pi_for_ii_link_last.rb +184 -0
- data/lib/cybersource_rest_client/models/pi_for_ii_link_next.rb +184 -0
- data/lib/cybersource_rest_client/models/pi_for_ii_link_prev.rb +184 -0
- data/lib/cybersource_rest_client/models/pi_for_ii_link_self.rb +184 -0
- data/lib/cybersource_rest_client/models/processing_information.rb +195 -0
- 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_payments_captures_post201_response_order_information_amount_details.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_error_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +15 -15
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +13 -13
- 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_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +7 -7
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +1 -1
- 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_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +9 -9
- 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 +2 -2
- 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_customer.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 +2 -2
- 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_processor_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_refund_post400_response.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +4 -4
- 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_reversals_post400_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 +0 -6
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +3 -3
- 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/pts_v2_payouts_post400_response.rb +0 -24
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_point_of_sale_information_emv.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +2 -2
- 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 +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +10 -10
- 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 +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +8 -8
- 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 +7 -7
- 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_tax_details.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +62 -12
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +2 -17
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +8 -8
- 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 +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +7 -7
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +9 -9
- 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 +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +18 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +10 -10
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +1 -1
- 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 +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +4 -4
- 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 +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +2 -2
- 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_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +2 -26
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +10 -10
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/{mit_reversal_request.rb → request.rb} +19 -28
- data/lib/cybersource_rest_client/models/response_status.rb +225 -0
- data/lib/cybersource_rest_client/models/response_status_details.rb +194 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +285 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +324 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +294 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information.rb +429 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details.rb +199 -0
- 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 +10 -1
- data/lib/cybersource_rest_client/models/{risk_v1_decisions_post201_response_risk_information_payment_information.rb → risk_v1_decisions_post201_response_payment_information.rb} +6 -6
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information.rb +15 -15
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_info_codes.rb +8 -8
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +34 -34
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_profile.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_providers_provider_name.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_score.rb +2 -2
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel.rb +210 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_actual_final_destination.rb +274 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_first_departure.rb +274 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_first_destination.rb +274 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_last_destination.rb +274 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity.rb +1 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity_morphing.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +214 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb +194 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +267 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +192 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +264 -0
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +264 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +196 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_client_reference_information.rb +208 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb +552 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +285 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information_raw_data.rb +209 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_payment_batch_summaries.rb → riskv1authentications_merchant_information.rb} +18 -101
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +258 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +496 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +371 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_ship_to.rb +434 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +192 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +291 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +291 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_recurring_payment_information.rb +235 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information.rb +183 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history.rb +262 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history_account_history.rb +209 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history_customer_account.rb +279 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information.rb +206 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb +259 -0
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_passengers.rb +224 -0
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +28 -3
- 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 +5 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +2 -17
- 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 +10 -10
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +5 -22
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_passenger.rb +30 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +2 -17
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +4 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +29 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information_profile.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +26 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +31 -6
- data/lib/cybersource_rest_client/models/self_link_bean.rb +192 -0
- data/lib/cybersource_rest_client/models/tokenize_parameters.rb +198 -0
- data/lib/cybersource_rest_client/models/tokenize_request.rb +1 -1
- data/lib/cybersource_rest_client/models/tokenize_result.rb +255 -0
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information_applications.rb +6 -6
- 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_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_merchant_information_merchant_descriptor.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_bill_to.rb +9 -9
- 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_order_information_shipping_details.rb +2 -17
- 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_card.rb +5 -5
- 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 +1 -1
- 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_processor_information.rb +3 -3
- 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_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
- data/lib/cybersource_rest_client.rb +96 -8
- metadata +100 -8
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +0 -135
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cybersource_rest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CyberSource
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -309,11 +309,13 @@ files:
|
|
309
309
|
- lib/cybersource_rest_client/api/conversion_details_api.rb
|
310
310
|
- lib/cybersource_rest_client/api/credit_api.rb
|
311
311
|
- lib/cybersource_rest_client/api/decision_manager_api.rb
|
312
|
+
- lib/cybersource_rest_client/api/download_dtd_api.rb
|
313
|
+
- lib/cybersource_rest_client/api/download_xsd_api.rb
|
312
314
|
- lib/cybersource_rest_client/api/instrument_identifier_api.rb
|
313
315
|
- lib/cybersource_rest_client/api/key_generation_api.rb
|
314
316
|
- lib/cybersource_rest_client/api/net_fundings_api.rb
|
315
317
|
- lib/cybersource_rest_client/api/notification_of_changes_api.rb
|
316
|
-
- lib/cybersource_rest_client/api/
|
318
|
+
- lib/cybersource_rest_client/api/payer_authentication_api.rb
|
317
319
|
- lib/cybersource_rest_client/api/payment_instrument_api.rb
|
318
320
|
- lib/cybersource_rest_client/api/payments_api.rb
|
319
321
|
- lib/cybersource_rest_client/api/payouts_api.rb
|
@@ -335,21 +337,38 @@ files:
|
|
335
337
|
- lib/cybersource_rest_client/api_error.rb
|
336
338
|
- lib/cybersource_rest_client/configuration.rb
|
337
339
|
- lib/cybersource_rest_client/models/auth_reversal_request.rb
|
340
|
+
- lib/cybersource_rest_client/models/authorization_options.rb
|
341
|
+
- lib/cybersource_rest_client/models/bill_to.rb
|
342
|
+
- lib/cybersource_rest_client/models/buyer_information.rb
|
338
343
|
- lib/cybersource_rest_client/models/capture_payment_request.rb
|
344
|
+
- lib/cybersource_rest_client/models/card_info.rb
|
345
|
+
- lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb
|
339
346
|
- lib/cybersource_rest_client/models/create_credit_request.rb
|
340
347
|
- lib/cybersource_rest_client/models/create_decision_manager_case_request.rb
|
341
348
|
- lib/cybersource_rest_client/models/create_instrument_identifier_request.rb
|
342
349
|
- lib/cybersource_rest_client/models/create_payment_instrument_request.rb
|
343
350
|
- lib/cybersource_rest_client/models/create_payment_request.rb
|
344
351
|
- lib/cybersource_rest_client/models/create_search_request.rb
|
352
|
+
- lib/cybersource_rest_client/models/der_public_key.rb
|
353
|
+
- lib/cybersource_rest_client/models/detail.rb
|
354
|
+
- lib/cybersource_rest_client/models/embedded_instrument_identifier.rb
|
355
|
+
- lib/cybersource_rest_client/models/error.rb
|
356
|
+
- lib/cybersource_rest_client/models/error_bean.rb
|
357
|
+
- lib/cybersource_rest_client/models/error_field_bean.rb
|
358
|
+
- lib/cybersource_rest_client/models/error_links.rb
|
359
|
+
- lib/cybersource_rest_client/models/error_response.rb
|
360
|
+
- lib/cybersource_rest_client/models/error_response_with_hal.rb
|
361
|
+
- lib/cybersource_rest_client/models/existing_instrument_identifier_id.rb
|
362
|
+
- lib/cybersource_rest_client/models/file_bean.rb
|
363
|
+
- lib/cybersource_rest_client/models/file_detail.rb
|
364
|
+
- lib/cybersource_rest_client/models/file_details_response.rb
|
345
365
|
- lib/cybersource_rest_client/models/flex_v1_keys_post200_response.rb
|
346
366
|
- lib/cybersource_rest_client/models/flex_v1_keys_post200_response_der.rb
|
347
367
|
- lib/cybersource_rest_client/models/flex_v1_keys_post200_response_jwk.rb
|
348
368
|
- lib/cybersource_rest_client/models/flex_v1_tokens_post200_response.rb
|
349
369
|
- lib/cybersource_rest_client/models/flexv1tokens_card_info.rb
|
350
370
|
- lib/cybersource_rest_client/models/generate_public_key_request.rb
|
351
|
-
- lib/cybersource_rest_client/models/
|
352
|
-
- lib/cybersource_rest_client/models/inline_response_200_payment_batch_summaries.rb
|
371
|
+
- lib/cybersource_rest_client/models/initiator.rb
|
353
372
|
- lib/cybersource_rest_client/models/inline_response_400.rb
|
354
373
|
- lib/cybersource_rest_client/models/inline_response_400_1.rb
|
355
374
|
- lib/cybersource_rest_client/models/inline_response_400_fields.rb
|
@@ -358,9 +377,37 @@ files:
|
|
358
377
|
- lib/cybersource_rest_client/models/inline_response_default__links_next.rb
|
359
378
|
- lib/cybersource_rest_client/models/inline_response_default_response_status.rb
|
360
379
|
- lib/cybersource_rest_client/models/inline_response_default_response_status_details.rb
|
361
|
-
- lib/cybersource_rest_client/models/
|
362
|
-
- lib/cybersource_rest_client/models/
|
380
|
+
- lib/cybersource_rest_client/models/instrument_identifier.rb
|
381
|
+
- lib/cybersource_rest_client/models/instrument_identifier_bank_account.rb
|
382
|
+
- lib/cybersource_rest_client/models/instrument_identifier_card.rb
|
383
|
+
- lib/cybersource_rest_client/models/instrument_identifier_enrollable_card.rb
|
384
|
+
- lib/cybersource_rest_client/models/instrument_identifier_processing_information.rb
|
385
|
+
- lib/cybersource_rest_client/models/instrument_identifier_update.rb
|
386
|
+
- lib/cybersource_rest_client/models/json_web_key.rb
|
387
|
+
- lib/cybersource_rest_client/models/key_parameters.rb
|
388
|
+
- lib/cybersource_rest_client/models/key_result.rb
|
389
|
+
- lib/cybersource_rest_client/models/link.rb
|
390
|
+
- lib/cybersource_rest_client/models/links.rb
|
391
|
+
- lib/cybersource_rest_client/models/merchant_information.rb
|
392
|
+
- lib/cybersource_rest_client/models/merchant_initiated_transaction.rb
|
393
|
+
- lib/cybersource_rest_client/models/metadata.rb
|
394
|
+
- lib/cybersource_rest_client/models/model_409_link.rb
|
395
|
+
- lib/cybersource_rest_client/models/model_409_links.rb
|
363
396
|
- lib/cybersource_rest_client/models/oct_create_payment_request.rb
|
397
|
+
- lib/cybersource_rest_client/models/payment_instrument.rb
|
398
|
+
- lib/cybersource_rest_client/models/payment_instrument_bank_account.rb
|
399
|
+
- lib/cybersource_rest_client/models/payment_instrument_card.rb
|
400
|
+
- lib/cybersource_rest_client/models/payment_instrument_for_instrument_identifier_links.rb
|
401
|
+
- lib/cybersource_rest_client/models/payment_instruments_array.rb
|
402
|
+
- lib/cybersource_rest_client/models/payment_instruments_for_instrument_identifier.rb
|
403
|
+
- lib/cybersource_rest_client/models/personal_identification.rb
|
404
|
+
- lib/cybersource_rest_client/models/personal_identification_array.rb
|
405
|
+
- lib/cybersource_rest_client/models/pi_for_ii_link_first.rb
|
406
|
+
- lib/cybersource_rest_client/models/pi_for_ii_link_last.rb
|
407
|
+
- lib/cybersource_rest_client/models/pi_for_ii_link_next.rb
|
408
|
+
- lib/cybersource_rest_client/models/pi_for_ii_link_prev.rb
|
409
|
+
- lib/cybersource_rest_client/models/pi_for_ii_link_self.rb
|
410
|
+
- lib/cybersource_rest_client/models/processing_information.rb
|
364
411
|
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response.rb
|
365
412
|
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links.rb
|
366
413
|
- lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response__links_self.rb
|
@@ -566,21 +613,63 @@ files:
|
|
566
613
|
- lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb
|
567
614
|
- lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb
|
568
615
|
- lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb
|
616
|
+
- lib/cybersource_rest_client/models/request.rb
|
569
617
|
- lib/cybersource_rest_client/models/request_body.rb
|
570
618
|
- lib/cybersource_rest_client/models/request_body_1.rb
|
619
|
+
- lib/cybersource_rest_client/models/response_status.rb
|
620
|
+
- lib/cybersource_rest_client/models/response_status_details.rb
|
621
|
+
- lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb
|
622
|
+
- lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb
|
623
|
+
- lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb
|
624
|
+
- lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information.rb
|
625
|
+
- lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information.rb
|
626
|
+
- lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details.rb
|
627
|
+
- lib/cybersource_rest_client/models/risk_v1_authentications_post400_response.rb
|
571
628
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb
|
629
|
+
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb
|
572
630
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information.rb
|
573
631
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_info_codes.rb
|
574
632
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb
|
575
|
-
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_payment_information.rb
|
576
633
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_profile.rb
|
577
634
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_providers.rb
|
578
635
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_providers_provider_name.rb
|
579
636
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_rules.rb
|
580
637
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_score.rb
|
638
|
+
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel.rb
|
639
|
+
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_actual_final_destination.rb
|
640
|
+
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_first_departure.rb
|
641
|
+
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_first_destination.rb
|
642
|
+
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_travel_last_destination.rb
|
581
643
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity.rb
|
582
644
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_velocity_morphing.rb
|
583
645
|
- lib/cybersource_rest_client/models/risk_v1_decisions_post400_response.rb
|
646
|
+
- lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb
|
647
|
+
- lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb
|
648
|
+
- lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb
|
649
|
+
- lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb
|
650
|
+
- lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb
|
651
|
+
- lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb
|
652
|
+
- lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb
|
653
|
+
- lib/cybersource_rest_client/models/riskv1authentications_client_reference_information.rb
|
654
|
+
- lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb
|
655
|
+
- lib/cybersource_rest_client/models/riskv1authentications_device_information.rb
|
656
|
+
- lib/cybersource_rest_client/models/riskv1authentications_device_information_raw_data.rb
|
657
|
+
- lib/cybersource_rest_client/models/riskv1authentications_merchant_information.rb
|
658
|
+
- lib/cybersource_rest_client/models/riskv1authentications_order_information.rb
|
659
|
+
- lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb
|
660
|
+
- lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb
|
661
|
+
- lib/cybersource_rest_client/models/riskv1authentications_order_information_ship_to.rb
|
662
|
+
- lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb
|
663
|
+
- lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb
|
664
|
+
- lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb
|
665
|
+
- lib/cybersource_rest_client/models/riskv1authentications_recurring_payment_information.rb
|
666
|
+
- lib/cybersource_rest_client/models/riskv1authentications_risk_information.rb
|
667
|
+
- lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history.rb
|
668
|
+
- lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history_account_history.rb
|
669
|
+
- lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history_customer_account.rb
|
670
|
+
- lib/cybersource_rest_client/models/riskv1authentications_travel_information.rb
|
671
|
+
- lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb
|
672
|
+
- lib/cybersource_rest_client/models/riskv1authentications_travel_information_passengers.rb
|
584
673
|
- lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb
|
585
674
|
- lib/cybersource_rest_client/models/riskv1decisions_card_verification.rb
|
586
675
|
- lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb
|
@@ -602,6 +691,7 @@ files:
|
|
602
691
|
- lib/cybersource_rest_client/models/riskv1decisions_risk_information_profile.rb
|
603
692
|
- lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb
|
604
693
|
- lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb
|
694
|
+
- lib/cybersource_rest_client/models/self_link_bean.rb
|
605
695
|
- lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response.rb
|
606
696
|
- lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response__links.rb
|
607
697
|
- lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_delete409_response__links_payment_instruments.rb
|
@@ -638,7 +728,9 @@ files:
|
|
638
728
|
- lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_bill_to.rb
|
639
729
|
- lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_card.rb
|
640
730
|
- lib/cybersource_rest_client/models/tmsv1instrumentidentifiers_details.rb
|
731
|
+
- lib/cybersource_rest_client/models/tokenize_parameters.rb
|
641
732
|
- lib/cybersource_rest_client/models/tokenize_request.rb
|
733
|
+
- lib/cybersource_rest_client/models/tokenize_result.rb
|
642
734
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb
|
643
735
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response__links.rb
|
644
736
|
- lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb
|
@@ -1,135 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#CyberSource Merged Spec
|
3
|
-
|
4
|
-
#All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
|
5
|
-
|
6
|
-
OpenAPI spec version: 0.0.1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.2.3
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'uri'
|
14
|
-
|
15
|
-
module CyberSource
|
16
|
-
class PaymentBatchSummariesApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default, config)
|
20
|
-
@api_client = api_client
|
21
|
-
@api_client.set_configuration(config)
|
22
|
-
end
|
23
|
-
# Get payment batch summary data
|
24
|
-
# Scope can be either account/merchant or reseller.
|
25
|
-
# @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
26
|
-
# @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
27
|
-
# @param [Hash] opts the optional parameters
|
28
|
-
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
29
|
-
# @option opts [String] :roll_up Conditional - RollUp for data for DAY/WEEK/MONTH. Required while getting breakdown data for a Merchant
|
30
|
-
# @option opts [String] :breakdown Conditional - Breakdown on account_rollup/allMerchants/selectedMerchant. Required while getting breakdown data for a Merchant.
|
31
|
-
# @option opts [Integer] :start_day_of_week Optional - Start day of week to breakdown data for weeks in a month
|
32
|
-
# @return [InlineResponse200]
|
33
|
-
def get_payment_batch_summary(start_time, end_time, opts = {})
|
34
|
-
data, status_code, headers = get_payment_batch_summary_with_http_info(start_time, end_time, opts)
|
35
|
-
return data, status_code, headers
|
36
|
-
end
|
37
|
-
|
38
|
-
# Get payment batch summary data
|
39
|
-
# Scope can be either account/merchant or reseller.
|
40
|
-
# @param start_time Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
41
|
-
# @param end_time Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 **Example date format:** - yyyy-MM-dd'T'HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z)
|
42
|
-
# @param [Hash] opts the optional parameters
|
43
|
-
# @option opts [String] :organization_id Valid Cybersource Organization Id
|
44
|
-
# @option opts [String] :roll_up Conditional - RollUp for data for DAY/WEEK/MONTH. Required while getting breakdown data for a Merchant
|
45
|
-
# @option opts [String] :breakdown Conditional - Breakdown on account_rollup/allMerchants/selectedMerchant. Required while getting breakdown data for a Merchant.
|
46
|
-
# @option opts [Integer] :start_day_of_week Optional - Start day of week to breakdown data for weeks in a month
|
47
|
-
# @return [Array<(InlineResponse200, Fixnum, Hash)>] InlineResponse200 data, response status code and response headers
|
48
|
-
def get_payment_batch_summary_with_http_info(start_time, end_time, opts = {})
|
49
|
-
|
50
|
-
if @api_client.config.debugging
|
51
|
-
begin
|
52
|
-
raise
|
53
|
-
@api_client.config.logger.debug 'Calling API: PaymentBatchSummariesApi.get_payment_batch_summary ...'
|
54
|
-
rescue
|
55
|
-
puts 'Cannot write to log'
|
56
|
-
end
|
57
|
-
end
|
58
|
-
# verify the required parameter 'start_time' is set
|
59
|
-
if @api_client.config.client_side_validation && start_time.nil?
|
60
|
-
fail ArgumentError, "Missing the required parameter 'start_time' when calling PaymentBatchSummariesApi.get_payment_batch_summary"
|
61
|
-
end
|
62
|
-
# verify the required parameter 'end_time' is set
|
63
|
-
if @api_client.config.client_side_validation && end_time.nil?
|
64
|
-
fail ArgumentError, "Missing the required parameter 'end_time' when calling PaymentBatchSummariesApi.get_payment_batch_summary"
|
65
|
-
end
|
66
|
-
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length > 32
|
67
|
-
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling PaymentBatchSummariesApi.get_payment_batch_summary, the character length must be smaller than or equal to 32.'
|
68
|
-
end
|
69
|
-
|
70
|
-
if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'].to_s.length < 1
|
71
|
-
fail ArgumentError, 'invalid value for "opts[:"organization_id"]" when calling PaymentBatchSummariesApi.get_payment_batch_summary, the character length must be great than or equal to 1.'
|
72
|
-
end
|
73
|
-
|
74
|
-
#if @api_client.config.client_side_validation && !opts[:'organization_id'].nil? && opts[:'organization_id'] !~ Regexp.new(/[a-zA-Z0-9-_]+/)
|
75
|
-
#fail ArgumentError, "invalid value for 'opts[:\"organization_id\"]' when calling PaymentBatchSummariesApi.get_payment_batch_summary, must conform to the pattern /[a-zA-Z0-9-_]+/."
|
76
|
-
#end
|
77
|
-
|
78
|
-
if @api_client.config.client_side_validation && opts[:'roll_up'] && !['day', 'week', 'month'].include?(opts[:'roll_up'])
|
79
|
-
fail ArgumentError, 'invalid value for "roll_up", must be one of day, week, month'
|
80
|
-
end
|
81
|
-
if @api_client.config.client_side_validation && opts[:'breakdown'] && !['account_rollup', 'all_merchant', 'selected_merchant'].include?(opts[:'breakdown'])
|
82
|
-
fail ArgumentError, 'invalid value for "breakdown", must be one of account_rollup, all_merchant, selected_merchant'
|
83
|
-
end
|
84
|
-
if @api_client.config.client_side_validation && !opts[:'start_day_of_week'].nil? && opts[:'start_day_of_week'] > 7
|
85
|
-
fail ArgumentError, 'invalid value for "opts[:"start_day_of_week"]" when calling PaymentBatchSummariesApi.get_payment_batch_summary, must be smaller than or equal to 7.'
|
86
|
-
end
|
87
|
-
|
88
|
-
if @api_client.config.client_side_validation && !opts[:'start_day_of_week'].nil? && opts[:'start_day_of_week'] < 1
|
89
|
-
fail ArgumentError, 'invalid value for "opts[:"start_day_of_week"]" when calling PaymentBatchSummariesApi.get_payment_batch_summary, must be greater than or equal to 1.'
|
90
|
-
end
|
91
|
-
|
92
|
-
# resource path
|
93
|
-
local_var_path = 'reporting/v3/payment-batch-summaries'
|
94
|
-
|
95
|
-
# query parameters
|
96
|
-
query_params = {}
|
97
|
-
query_params[:'startTime'] = start_time
|
98
|
-
query_params[:'endTime'] = end_time
|
99
|
-
query_params[:'organizationId'] = opts[:'organization_id'] if !opts[:'organization_id'].nil?
|
100
|
-
query_params[:'rollUp'] = opts[:'roll_up'] if !opts[:'roll_up'].nil?
|
101
|
-
query_params[:'breakdown'] = opts[:'breakdown'] if !opts[:'breakdown'].nil?
|
102
|
-
query_params[:'startDayOfWeek'] = opts[:'start_day_of_week'] if !opts[:'start_day_of_week'].nil?
|
103
|
-
|
104
|
-
# header parameters
|
105
|
-
header_params = {}
|
106
|
-
# HTTP header 'Accept' (if needed)
|
107
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/hal+json'])
|
108
|
-
# HTTP header 'Content-Type'
|
109
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
110
|
-
|
111
|
-
# form parameters
|
112
|
-
form_params = {}
|
113
|
-
|
114
|
-
# http body (model)
|
115
|
-
post_body = nil
|
116
|
-
auth_names = []
|
117
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
118
|
-
:header_params => header_params,
|
119
|
-
:query_params => query_params,
|
120
|
-
:form_params => form_params,
|
121
|
-
:body => post_body,
|
122
|
-
:auth_names => auth_names,
|
123
|
-
:return_type => 'InlineResponse200')
|
124
|
-
if @api_client.config.debugging
|
125
|
-
begin
|
126
|
-
raise
|
127
|
-
@api_client.config.logger.debug "API called: PaymentBatchSummariesApi#get_payment_batch_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
128
|
-
rescue
|
129
|
-
puts 'Cannot write to log'
|
130
|
-
end
|
131
|
-
end
|
132
|
-
return data, status_code, headers
|
133
|
-
end
|
134
|
-
end
|
135
|
-
end
|