cybersource_rest_client 0.0.26 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb +5 -1
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +11 -2
- data/lib/AuthenticationSDK/util/Constants.rb +3 -1
- data/lib/cybersource_rest_client.rb +11 -11
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +3 -3
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +92 -5
- data/lib/cybersource_rest_client/api_client.rb +3 -3
- data/lib/cybersource_rest_client/configuration.rb +2 -2
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_adhoc_report_request.rb +0 -36
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -36
- data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +13 -4
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +0 -54
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information_header_style.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +0 -36
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +0 -54
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicingv2invoices_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +0 -9
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +0 -18
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -27
- data/lib/cybersource_rest_client/models/invoicingv2invoicesid_invoice_information.rb +0 -9
- data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -10
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +0 -18
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/payer_auth_setup_request.rb +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer.rb → payment_instrument_list.rb} +3 -3
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__embedded.rb → payment_instrument_list__embedded.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links.rb → payment_instrument_list__links.rb} +6 -6
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_first.rb → payment_instrument_list__links_first.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_last.rb → payment_instrument_list__links_last.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_next.rb → payment_instrument_list__links_next.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_prev.rb → payment_instrument_list__links_prev.rb} +1 -1
- data/lib/cybersource_rest_client/models/{payment_instrument_list_for_customer__links_self.rb → payment_instrument_list__links_self.rb} +1 -1
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_customer_request.rb +0 -18
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +0 -18
- data/lib/cybersource_rest_client/models/{riskv1addressverifications_client_reference_information.rb → post_instrument_identifier_enrollment_request.rb} +105 -52
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +0 -18
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response_transaction_batches.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_id_get200_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_payment_information_account_features.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_point_of_sale_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_processor_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +0 -189
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information_ivr.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -198
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +0 -153
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -55
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information_emv.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +17 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +17 -145
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_consumer_authentication_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_customer.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +0 -108
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_routing.rb +3 -30
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_info_codes.rb +21 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_ip_address.rb +0 -63
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_profile.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_rules.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_score.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_actual_final_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_departure.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_first_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_travel_last_destination.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information_velocity_morphing.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_customer.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_token_information_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_authorization_information.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +0 -54
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +0 -27
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_processor_information.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +0 -36
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +0 -45
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +1 -109
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_electronic_benefits_transfer.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_japan_payment_options.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_acquirer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information_partner.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +34 -371
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +0 -54
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +11 -100
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information_raw_data.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_health_care_information_amount_details.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -90
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +0 -54
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_fee_descriptor.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +0 -189
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_currency_conversion.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +0 -162
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -72
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details_transaction_advice_addendum.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +0 -198
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_passenger.rb +0 -72
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_shipping_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -118
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_legacy_token.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -82
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -127
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +7 -43
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_electronic_benefits_transfer.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_japan_payment_options.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_purchase_options.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_promotion_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb +24 -22
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_profile.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +14 -13
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_agency.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental.rb +0 -333
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_rental_address.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_return_address.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_auto_rental_tax_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -351
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline.rb +0 -261
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_legs.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ticket_issuer.rb +0 -63
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_client_reference_information_partner.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_travel_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_device_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -207
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +0 -162
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +0 -45
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information_emv.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +1 -64
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +0 -144
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +1 -82
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -64
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information_partner.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_point_of_sale_information_emv.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -46
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payouts_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +0 -27
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +0 -81
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -37
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information_payouts_options.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +0 -99
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information.rb +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payouts_sender_information_account.rb +0 -27
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_fee_and_funding_details.rb +0 -9
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_others.rb +0 -9
- data/lib/cybersource_rest_client/models/reporting_v3_purchase_refund_details_get200_response_settlement_statuses.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb +0 -18
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +0 -45
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_bar_code.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information_standard_address.rb +0 -90
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +0 -90
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +10 -10
- data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response_consumer_authentication_information.rb +0 -18
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/{riskv1authenticationsetups_client_reference_information.rb → risk_v1_decisions_post201_response_client_reference_information.rb} +30 -23
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +0 -171
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +0 -45
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +1 -10
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +0 -72
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +0 -72
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +0 -50
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -37
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +17 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +0 -81
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -37
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -37
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +18 -18
- data/lib/cybersource_rest_client/models/{vasv2tax_client_reference_information_partner.rb → riskv1decisions_client_reference_information_partner.rb} +1 -19
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -271
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information_strong_authentication.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +11 -100
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_defined_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +0 -90
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +0 -81
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -37
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -28
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_avs.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_passengers.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisionsidmarking_risk_information_marking_details.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_device_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information_weights.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to_company.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +0 -99
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +0 -54
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_bank.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_risk_information_marking_details.rb +0 -27
- data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +0 -54
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +0 -45
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_issuer.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bill_to.rb +0 -99
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_issued_by.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +0 -45
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +0 -99
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tmsv2customers_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tmsv2customers_object_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +10 -28
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +0 -54
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +0 -126
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +0 -90
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_shipping_details.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_account_features.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -73
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +18 -20
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_japan_payment_options.rb +0 -36
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +0 -36
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +0 -90
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_multi_processor_routing.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_processor.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information_rules.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_sender_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_ship_to.rb +0 -45
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +1 -10
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -19
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +0 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +0 -9
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
- data/lib/cybersource_rest_client/models/validate_request.rb +1 -1
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +0 -9
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information.rb +0 -27
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_jurisdiction.rb +6 -72
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_line_items.rb +0 -27
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_order_information_tax_details.rb +0 -18
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +0 -9
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -10
- data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_bill_to.rb +0 -54
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_invoice_details.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +0 -99
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +0 -63
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_shipping_details.rb +0 -36
- data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +0 -18
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information_partner.rb +0 -18
- data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
- metadata +105 -86
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32a0f9e15f44a7a0cde44ef2b16ec67b53ecc3dc3d6aada5c9bbb59f32bf67e8
|
4
|
+
data.tar.gz: 9f418fc9413970f6c1f1d17c93e360d6062eaa60c4074549fb9919a2dbfa0d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf413a85aac677e14ca3dd6e08d1059f986285bf87c8192022802ec4a52041f7f176cd588ac3621b73a2a5f6a30081d8ba7f0ceb7ab37ef38ab6c0602c4c35ee
|
7
|
+
data.tar.gz: 92b1ccda945114fa97ae9bdc2ed7d8990dfc74692d13eb8d95eee88a72a072b1a8ad02769883be4268d96d57f55aa6a245b3c7797ae84c295d2e97d7288d1ebd
|
@@ -30,7 +30,11 @@ require 'openssl'
|
|
30
30
|
digest_payload = Constants::SHA256 + digest
|
31
31
|
signatureString << Constants::DIGEST + ': ' + digest_payload + "\n"
|
32
32
|
end
|
33
|
-
|
33
|
+
if merchantconfig_obj.useMetaKey
|
34
|
+
signatureString << Constants::V_C_MERCHANT_ID + ': ' + merchantconfig_obj.portfolioID
|
35
|
+
else
|
36
|
+
signatureString << Constants::V_C_MERCHANT_ID + ': ' + merchantconfig_obj.merchantId
|
37
|
+
end
|
34
38
|
encodedSignatureString = signatureString.force_encoding(Encoding::UTF_8)
|
35
39
|
decodedKey = Base64.decode64(merchantSecretKey)
|
36
40
|
base64EncodedSignature = Base64.strict_encode64(OpenSSL::HMAC.digest('sha256', decodedKey, encodedSignatureString))
|
@@ -26,6 +26,8 @@ public
|
|
26
26
|
@keyAlias = cybsPropertyObj['keyAlias']
|
27
27
|
@keyPass = cybsPropertyObj['keyPass']
|
28
28
|
@keyFilename = cybsPropertyObj['keyFilename']
|
29
|
+
@useMetaKey = cybsPropertyObj['useMetaKey']
|
30
|
+
@portfolioID = cybsPropertyObj['portfolioID']
|
29
31
|
@logFilename = cybsPropertyObj['logFilename']
|
30
32
|
@solutionId = cybsPropertyObj['solutionId']
|
31
33
|
validateMerchantDetails()
|
@@ -36,12 +38,12 @@ public
|
|
36
38
|
logmessage=''
|
37
39
|
if @enableLog.to_s.empty?
|
38
40
|
@enableLog = true
|
39
|
-
elsif @enableLog.instance_of?
|
41
|
+
elsif @enableLog.instance_of? Integer
|
40
42
|
@enableLog = @enableLog.to_s
|
41
43
|
end
|
42
44
|
if @logSize.to_s.empty?
|
43
45
|
@logSize = Constants::DEFAULT_LOG_SIZE
|
44
|
-
elsif !@logSize.instance_of?
|
46
|
+
elsif !@logSize.instance_of? Integer
|
45
47
|
@logSize=@logSize.to_i
|
46
48
|
end
|
47
49
|
if @logDirectory.to_s.empty? || !Dir.exist?(@logDirectory)
|
@@ -140,6 +142,11 @@ public
|
|
140
142
|
@merchantSecretKey=@merchantSecretKey.to_s
|
141
143
|
end
|
142
144
|
end
|
145
|
+
if @useMetaKey && @portfolioID.to_s.empty?
|
146
|
+
err = raise StandardError.new(Constants::ERROR_PREFIX+ Constants::PORTFOLIO_ID_MANDATORY)
|
147
|
+
ApiException.new.apiexception(err,log_obj)
|
148
|
+
end
|
149
|
+
|
143
150
|
if !@proxyAddress.instance_of? String
|
144
151
|
@proxyAddress=@proxyAddress.to_s
|
145
152
|
end
|
@@ -174,6 +181,8 @@ public
|
|
174
181
|
attr_accessor :keyAlias
|
175
182
|
attr_accessor :keyPass
|
176
183
|
attr_accessor :keyFilename
|
184
|
+
attr_accessor :useMetaKey
|
185
|
+
attr_accessor :portfolioID
|
177
186
|
attr_accessor :requestJsonData
|
178
187
|
attr_accessor :requestUrl
|
179
188
|
attr_accessor :requestType
|
@@ -86,7 +86,7 @@
|
|
86
86
|
|
87
87
|
# constants for fall back logic
|
88
88
|
|
89
|
-
DEFAULT_LOG_SIZE =
|
89
|
+
DEFAULT_LOG_SIZE = 10485760 unless const_defined?(:DEFAULT_LOG_SIZE)
|
90
90
|
|
91
91
|
DEFAULT_PROXY_ADDRESS = 'userproxy.visa.com' unless const_defined?(:DEFAULT_PROXY_ADDRESS)
|
92
92
|
|
@@ -117,6 +117,8 @@
|
|
117
117
|
MERCHANT_KEY_ID_MANDATORY = 'MerchantKeyId is Mandatory' unless const_defined?(:MERCHANT_KEY_ID_MANDATORY)
|
118
118
|
|
119
119
|
MERCHANT_SECRET_KEY_MANDATORY = 'MerchantSecretKey is Mandatory' unless const_defined?(:MERCHANT_SECRET_KEY_MANDATORY)
|
120
|
+
|
121
|
+
PORTFOLIO_ID_MANDATORY = 'PortfolioID is Mandatory' unless const_defined?(:PORTFOLIO_ID_MANDATORY)
|
120
122
|
|
121
123
|
KEY_PASS_NULL = 'keyPass is empty, Assigining merchantID value' unless const_defined?(:KEY_PASS_NULL)
|
122
124
|
|
@@ -125,17 +125,18 @@ require 'cybersource_rest_client/models/patch_customer_shipping_address_request'
|
|
125
125
|
require 'cybersource_rest_client/models/patch_instrument_identifier_request'
|
126
126
|
require 'cybersource_rest_client/models/patch_payment_instrument_request'
|
127
127
|
require 'cybersource_rest_client/models/payer_auth_setup_request'
|
128
|
-
require 'cybersource_rest_client/models/
|
129
|
-
require 'cybersource_rest_client/models/
|
130
|
-
require 'cybersource_rest_client/models/
|
131
|
-
require 'cybersource_rest_client/models/
|
132
|
-
require 'cybersource_rest_client/models/
|
133
|
-
require 'cybersource_rest_client/models/
|
134
|
-
require 'cybersource_rest_client/models/
|
135
|
-
require 'cybersource_rest_client/models/
|
128
|
+
require 'cybersource_rest_client/models/payment_instrument_list'
|
129
|
+
require 'cybersource_rest_client/models/payment_instrument_list__embedded'
|
130
|
+
require 'cybersource_rest_client/models/payment_instrument_list__links'
|
131
|
+
require 'cybersource_rest_client/models/payment_instrument_list__links_first'
|
132
|
+
require 'cybersource_rest_client/models/payment_instrument_list__links_last'
|
133
|
+
require 'cybersource_rest_client/models/payment_instrument_list__links_next'
|
134
|
+
require 'cybersource_rest_client/models/payment_instrument_list__links_prev'
|
135
|
+
require 'cybersource_rest_client/models/payment_instrument_list__links_self'
|
136
136
|
require 'cybersource_rest_client/models/post_customer_payment_instrument_request'
|
137
137
|
require 'cybersource_rest_client/models/post_customer_request'
|
138
138
|
require 'cybersource_rest_client/models/post_customer_shipping_address_request'
|
139
|
+
require 'cybersource_rest_client/models/post_instrument_identifier_enrollment_request'
|
139
140
|
require 'cybersource_rest_client/models/post_instrument_identifier_request'
|
140
141
|
require 'cybersource_rest_client/models/post_payment_instrument_request'
|
141
142
|
require 'cybersource_rest_client/models/predefined_subscription_request_bean'
|
@@ -457,6 +458,7 @@ require 'cybersource_rest_client/models/risk_v1_authentications_post201_response
|
|
457
458
|
require 'cybersource_rest_client/models/risk_v1_authentications_post400_response'
|
458
459
|
require 'cybersource_rest_client/models/risk_v1_authentications_post400_response_1'
|
459
460
|
require 'cybersource_rest_client/models/risk_v1_decisions_post201_response'
|
461
|
+
require 'cybersource_rest_client/models/risk_v1_decisions_post201_response_client_reference_information'
|
460
462
|
require 'cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information'
|
461
463
|
require 'cybersource_rest_client/models/risk_v1_decisions_post201_response_error_information'
|
462
464
|
require 'cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information'
|
@@ -471,7 +473,6 @@ require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post
|
|
471
473
|
require 'cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_watch_list_matches'
|
472
474
|
require 'cybersource_rest_client/models/risk_v1_update_post201_response'
|
473
475
|
require 'cybersource_rest_client/models/riskv1addressverifications_buyer_information'
|
474
|
-
require 'cybersource_rest_client/models/riskv1addressverifications_client_reference_information'
|
475
476
|
require 'cybersource_rest_client/models/riskv1addressverifications_order_information'
|
476
477
|
require 'cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to'
|
477
478
|
require 'cybersource_rest_client/models/riskv1addressverifications_order_information_line_items'
|
@@ -493,7 +494,6 @@ require 'cybersource_rest_client/models/riskv1authentications_payment_informatio
|
|
493
494
|
require 'cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card'
|
494
495
|
require 'cybersource_rest_client/models/riskv1authentications_risk_information'
|
495
496
|
require 'cybersource_rest_client/models/riskv1authentications_travel_information'
|
496
|
-
require 'cybersource_rest_client/models/riskv1authenticationsetups_client_reference_information'
|
497
497
|
require 'cybersource_rest_client/models/riskv1authenticationsetups_payment_information'
|
498
498
|
require 'cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card'
|
499
499
|
require 'cybersource_rest_client/models/riskv1authenticationsetups_payment_information_customer'
|
@@ -503,6 +503,7 @@ require 'cybersource_rest_client/models/riskv1authenticationsetups_processing_in
|
|
503
503
|
require 'cybersource_rest_client/models/riskv1authenticationsetups_token_information'
|
504
504
|
require 'cybersource_rest_client/models/riskv1decisions_buyer_information'
|
505
505
|
require 'cybersource_rest_client/models/riskv1decisions_client_reference_information'
|
506
|
+
require 'cybersource_rest_client/models/riskv1decisions_client_reference_information_partner'
|
506
507
|
require 'cybersource_rest_client/models/riskv1decisions_consumer_authentication_information'
|
507
508
|
require 'cybersource_rest_client/models/riskv1decisions_consumer_authentication_information_strong_authentication'
|
508
509
|
require 'cybersource_rest_client/models/riskv1decisions_device_information'
|
@@ -703,7 +704,6 @@ require 'cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_
|
|
703
704
|
require 'cybersource_rest_client/models/vas_v2_tax_voids_post400_response'
|
704
705
|
require 'cybersource_rest_client/models/vasv2tax_buyer_information'
|
705
706
|
require 'cybersource_rest_client/models/vasv2tax_client_reference_information'
|
706
|
-
require 'cybersource_rest_client/models/vasv2tax_client_reference_information_partner'
|
707
707
|
require 'cybersource_rest_client/models/vasv2tax_merchant_information'
|
708
708
|
require 'cybersource_rest_client/models/vasv2tax_order_information'
|
709
709
|
require 'cybersource_rest_client/models/vasv2tax_order_information_bill_to'
|
@@ -217,7 +217,7 @@ module CyberSource
|
|
217
217
|
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
218
218
|
# @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (default to 0)
|
219
219
|
# @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (default to 20)
|
220
|
-
# @return [
|
220
|
+
# @return [PaymentInstrumentList]
|
221
221
|
def get_customer_payment_instruments_list(customer_token_id, opts = {})
|
222
222
|
data, status_code, headers = get_customer_payment_instruments_list_with_http_info(customer_token_id, opts)
|
223
223
|
return data, status_code, headers
|
@@ -229,7 +229,7 @@ module CyberSource
|
|
229
229
|
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
230
230
|
# @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
|
231
231
|
# @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
|
232
|
-
# @return [Array<(
|
232
|
+
# @return [Array<(PaymentInstrumentList, Fixnum, Hash)>] PaymentInstrumentList data, response status code and response headers
|
233
233
|
def get_customer_payment_instruments_list_with_http_info(customer_token_id, opts = {})
|
234
234
|
|
235
235
|
if @api_client.config.debugging
|
@@ -300,7 +300,7 @@ module CyberSource
|
|
300
300
|
:form_params => form_params,
|
301
301
|
:body => post_body,
|
302
302
|
:auth_names => auth_names,
|
303
|
-
:return_type => '
|
303
|
+
:return_type => 'PaymentInstrumentList')
|
304
304
|
if @api_client.config.debugging
|
305
305
|
begin
|
306
306
|
raise
|
@@ -189,7 +189,7 @@ module CyberSource
|
|
189
189
|
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
190
190
|
# @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (default to 0)
|
191
191
|
# @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (default to 20)
|
192
|
-
# @return [
|
192
|
+
# @return [PaymentInstrumentList]
|
193
193
|
def get_instrument_identifier_payment_instruments_list(instrument_identifier_token_id, opts = {})
|
194
194
|
data, status_code, headers = get_instrument_identifier_payment_instruments_list_with_http_info(instrument_identifier_token_id, opts)
|
195
195
|
return data, status_code, headers
|
@@ -201,7 +201,7 @@ module CyberSource
|
|
201
201
|
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
202
202
|
# @option opts [Integer] :offset Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0.
|
203
203
|
# @option opts [Integer] :limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100.
|
204
|
-
# @return [Array<(
|
204
|
+
# @return [Array<(PaymentInstrumentList, Fixnum, Hash)>] PaymentInstrumentList data, response status code and response headers
|
205
205
|
def get_instrument_identifier_payment_instruments_list_with_http_info(instrument_identifier_token_id, opts = {})
|
206
206
|
|
207
207
|
if @api_client.config.debugging
|
@@ -272,7 +272,7 @@ module CyberSource
|
|
272
272
|
:form_params => form_params,
|
273
273
|
:body => post_body,
|
274
274
|
:auth_names => auth_names,
|
275
|
-
:return_type => '
|
275
|
+
:return_type => 'PaymentInstrumentList')
|
276
276
|
if @api_client.config.debugging
|
277
277
|
begin
|
278
278
|
raise
|
@@ -383,7 +383,7 @@ module CyberSource
|
|
383
383
|
return data, status_code, headers
|
384
384
|
end
|
385
385
|
# Create an Instrument Identifier
|
386
|
-
# @param post_instrument_identifier_request
|
386
|
+
# @param post_instrument_identifier_request Specify either a Card, Bank Account or Enrollable Card
|
387
387
|
# @param [Hash] opts the optional parameters
|
388
388
|
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
389
389
|
# @return [Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier]
|
@@ -393,7 +393,7 @@ module CyberSource
|
|
393
393
|
end
|
394
394
|
|
395
395
|
# Create an Instrument Identifier
|
396
|
-
# @param post_instrument_identifier_request
|
396
|
+
# @param post_instrument_identifier_request Specify either a Card, Bank Account or Enrollable Card
|
397
397
|
# @param [Hash] opts the optional parameters
|
398
398
|
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
399
399
|
# @return [Array<(Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier, Fixnum, Hash)>] Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier data, response status code and response headers
|
@@ -456,5 +456,92 @@ module CyberSource
|
|
456
456
|
end
|
457
457
|
return data, status_code, headers
|
458
458
|
end
|
459
|
+
# Enroll an Instrument Identifier for Network Tokenization
|
460
|
+
# @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
|
461
|
+
# @param post_instrument_identifier_enrollment_request Specify Enrollable Card details
|
462
|
+
# @param [Hash] opts the optional parameters
|
463
|
+
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
464
|
+
# @return [nil]
|
465
|
+
def post_instrument_identifier_enrollment(instrument_identifier_token_id, post_instrument_identifier_enrollment_request, opts = {})
|
466
|
+
data, status_code, headers = post_instrument_identifier_enrollment_with_http_info(instrument_identifier_token_id, post_instrument_identifier_enrollment_request, opts)
|
467
|
+
return data, status_code, headers
|
468
|
+
end
|
469
|
+
|
470
|
+
# Enroll an Instrument Identifier for Network Tokenization
|
471
|
+
# @param instrument_identifier_token_id The TokenId of a Instrument Identifier.
|
472
|
+
# @param post_instrument_identifier_enrollment_request Specify Enrollable Card details
|
473
|
+
# @param [Hash] opts the optional parameters
|
474
|
+
# @option opts [String] :profile_id The id of a profile containing user specific TMS configuration.
|
475
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
476
|
+
def post_instrument_identifier_enrollment_with_http_info(instrument_identifier_token_id, post_instrument_identifier_enrollment_request, opts = {})
|
477
|
+
|
478
|
+
if @api_client.config.debugging
|
479
|
+
begin
|
480
|
+
raise
|
481
|
+
@api_client.config.logger.debug 'Calling API: InstrumentIdentifierApi.post_instrument_identifier_enrollment ...'
|
482
|
+
rescue
|
483
|
+
puts 'Cannot write to log'
|
484
|
+
end
|
485
|
+
end
|
486
|
+
# verify the required parameter 'instrument_identifier_token_id' is set
|
487
|
+
if @api_client.config.client_side_validation && instrument_identifier_token_id.nil?
|
488
|
+
fail ArgumentError, "Missing the required parameter 'instrument_identifier_token_id' when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment"
|
489
|
+
end
|
490
|
+
if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length > 32
|
491
|
+
fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment, the character length must be smaller than or equal to 32.'
|
492
|
+
end
|
493
|
+
|
494
|
+
if @api_client.config.client_side_validation && instrument_identifier_token_id.to_s.length < 12
|
495
|
+
fail ArgumentError, 'invalid value for "instrument_identifier_token_id" when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment, the character length must be great than or equal to 12.'
|
496
|
+
end
|
497
|
+
|
498
|
+
# verify the required parameter 'post_instrument_identifier_enrollment_request' is set
|
499
|
+
if @api_client.config.client_side_validation && post_instrument_identifier_enrollment_request.nil?
|
500
|
+
fail ArgumentError, "Missing the required parameter 'post_instrument_identifier_enrollment_request' when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment"
|
501
|
+
end
|
502
|
+
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length > 36
|
503
|
+
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment, the character length must be smaller than or equal to 36.'
|
504
|
+
end
|
505
|
+
|
506
|
+
if @api_client.config.client_side_validation && !opts[:'profile_id'].nil? && opts[:'profile_id'].to_s.length < 36
|
507
|
+
fail ArgumentError, 'invalid value for "opts[:"profile_id"]" when calling InstrumentIdentifierApi.post_instrument_identifier_enrollment, the character length must be great than or equal to 36.'
|
508
|
+
end
|
509
|
+
|
510
|
+
# resource path
|
511
|
+
local_var_path = 'tms/v1/instrumentidentifiers/{instrumentIdentifierTokenId}/enrollment'.sub('{' + 'instrumentIdentifierTokenId' + '}', instrument_identifier_token_id.to_s)
|
512
|
+
|
513
|
+
# query parameters
|
514
|
+
query_params = {}
|
515
|
+
|
516
|
+
# header parameters
|
517
|
+
header_params = {}
|
518
|
+
# HTTP header 'Accept' (if needed)
|
519
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json;charset=utf-8'])
|
520
|
+
# HTTP header 'Content-Type'
|
521
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json;charset=utf-8'])
|
522
|
+
header_params[:'profile-id'] = opts[:'profile_id'] if !opts[:'profile_id'].nil?
|
523
|
+
|
524
|
+
# form parameters
|
525
|
+
form_params = {}
|
526
|
+
|
527
|
+
# http body (model)
|
528
|
+
post_body = @api_client.object_to_http_body(post_instrument_identifier_enrollment_request)
|
529
|
+
auth_names = []
|
530
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
531
|
+
:header_params => header_params,
|
532
|
+
:query_params => query_params,
|
533
|
+
:form_params => form_params,
|
534
|
+
:body => post_body,
|
535
|
+
:auth_names => auth_names)
|
536
|
+
if @api_client.config.debugging
|
537
|
+
begin
|
538
|
+
raise
|
539
|
+
@api_client.config.logger.debug "API called: InstrumentIdentifierApi#post_instrument_identifier_enrollment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
540
|
+
rescue
|
541
|
+
puts 'Cannot write to log'
|
542
|
+
end
|
543
|
+
end
|
544
|
+
return data, status_code, headers
|
545
|
+
end
|
459
546
|
end
|
460
547
|
end
|
@@ -15,7 +15,7 @@ require 'json'
|
|
15
15
|
require 'logger'
|
16
16
|
require 'tempfile'
|
17
17
|
require 'typhoeus'
|
18
|
-
require 'uri'
|
18
|
+
require 'addressable/uri'
|
19
19
|
|
20
20
|
module CyberSource
|
21
21
|
class ApiClient
|
@@ -113,7 +113,7 @@ module CyberSource
|
|
113
113
|
body_params = opts[:body] || {}
|
114
114
|
query_params = opts[:query_params] || {}
|
115
115
|
if !query_params.empty?
|
116
|
-
query_params = URI.
|
116
|
+
query_params = Addressable::URI.form_encode(query_params)
|
117
117
|
end
|
118
118
|
headers = CallAuthenticationHeader(http_method, path, body_params, opts[:header_params], query_params)
|
119
119
|
http_method = http_method.to_sym.downcase
|
@@ -359,7 +359,7 @@ module CyberSource
|
|
359
359
|
def build_request_url(path)
|
360
360
|
# Add leading and trailing slashes to path
|
361
361
|
path = "/#{path}".gsub(/\/+/, '/')
|
362
|
-
URI.encode(@config.base_url + path)
|
362
|
+
Addressable::URI.encode(@config.base_url + path)
|
363
363
|
end
|
364
364
|
|
365
365
|
# Builds the HTTP request body
|
@@ -10,7 +10,7 @@ Swagger Codegen version: 2.2.3
|
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require 'uri'
|
13
|
+
require 'addressable/uri'
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Configuration
|
@@ -175,7 +175,7 @@ module CyberSource
|
|
175
175
|
|
176
176
|
def base_url
|
177
177
|
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
|
178
|
-
URI.encode(url)
|
178
|
+
Addressable::URI.encode(url)
|
179
179
|
end
|
180
180
|
|
181
181
|
# Gets API key (with prefix if set).
|
@@ -65,7 +65,7 @@ module CyberSource
|
|
65
65
|
# Attribute type mapping.
|
66
66
|
def self.swagger_types
|
67
67
|
{
|
68
|
-
:'client_reference_information' => :'
|
68
|
+
:'client_reference_information' => :'Riskv1decisionsClientReferenceInformation',
|
69
69
|
:'order_information' => :'Riskv1authenticationsOrderInformation',
|
70
70
|
:'payment_information' => :'Riskv1authenticationsPaymentInformation',
|
71
71
|
:'processing_information' => :'Riskv1authenticationsetupsProcessingInformation',
|
@@ -144,26 +144,10 @@ module CyberSource
|
|
144
144
|
#invalid_properties.push('invalid value for "organization_id", must conform to the pattern /[a-zA-Z0-9-_]+/.')
|
145
145
|
#end
|
146
146
|
|
147
|
-
if !@report_definition_name.nil? && @report_definition_name.to_s.length > 80
|
148
|
-
invalid_properties.push('invalid value for "report_definition_name", the character length must be smaller than or equal to 80.')
|
149
|
-
end
|
150
|
-
|
151
|
-
if !@report_definition_name.nil? && @report_definition_name.to_s.length < 1
|
152
|
-
invalid_properties.push('invalid value for "report_definition_name", the character length must be great than or equal to 1.')
|
153
|
-
end
|
154
|
-
|
155
147
|
#if !@report_definition_name.nil? && @report_definition_name !~ Regexp.new(/[a-zA-Z0-9-]+/)
|
156
148
|
#invalid_properties.push('invalid value for "report_definition_name", must conform to the pattern /[a-zA-Z0-9-]+/.')
|
157
149
|
#end
|
158
150
|
|
159
|
-
if !@report_name.nil? && @report_name.to_s.length > 128
|
160
|
-
invalid_properties.push('invalid value for "report_name", the character length must be smaller than or equal to 128.')
|
161
|
-
end
|
162
|
-
|
163
|
-
if !@report_name.nil? && @report_name.to_s.length < 1
|
164
|
-
invalid_properties.push('invalid value for "report_name", the character length must be great than or equal to 1.')
|
165
|
-
end
|
166
|
-
|
167
151
|
#if !@report_name.nil? && @report_name !~ Regexp.new(/[a-zA-Z0-9-_ ]+/)
|
168
152
|
#invalid_properties.push('invalid value for "report_name", must conform to the pattern /[a-zA-Z0-9-_ ]+/.')
|
169
153
|
#end
|
@@ -179,11 +163,7 @@ module CyberSource
|
|
179
163
|
# @return true if the model is valid
|
180
164
|
def valid?
|
181
165
|
#return false if !@organization_id.nil? && @organization_id !~ Regexp.new(/[a-zA-Z0-9-_]+/)
|
182
|
-
return false if !@report_definition_name.nil? && @report_definition_name.to_s.length > 80
|
183
|
-
return false if !@report_definition_name.nil? && @report_definition_name.to_s.length < 1
|
184
166
|
#return false if !@report_definition_name.nil? && @report_definition_name !~ Regexp.new(/[a-zA-Z0-9-]+/)
|
185
|
-
return false if !@report_name.nil? && @report_name.to_s.length > 128
|
186
|
-
return false if !@report_name.nil? && @report_name.to_s.length < 1
|
187
167
|
#return false if !@report_name.nil? && @report_name !~ Regexp.new(/[a-zA-Z0-9-_ ]+/)
|
188
168
|
#return false if !@group_name.nil? && @group_name !~ Regexp.new(/[0-9]*/)
|
189
169
|
true
|
@@ -202,14 +182,6 @@ module CyberSource
|
|
202
182
|
# Custom attribute writer method with validation
|
203
183
|
# @param [Object] report_definition_name Value to be assigned
|
204
184
|
def report_definition_name=(report_definition_name)
|
205
|
-
if !report_definition_name.nil? && report_definition_name.to_s.length > 80
|
206
|
-
fail ArgumentError, 'invalid value for "report_definition_name", the character length must be smaller than or equal to 80.'
|
207
|
-
end
|
208
|
-
|
209
|
-
if !report_definition_name.nil? && report_definition_name.to_s.length < 1
|
210
|
-
fail ArgumentError, 'invalid value for "report_definition_name", the character length must be great than or equal to 1.'
|
211
|
-
end
|
212
|
-
|
213
185
|
#if !report_definition_name.nil? && report_definition_name !~ Regexp.new(/[a-zA-Z0-9-]+/)
|
214
186
|
#fail ArgumentError, 'invalid value for "report_definition_name", must conform to the pattern /[a-zA-Z0-9-]+/.'
|
215
187
|
#end
|
@@ -220,14 +192,6 @@ module CyberSource
|
|
220
192
|
# Custom attribute writer method with validation
|
221
193
|
# @param [Object] report_name Value to be assigned
|
222
194
|
def report_name=(report_name)
|
223
|
-
if !report_name.nil? && report_name.to_s.length > 128
|
224
|
-
fail ArgumentError, 'invalid value for "report_name", the character length must be smaller than or equal to 128.'
|
225
|
-
end
|
226
|
-
|
227
|
-
if !report_name.nil? && report_name.to_s.length < 1
|
228
|
-
fail ArgumentError, 'invalid value for "report_name", the character length must be great than or equal to 1.'
|
229
|
-
end
|
230
|
-
|
231
195
|
#if !report_name.nil? && report_name !~ Regexp.new(/[a-zA-Z0-9-_ ]+/)
|
232
196
|
#fail ArgumentError, 'invalid value for "report_name", must conform to the pattern /[a-zA-Z0-9-_ ]+/.'
|
233
197
|
#end
|
@@ -164,14 +164,6 @@ module CyberSource
|
|
164
164
|
invalid_properties.push('invalid value for "report_definition_name", report_definition_name cannot be nil.')
|
165
165
|
end
|
166
166
|
|
167
|
-
if @report_definition_name.to_s.length > 80
|
168
|
-
invalid_properties.push('invalid value for "report_definition_name", the character length must be smaller than or equal to 80.')
|
169
|
-
end
|
170
|
-
|
171
|
-
if @report_definition_name.to_s.length < 1
|
172
|
-
invalid_properties.push('invalid value for "report_definition_name", the character length must be great than or equal to 1.')
|
173
|
-
end
|
174
|
-
|
175
167
|
#if @report_definition_name !~ Regexp.new(/[a-zA-Z0-9-]+/)
|
176
168
|
#invalid_properties.push('invalid value for "report_definition_name", must conform to the pattern /[a-zA-Z0-9-]+/.')
|
177
169
|
#end
|
@@ -196,14 +188,6 @@ module CyberSource
|
|
196
188
|
invalid_properties.push('invalid value for "report_name", report_name cannot be nil.')
|
197
189
|
end
|
198
190
|
|
199
|
-
if @report_name.to_s.length > 128
|
200
|
-
invalid_properties.push('invalid value for "report_name", the character length must be smaller than or equal to 128.')
|
201
|
-
end
|
202
|
-
|
203
|
-
if @report_name.to_s.length < 1
|
204
|
-
invalid_properties.push('invalid value for "report_name", the character length must be great than or equal to 1.')
|
205
|
-
end
|
206
|
-
|
207
191
|
#if @report_name !~ Regexp.new(/[a-zA-Z0-9-_ ]+/)
|
208
192
|
#invalid_properties.push('invalid value for "report_name", must conform to the pattern /[a-zA-Z0-9-_ ]+/.')
|
209
193
|
#end
|
@@ -236,16 +220,12 @@ module CyberSource
|
|
236
220
|
def valid?
|
237
221
|
#return false if !@organization_id.nil? && @organization_id !~ Regexp.new(/[a-zA-Z0-9-_]+/)
|
238
222
|
return false if @report_definition_name.nil?
|
239
|
-
return false if @report_definition_name.to_s.length > 80
|
240
|
-
return false if @report_definition_name.to_s.length < 1
|
241
223
|
#return false if @report_definition_name !~ Regexp.new(/[a-zA-Z0-9-]+/)
|
242
224
|
return false if @report_fields.nil?
|
243
225
|
return false if @report_mime_type.nil?
|
244
226
|
return false if @report_frequency.nil?
|
245
227
|
#return false if !@report_interval.nil? && @report_interval !~ Regexp.new(/^PT((([1-9]|1[0-9]|2[0-3])H(([1-9]|[1-4][0-9]|5[0-9])M)?)|((([1-9]|1[0-9]|2[0-3])H)?([1-9]|[1-4][0-9]|5[0-9])M))$/)
|
246
228
|
return false if @report_name.nil?
|
247
|
-
return false if @report_name.to_s.length > 128
|
248
|
-
return false if @report_name.to_s.length < 1
|
249
229
|
#return false if @report_name !~ Regexp.new(/[a-zA-Z0-9-_ ]+/)
|
250
230
|
return false if @timezone.nil?
|
251
231
|
return false if @start_time.nil?
|
@@ -272,14 +252,6 @@ module CyberSource
|
|
272
252
|
fail ArgumentError, 'report_definition_name cannot be nil'
|
273
253
|
end
|
274
254
|
|
275
|
-
if report_definition_name.to_s.length > 80
|
276
|
-
fail ArgumentError, 'invalid value for "report_definition_name", the character length must be smaller than or equal to 80.'
|
277
|
-
end
|
278
|
-
|
279
|
-
if report_definition_name.to_s.length < 1
|
280
|
-
fail ArgumentError, 'invalid value for "report_definition_name", the character length must be great than or equal to 1.'
|
281
|
-
end
|
282
|
-
|
283
255
|
#if report_definition_name !~ Regexp.new(/[a-zA-Z0-9-]+/)
|
284
256
|
#fail ArgumentError, 'invalid value for "report_definition_name", must conform to the pattern /[a-zA-Z0-9-]+/.'
|
285
257
|
#end
|
@@ -304,14 +276,6 @@ module CyberSource
|
|
304
276
|
fail ArgumentError, 'report_name cannot be nil'
|
305
277
|
end
|
306
278
|
|
307
|
-
if report_name.to_s.length > 128
|
308
|
-
fail ArgumentError, 'invalid value for "report_name", the character length must be smaller than or equal to 128.'
|
309
|
-
end
|
310
|
-
|
311
|
-
if report_name.to_s.length < 1
|
312
|
-
fail ArgumentError, 'invalid value for "report_name", the character length must be great than or equal to 1.'
|
313
|
-
end
|
314
|
-
|
315
279
|
#if report_name !~ Regexp.new(/[a-zA-Z0-9-_ ]+/)
|
316
280
|
#fail ArgumentError, 'invalid value for "report_name", must conform to the pattern /[a-zA-Z0-9-_ ]+/.'
|
317
281
|
#end
|