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
@@ -61,7 +61,7 @@ module CyberSource
|
|
61
61
|
:'submit_time_local' => :'String',
|
62
62
|
:'status' => :'String',
|
63
63
|
:'message' => :'String',
|
64
|
-
:'client_reference_information' => :'
|
64
|
+
:'client_reference_information' => :'RiskV1DecisionsPost201ResponseClientReferenceInformation',
|
65
65
|
:'consumer_authentication_information' => :'RiskV1AuthenticationResultsPost201ResponseConsumerAuthenticationInformation',
|
66
66
|
:'error_information' => :'RiskV1AuthenticationsPost201ResponseErrorInformation'
|
67
67
|
}
|
@@ -116,27 +116,18 @@ module CyberSource
|
|
116
116
|
# @return Array for valid properties with the reasons
|
117
117
|
def list_invalid_properties
|
118
118
|
invalid_properties = Array.new
|
119
|
-
if !@id.nil? && @id.to_s.length > 26
|
120
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
|
121
|
-
end
|
122
|
-
|
123
119
|
invalid_properties
|
124
120
|
end
|
125
121
|
|
126
122
|
# Check to see if the all the properties in the model are valid
|
127
123
|
# @return true if the model is valid
|
128
124
|
def valid?
|
129
|
-
return false if !@id.nil? && @id.to_s.length > 26
|
130
125
|
true
|
131
126
|
end
|
132
127
|
|
133
128
|
# Custom attribute writer method with validation
|
134
129
|
# @param [Object] id Value to be assigned
|
135
130
|
def id=(id)
|
136
|
-
if !id.nil? && id.to_s.length > 26
|
137
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 26.'
|
138
|
-
end
|
139
|
-
|
140
131
|
@id = id
|
141
132
|
end
|
142
133
|
|
@@ -246,162 +246,72 @@ module CyberSource
|
|
246
246
|
# @return Array for valid properties with the reasons
|
247
247
|
def list_invalid_properties
|
248
248
|
invalid_properties = Array.new
|
249
|
-
if !@acs_transaction_id.nil? && @acs_transaction_id.to_s.length > 36
|
250
|
-
invalid_properties.push('invalid value for "acs_transaction_id", the character length must be smaller than or equal to 36.')
|
251
|
-
end
|
252
|
-
|
253
|
-
if !@cavv.nil? && @cavv.to_s.length > 255
|
254
|
-
invalid_properties.push('invalid value for "cavv", the character length must be smaller than or equal to 255.')
|
255
|
-
end
|
256
|
-
|
257
|
-
if !@cavv_algorithm.nil? && @cavv_algorithm.to_s.length > 1
|
258
|
-
invalid_properties.push('invalid value for "cavv_algorithm", the character length must be smaller than or equal to 1.')
|
259
|
-
end
|
260
|
-
|
261
|
-
if !@directory_server_error_description.nil? && @directory_server_error_description.to_s.length > 4096
|
262
|
-
invalid_properties.push('invalid value for "directory_server_error_description", the character length must be smaller than or equal to 4096.')
|
263
|
-
end
|
264
|
-
|
265
|
-
if !@interaction_counter.nil? && @interaction_counter.to_s.length > 2
|
266
|
-
invalid_properties.push('invalid value for "interaction_counter", the character length must be smaller than or equal to 2.')
|
267
|
-
end
|
268
|
-
|
269
|
-
if !@sdk_transaction_id.nil? && @sdk_transaction_id.to_s.length > 36
|
270
|
-
invalid_properties.push('invalid value for "sdk_transaction_id", the character length must be smaller than or equal to 36.')
|
271
|
-
end
|
272
|
-
|
273
|
-
if !@three_ds_server_transaction_id.nil? && @three_ds_server_transaction_id.to_s.length > 36
|
274
|
-
invalid_properties.push('invalid value for "three_ds_server_transaction_id", the character length must be smaller than or equal to 36.')
|
275
|
-
end
|
276
|
-
|
277
|
-
if !@white_list_status.nil? && @white_list_status.to_s.length > 1
|
278
|
-
invalid_properties.push('invalid value for "white_list_status", the character length must be smaller than or equal to 1.')
|
279
|
-
end
|
280
|
-
|
281
|
-
if !@white_list_status_source.nil? && @white_list_status_source.to_s.length > 2
|
282
|
-
invalid_properties.push('invalid value for "white_list_status_source", the character length must be smaller than or equal to 2.')
|
283
|
-
end
|
284
|
-
|
285
|
-
if !@directory_server_transaction_id.nil? && @directory_server_transaction_id.to_s.length > 36
|
286
|
-
invalid_properties.push('invalid value for "directory_server_transaction_id", the character length must be smaller than or equal to 36.')
|
287
|
-
end
|
288
|
-
|
289
249
|
invalid_properties
|
290
250
|
end
|
291
251
|
|
292
252
|
# Check to see if the all the properties in the model are valid
|
293
253
|
# @return true if the model is valid
|
294
254
|
def valid?
|
295
|
-
return false if !@acs_transaction_id.nil? && @acs_transaction_id.to_s.length > 36
|
296
|
-
return false if !@cavv.nil? && @cavv.to_s.length > 255
|
297
|
-
return false if !@cavv_algorithm.nil? && @cavv_algorithm.to_s.length > 1
|
298
|
-
return false if !@directory_server_error_description.nil? && @directory_server_error_description.to_s.length > 4096
|
299
|
-
return false if !@interaction_counter.nil? && @interaction_counter.to_s.length > 2
|
300
|
-
return false if !@sdk_transaction_id.nil? && @sdk_transaction_id.to_s.length > 36
|
301
|
-
return false if !@three_ds_server_transaction_id.nil? && @three_ds_server_transaction_id.to_s.length > 36
|
302
|
-
return false if !@white_list_status.nil? && @white_list_status.to_s.length > 1
|
303
|
-
return false if !@white_list_status_source.nil? && @white_list_status_source.to_s.length > 2
|
304
|
-
return false if !@directory_server_transaction_id.nil? && @directory_server_transaction_id.to_s.length > 36
|
305
255
|
true
|
306
256
|
end
|
307
257
|
|
308
258
|
# Custom attribute writer method with validation
|
309
259
|
# @param [Object] acs_transaction_id Value to be assigned
|
310
260
|
def acs_transaction_id=(acs_transaction_id)
|
311
|
-
if !acs_transaction_id.nil? && acs_transaction_id.to_s.length > 36
|
312
|
-
fail ArgumentError, 'invalid value for "acs_transaction_id", the character length must be smaller than or equal to 36.'
|
313
|
-
end
|
314
|
-
|
315
261
|
@acs_transaction_id = acs_transaction_id
|
316
262
|
end
|
317
263
|
|
318
264
|
# Custom attribute writer method with validation
|
319
265
|
# @param [Object] cavv Value to be assigned
|
320
266
|
def cavv=(cavv)
|
321
|
-
if !cavv.nil? && cavv.to_s.length > 255
|
322
|
-
fail ArgumentError, 'invalid value for "cavv", the character length must be smaller than or equal to 255.'
|
323
|
-
end
|
324
|
-
|
325
267
|
@cavv = cavv
|
326
268
|
end
|
327
269
|
|
328
270
|
# Custom attribute writer method with validation
|
329
271
|
# @param [Object] cavv_algorithm Value to be assigned
|
330
272
|
def cavv_algorithm=(cavv_algorithm)
|
331
|
-
if !cavv_algorithm.nil? && cavv_algorithm.to_s.length > 1
|
332
|
-
fail ArgumentError, 'invalid value for "cavv_algorithm", the character length must be smaller than or equal to 1.'
|
333
|
-
end
|
334
|
-
|
335
273
|
@cavv_algorithm = cavv_algorithm
|
336
274
|
end
|
337
275
|
|
338
276
|
# Custom attribute writer method with validation
|
339
277
|
# @param [Object] directory_server_error_description Value to be assigned
|
340
278
|
def directory_server_error_description=(directory_server_error_description)
|
341
|
-
if !directory_server_error_description.nil? && directory_server_error_description.to_s.length > 4096
|
342
|
-
fail ArgumentError, 'invalid value for "directory_server_error_description", the character length must be smaller than or equal to 4096.'
|
343
|
-
end
|
344
|
-
|
345
279
|
@directory_server_error_description = directory_server_error_description
|
346
280
|
end
|
347
281
|
|
348
282
|
# Custom attribute writer method with validation
|
349
283
|
# @param [Object] interaction_counter Value to be assigned
|
350
284
|
def interaction_counter=(interaction_counter)
|
351
|
-
if !interaction_counter.nil? && interaction_counter.to_s.length > 2
|
352
|
-
fail ArgumentError, 'invalid value for "interaction_counter", the character length must be smaller than or equal to 2.'
|
353
|
-
end
|
354
|
-
|
355
285
|
@interaction_counter = interaction_counter
|
356
286
|
end
|
357
287
|
|
358
288
|
# Custom attribute writer method with validation
|
359
289
|
# @param [Object] sdk_transaction_id Value to be assigned
|
360
290
|
def sdk_transaction_id=(sdk_transaction_id)
|
361
|
-
if !sdk_transaction_id.nil? && sdk_transaction_id.to_s.length > 36
|
362
|
-
fail ArgumentError, 'invalid value for "sdk_transaction_id", the character length must be smaller than or equal to 36.'
|
363
|
-
end
|
364
|
-
|
365
291
|
@sdk_transaction_id = sdk_transaction_id
|
366
292
|
end
|
367
293
|
|
368
294
|
# Custom attribute writer method with validation
|
369
295
|
# @param [Object] three_ds_server_transaction_id Value to be assigned
|
370
296
|
def three_ds_server_transaction_id=(three_ds_server_transaction_id)
|
371
|
-
if !three_ds_server_transaction_id.nil? && three_ds_server_transaction_id.to_s.length > 36
|
372
|
-
fail ArgumentError, 'invalid value for "three_ds_server_transaction_id", the character length must be smaller than or equal to 36.'
|
373
|
-
end
|
374
|
-
|
375
297
|
@three_ds_server_transaction_id = three_ds_server_transaction_id
|
376
298
|
end
|
377
299
|
|
378
300
|
# Custom attribute writer method with validation
|
379
301
|
# @param [Object] white_list_status Value to be assigned
|
380
302
|
def white_list_status=(white_list_status)
|
381
|
-
if !white_list_status.nil? && white_list_status.to_s.length > 1
|
382
|
-
fail ArgumentError, 'invalid value for "white_list_status", the character length must be smaller than or equal to 1.'
|
383
|
-
end
|
384
|
-
|
385
303
|
@white_list_status = white_list_status
|
386
304
|
end
|
387
305
|
|
388
306
|
# Custom attribute writer method with validation
|
389
307
|
# @param [Object] white_list_status_source Value to be assigned
|
390
308
|
def white_list_status_source=(white_list_status_source)
|
391
|
-
if !white_list_status_source.nil? && white_list_status_source.to_s.length > 2
|
392
|
-
fail ArgumentError, 'invalid value for "white_list_status_source", the character length must be smaller than or equal to 2.'
|
393
|
-
end
|
394
|
-
|
395
309
|
@white_list_status_source = white_list_status_source
|
396
310
|
end
|
397
311
|
|
398
312
|
# Custom attribute writer method with validation
|
399
313
|
# @param [Object] directory_server_transaction_id Value to be assigned
|
400
314
|
def directory_server_transaction_id=(directory_server_transaction_id)
|
401
|
-
if !directory_server_transaction_id.nil? && directory_server_transaction_id.to_s.length > 36
|
402
|
-
fail ArgumentError, 'invalid value for "directory_server_transaction_id", the character length must be smaller than or equal to 36.'
|
403
|
-
end
|
404
|
-
|
405
315
|
@directory_server_transaction_id = directory_server_transaction_id
|
406
316
|
end
|
407
317
|
|
@@ -27,6 +27,8 @@ module CyberSource
|
|
27
27
|
|
28
28
|
attr_accessor :consumer_authentication_information
|
29
29
|
|
30
|
+
attr_accessor :client_reference_information
|
31
|
+
|
30
32
|
attr_accessor :error_information
|
31
33
|
|
32
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -37,6 +39,7 @@ module CyberSource
|
|
37
39
|
:'submit_time_utc' => :'submitTimeUtc',
|
38
40
|
:'status' => :'status',
|
39
41
|
:'consumer_authentication_information' => :'consumerAuthenticationInformation',
|
42
|
+
:'client_reference_information' => :'clientReferenceInformation',
|
40
43
|
:'error_information' => :'errorInformation'
|
41
44
|
}
|
42
45
|
end
|
@@ -49,6 +52,7 @@ module CyberSource
|
|
49
52
|
:'submit_time_utc' => :'String',
|
50
53
|
:'status' => :'String',
|
51
54
|
:'consumer_authentication_information' => :'RiskV1AuthenticationSetupsPost201ResponseConsumerAuthenticationInformation',
|
55
|
+
:'client_reference_information' => :'RiskV1DecisionsPost201ResponseClientReferenceInformation',
|
52
56
|
:'error_information' => :'RiskV1AuthenticationSetupsPost201ResponseErrorInformation'
|
53
57
|
}
|
54
58
|
end
|
@@ -81,6 +85,10 @@ module CyberSource
|
|
81
85
|
self.consumer_authentication_information = attributes[:'consumerAuthenticationInformation']
|
82
86
|
end
|
83
87
|
|
88
|
+
if attributes.has_key?(:'clientReferenceInformation')
|
89
|
+
self.client_reference_information = attributes[:'clientReferenceInformation']
|
90
|
+
end
|
91
|
+
|
84
92
|
if attributes.has_key?(:'errorInformation')
|
85
93
|
self.error_information = attributes[:'errorInformation']
|
86
94
|
end
|
@@ -90,27 +98,18 @@ module CyberSource
|
|
90
98
|
# @return Array for valid properties with the reasons
|
91
99
|
def list_invalid_properties
|
92
100
|
invalid_properties = Array.new
|
93
|
-
if !@id.nil? && @id.to_s.length > 26
|
94
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
|
95
|
-
end
|
96
|
-
|
97
101
|
invalid_properties
|
98
102
|
end
|
99
103
|
|
100
104
|
# Check to see if the all the properties in the model are valid
|
101
105
|
# @return true if the model is valid
|
102
106
|
def valid?
|
103
|
-
return false if !@id.nil? && @id.to_s.length > 26
|
104
107
|
true
|
105
108
|
end
|
106
109
|
|
107
110
|
# Custom attribute writer method with validation
|
108
111
|
# @param [Object] id Value to be assigned
|
109
112
|
def id=(id)
|
110
|
-
if !id.nil? && id.to_s.length > 26
|
111
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 26.'
|
112
|
-
end
|
113
|
-
|
114
113
|
@id = id
|
115
114
|
end
|
116
115
|
|
@@ -124,6 +123,7 @@ module CyberSource
|
|
124
123
|
submit_time_utc == o.submit_time_utc &&
|
125
124
|
status == o.status &&
|
126
125
|
consumer_authentication_information == o.consumer_authentication_information &&
|
126
|
+
client_reference_information == o.client_reference_information &&
|
127
127
|
error_information == o.error_information
|
128
128
|
end
|
129
129
|
|
@@ -136,7 +136,7 @@ module CyberSource
|
|
136
136
|
# Calculates hash code according to all attributes.
|
137
137
|
# @return [Fixnum] Hash code
|
138
138
|
def hash
|
139
|
-
[_links, id, submit_time_utc, status, consumer_authentication_information, error_information].hash
|
139
|
+
[_links, id, submit_time_utc, status, consumer_authentication_information, client_reference_information, error_information].hash
|
140
140
|
end
|
141
141
|
|
142
142
|
# Builds the object from hash
|
@@ -66,42 +66,24 @@ module CyberSource
|
|
66
66
|
# @return Array for valid properties with the reasons
|
67
67
|
def list_invalid_properties
|
68
68
|
invalid_properties = Array.new
|
69
|
-
if !@reference_id.nil? && @reference_id.to_s.length > 50
|
70
|
-
invalid_properties.push('invalid value for "reference_id", the character length must be smaller than or equal to 50.')
|
71
|
-
end
|
72
|
-
|
73
|
-
if !@device_data_collection_url.nil? && @device_data_collection_url.to_s.length > 100
|
74
|
-
invalid_properties.push('invalid value for "device_data_collection_url", the character length must be smaller than or equal to 100.')
|
75
|
-
end
|
76
|
-
|
77
69
|
invalid_properties
|
78
70
|
end
|
79
71
|
|
80
72
|
# Check to see if the all the properties in the model are valid
|
81
73
|
# @return true if the model is valid
|
82
74
|
def valid?
|
83
|
-
return false if !@reference_id.nil? && @reference_id.to_s.length > 50
|
84
|
-
return false if !@device_data_collection_url.nil? && @device_data_collection_url.to_s.length > 100
|
85
75
|
true
|
86
76
|
end
|
87
77
|
|
88
78
|
# Custom attribute writer method with validation
|
89
79
|
# @param [Object] reference_id Value to be assigned
|
90
80
|
def reference_id=(reference_id)
|
91
|
-
if !reference_id.nil? && reference_id.to_s.length > 50
|
92
|
-
fail ArgumentError, 'invalid value for "reference_id", the character length must be smaller than or equal to 50.'
|
93
|
-
end
|
94
|
-
|
95
81
|
@reference_id = reference_id
|
96
82
|
end
|
97
83
|
|
98
84
|
# Custom attribute writer method with validation
|
99
85
|
# @param [Object] device_data_collection_url Value to be assigned
|
100
86
|
def device_data_collection_url=(device_data_collection_url)
|
101
|
-
if !device_data_collection_url.nil? && device_data_collection_url.to_s.length > 100
|
102
|
-
fail ArgumentError, 'invalid value for "device_data_collection_url", the character length must be smaller than or equal to 100.'
|
103
|
-
end
|
104
|
-
|
105
87
|
@device_data_collection_url = device_data_collection_url
|
106
88
|
end
|
107
89
|
|
@@ -64,7 +64,7 @@ module CyberSource
|
|
64
64
|
:'submit_time_local' => :'String',
|
65
65
|
:'status' => :'String',
|
66
66
|
:'message' => :'String',
|
67
|
-
:'client_reference_information' => :'
|
67
|
+
:'client_reference_information' => :'RiskV1DecisionsPost201ResponseClientReferenceInformation',
|
68
68
|
:'order_information' => :'RiskV1DecisionsPost201ResponseOrderInformation',
|
69
69
|
:'consumer_authentication_information' => :'RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation',
|
70
70
|
:'error_information' => :'RiskV1AuthenticationsPost201ResponseErrorInformation'
|
@@ -124,27 +124,18 @@ module CyberSource
|
|
124
124
|
# @return Array for valid properties with the reasons
|
125
125
|
def list_invalid_properties
|
126
126
|
invalid_properties = Array.new
|
127
|
-
if !@id.nil? && @id.to_s.length > 26
|
128
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
|
129
|
-
end
|
130
|
-
|
131
127
|
invalid_properties
|
132
128
|
end
|
133
129
|
|
134
130
|
# Check to see if the all the properties in the model are valid
|
135
131
|
# @return true if the model is valid
|
136
132
|
def valid?
|
137
|
-
return false if !@id.nil? && @id.to_s.length > 26
|
138
133
|
true
|
139
134
|
end
|
140
135
|
|
141
136
|
# Custom attribute writer method with validation
|
142
137
|
# @param [Object] id Value to be assigned
|
143
138
|
def id=(id)
|
144
|
-
if !id.nil? && id.to_s.length > 26
|
145
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 26.'
|
146
|
-
end
|
147
|
-
|
148
139
|
@id = id
|
149
140
|
end
|
150
141
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class RiskV1AuthenticationsPost201ResponseErrorInformation
|
17
|
-
# The reason of the status. Possible values are: - `INVALID_MERCHANT_CONFIGURATION` - `
|
17
|
+
# The reason of the status. Possible values are: - `INVALID_MERCHANT_CONFIGURATION` - `CONSUMER_AUTHENTICATION_REQUIRED` - `CONSUMER_AUTHENTICATION_FAILED` - `AUTHENTICATION_FAILED`
|
18
18
|
attr_accessor :reason
|
19
19
|
|
20
20
|
# The detail message related to the status and reason listed above.
|
@@ -67,7 +67,7 @@ module CyberSource
|
|
67
67
|
:'status' => :'String',
|
68
68
|
:'risk_information' => :'PtsV2PaymentsPost201ResponseRiskInformation',
|
69
69
|
:'payment_information' => :'RiskV1DecisionsPost201ResponsePaymentInformation',
|
70
|
-
:'client_reference_information' => :'
|
70
|
+
:'client_reference_information' => :'RiskV1DecisionsPost201ResponseClientReferenceInformation',
|
71
71
|
:'order_information' => :'RiskV1DecisionsPost201ResponseOrderInformation',
|
72
72
|
:'consumer_authentication_information' => :'RiskV1DecisionsPost201ResponseConsumerAuthenticationInformation',
|
73
73
|
:'error_information' => :'RiskV1DecisionsPost201ResponseErrorInformation'
|
@@ -131,27 +131,18 @@ module CyberSource
|
|
131
131
|
# @return Array for valid properties with the reasons
|
132
132
|
def list_invalid_properties
|
133
133
|
invalid_properties = Array.new
|
134
|
-
if !@id.nil? && @id.to_s.length > 26
|
135
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
|
136
|
-
end
|
137
|
-
|
138
134
|
invalid_properties
|
139
135
|
end
|
140
136
|
|
141
137
|
# Check to see if the all the properties in the model are valid
|
142
138
|
# @return true if the model is valid
|
143
139
|
def valid?
|
144
|
-
return false if !@id.nil? && @id.to_s.length > 26
|
145
140
|
true
|
146
141
|
end
|
147
142
|
|
148
143
|
# Custom attribute writer method with validation
|
149
144
|
# @param [Object] id Value to be assigned
|
150
145
|
def id=(id)
|
151
|
-
if !id.nil? && id.to_s.length > 26
|
152
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 26.'
|
153
|
-
end
|
154
|
-
|
155
146
|
@id = id
|
156
147
|
end
|
157
148
|
|
@@ -13,21 +13,30 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
16
|
+
class RiskV1DecisionsPost201ResponseClientReferenceInformation
|
17
17
|
# Merchant-generated order reference or tracking number. It is recommended that you send a unique value for each transaction so that you can perform meaningful searches for the transaction. #### Used by **Authorization** Required field. #### PIN Debit Requests for PIN debit reversals need to use the same merchant reference number that was used in the transaction that is being reversed. Required field for all PIN Debit requests (purchase, credit, and reversal). #### FDC Nashville Global Certain circumstances can cause the processor to truncate this value to 15 or 17 characters for Level II and Level III processing, which can cause a discrepancy between the value you submit and the value included in some processor reports.
|
18
18
|
attr_accessor :code
|
19
19
|
|
20
|
+
# Brief description of the order or any comment you wish to add to the order.
|
21
|
+
attr_accessor :comments
|
22
|
+
|
23
|
+
attr_accessor :partner
|
24
|
+
|
20
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
26
|
def self.attribute_map
|
22
27
|
{
|
23
|
-
:'code' => :'code'
|
28
|
+
:'code' => :'code',
|
29
|
+
:'comments' => :'comments',
|
30
|
+
:'partner' => :'partner'
|
24
31
|
}
|
25
32
|
end
|
26
33
|
|
27
34
|
# Attribute type mapping.
|
28
35
|
def self.swagger_types
|
29
36
|
{
|
30
|
-
:'code' => :'String'
|
37
|
+
:'code' => :'String',
|
38
|
+
:'comments' => :'String',
|
39
|
+
:'partner' => :'Riskv1decisionsClientReferenceInformationPartner'
|
31
40
|
}
|
32
41
|
end
|
33
42
|
|
@@ -42,51 +51,49 @@ module CyberSource
|
|
42
51
|
if attributes.has_key?(:'code')
|
43
52
|
self.code = attributes[:'code']
|
44
53
|
end
|
54
|
+
|
55
|
+
if attributes.has_key?(:'comments')
|
56
|
+
self.comments = attributes[:'comments']
|
57
|
+
end
|
58
|
+
|
59
|
+
if attributes.has_key?(:'partner')
|
60
|
+
self.partner = attributes[:'partner']
|
61
|
+
end
|
45
62
|
end
|
46
63
|
|
47
64
|
# Show invalid properties with the reasons. Usually used together with valid?
|
48
65
|
# @return Array for valid properties with the reasons
|
49
66
|
def list_invalid_properties
|
50
67
|
invalid_properties = Array.new
|
51
|
-
if @code.nil?
|
52
|
-
invalid_properties.push('invalid value for "code", code cannot be nil.')
|
53
|
-
end
|
54
|
-
|
55
|
-
if @code.to_s.length > 50
|
56
|
-
invalid_properties.push('invalid value for "code", the character length must be smaller than or equal to 50.')
|
57
|
-
end
|
58
|
-
|
59
68
|
invalid_properties
|
60
69
|
end
|
61
70
|
|
62
71
|
# Check to see if the all the properties in the model are valid
|
63
72
|
# @return true if the model is valid
|
64
73
|
def valid?
|
65
|
-
return false if @code.nil?
|
66
|
-
return false if @code.to_s.length > 50
|
67
74
|
true
|
68
75
|
end
|
69
76
|
|
70
77
|
# Custom attribute writer method with validation
|
71
78
|
# @param [Object] code Value to be assigned
|
72
79
|
def code=(code)
|
73
|
-
if code.nil?
|
74
|
-
fail ArgumentError, 'code cannot be nil'
|
75
|
-
end
|
76
|
-
|
77
|
-
if code.to_s.length > 50
|
78
|
-
fail ArgumentError, 'invalid value for "code", the character length must be smaller than or equal to 50.'
|
79
|
-
end
|
80
|
-
|
81
80
|
@code = code
|
82
81
|
end
|
83
82
|
|
83
|
+
# Custom attribute writer method with validation
|
84
|
+
# @param [Object] comments Value to be assigned
|
85
|
+
def comments=(comments)
|
86
|
+
@comments = comments
|
87
|
+
end
|
88
|
+
|
84
89
|
# Checks equality by comparing each attribute.
|
85
90
|
# @param [Object] Object to be compared
|
86
91
|
def ==(o)
|
87
92
|
return true if self.equal?(o)
|
88
93
|
self.class == o.class &&
|
89
|
-
code == o.code
|
94
|
+
code == o.code &&
|
95
|
+
comments == o.comments &&
|
96
|
+
partner == o.partner
|
90
97
|
end
|
91
98
|
|
92
99
|
# @see the `==` method
|
@@ -98,7 +105,7 @@ module CyberSource
|
|
98
105
|
# Calculates hash code according to all attributes.
|
99
106
|
# @return [Fixnum] Hash code
|
100
107
|
def hash
|
101
|
-
[code].hash
|
108
|
+
[code, comments, partner].hash
|
102
109
|
end
|
103
110
|
|
104
111
|
# Builds the object from hash
|