cybersource_rest_client 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client.rb +1 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +89 -2
- 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/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 +0 -9
- 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/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/post_instrument_identifier_enrollment_request.rb +286 -0
- 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_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 +0 -54
- 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_bank_transfer_options.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +0 -144
- 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 +0 -27
- 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_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 +0 -108
- 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 +0 -18
- 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 +0 -369
- 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 +0 -99
- 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 +0 -18
- 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 +0 -117
- 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 +0 -81
- 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 +0 -126
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +0 -36
- 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 +0 -18
- 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 +0 -9
- 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 +0 -63
- 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 +0 -81
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +0 -63
- 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 +0 -45
- 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 +0 -36
- 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 +0 -9
- 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 +0 -9
- 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 +0 -9
- 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 +0 -9
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +0 -9
- 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_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 +0 -9
- 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 +0 -9
- data/lib/cybersource_rest_client/models/riskv1addressverifications_buyer_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1addressverifications_client_reference_information.rb +0 -18
- 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 -45
- 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 +0 -36
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +0 -27
- 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 +0 -36
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +0 -27
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_client_reference_information.rb +0 -9
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +0 -27
- 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 +0 -36
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +0 -270
- 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 +0 -99
- 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 +0 -36
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +0 -27
- 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 +0 -18
- 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 +0 -27
- 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 +0 -72
- 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 +1 -19
- 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 +0 -9
- 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 +0 -18
- 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/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 +0 -9
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information_partner.rb +0 -18
- 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
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c03974f0be136a4f4514d80b51ea5c88e47d3d7c168a1bba9ef99a11d01f6da0
|
|
4
|
+
data.tar.gz: 05dac7d9b1068b98c93e29260b54374d8f1653d5102ee342adbc4a222995221f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6faa9cdd6c4b4486b9d0d6a4f57d5b5d38c2a35340117043796fb77dc02a16b1fa28f472f5c6652a8c4374e019f70f47eb98cdb8a7d7f9d143b699c2279f0984
|
|
7
|
+
data.tar.gz: ae8c316d4a682b5ace2b233b67cac4afe5d841efbd22feea88e92113990200a606d20396f6f6b4c3a7c42881ebec81a88f26486e97e2aa6209f6be481442baf1
|
|
@@ -136,6 +136,7 @@ require 'cybersource_rest_client/models/payment_instrument_list_for_customer__li
|
|
|
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'
|
|
@@ -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
|
|
@@ -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
|
|
@@ -110,102 +110,48 @@ module CyberSource
|
|
|
110
110
|
# @return Array for valid properties with the reasons
|
|
111
111
|
def list_invalid_properties
|
|
112
112
|
invalid_properties = Array.new
|
|
113
|
-
if !@merchant_logo.nil? && @merchant_logo.to_s.length > 10000000
|
|
114
|
-
invalid_properties.push('invalid value for "merchant_logo", the character length must be smaller than or equal to 10000000.')
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
if !@merchant_display_name.nil? && @merchant_display_name.to_s.length > 100
|
|
118
|
-
invalid_properties.push('invalid value for "merchant_display_name", the character length must be smaller than or equal to 100.')
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
if !@custom_email_message.nil? && @custom_email_message.to_s.length > 2000
|
|
122
|
-
invalid_properties.push('invalid value for "custom_email_message", the character length must be smaller than or equal to 2000.')
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
if !@delivery_language.nil? && @delivery_language.to_s.length > 6
|
|
126
|
-
invalid_properties.push('invalid value for "delivery_language", the character length must be smaller than or equal to 6.')
|
|
127
|
-
end
|
|
128
|
-
|
|
129
|
-
if !@default_currency_code.nil? && @default_currency_code.to_s.length > 3
|
|
130
|
-
invalid_properties.push('invalid value for "default_currency_code", the character length must be smaller than or equal to 3.')
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
if !@payer_authentication3_ds_version.nil? && @payer_authentication3_ds_version.to_s.length > 8
|
|
134
|
-
invalid_properties.push('invalid value for "payer_authentication3_ds_version", the character length must be smaller than or equal to 8.')
|
|
135
|
-
end
|
|
136
|
-
|
|
137
113
|
invalid_properties
|
|
138
114
|
end
|
|
139
115
|
|
|
140
116
|
# Check to see if the all the properties in the model are valid
|
|
141
117
|
# @return true if the model is valid
|
|
142
118
|
def valid?
|
|
143
|
-
return false if !@merchant_logo.nil? && @merchant_logo.to_s.length > 10000000
|
|
144
|
-
return false if !@merchant_display_name.nil? && @merchant_display_name.to_s.length > 100
|
|
145
|
-
return false if !@custom_email_message.nil? && @custom_email_message.to_s.length > 2000
|
|
146
|
-
return false if !@delivery_language.nil? && @delivery_language.to_s.length > 6
|
|
147
|
-
return false if !@default_currency_code.nil? && @default_currency_code.to_s.length > 3
|
|
148
|
-
return false if !@payer_authentication3_ds_version.nil? && @payer_authentication3_ds_version.to_s.length > 8
|
|
149
119
|
true
|
|
150
120
|
end
|
|
151
121
|
|
|
152
122
|
# Custom attribute writer method with validation
|
|
153
123
|
# @param [Object] merchant_logo Value to be assigned
|
|
154
124
|
def merchant_logo=(merchant_logo)
|
|
155
|
-
if !merchant_logo.nil? && merchant_logo.to_s.length > 10000000
|
|
156
|
-
fail ArgumentError, 'invalid value for "merchant_logo", the character length must be smaller than or equal to 10000000.'
|
|
157
|
-
end
|
|
158
|
-
|
|
159
125
|
@merchant_logo = merchant_logo
|
|
160
126
|
end
|
|
161
127
|
|
|
162
128
|
# Custom attribute writer method with validation
|
|
163
129
|
# @param [Object] merchant_display_name Value to be assigned
|
|
164
130
|
def merchant_display_name=(merchant_display_name)
|
|
165
|
-
if !merchant_display_name.nil? && merchant_display_name.to_s.length > 100
|
|
166
|
-
fail ArgumentError, 'invalid value for "merchant_display_name", the character length must be smaller than or equal to 100.'
|
|
167
|
-
end
|
|
168
|
-
|
|
169
131
|
@merchant_display_name = merchant_display_name
|
|
170
132
|
end
|
|
171
133
|
|
|
172
134
|
# Custom attribute writer method with validation
|
|
173
135
|
# @param [Object] custom_email_message Value to be assigned
|
|
174
136
|
def custom_email_message=(custom_email_message)
|
|
175
|
-
if !custom_email_message.nil? && custom_email_message.to_s.length > 2000
|
|
176
|
-
fail ArgumentError, 'invalid value for "custom_email_message", the character length must be smaller than or equal to 2000.'
|
|
177
|
-
end
|
|
178
|
-
|
|
179
137
|
@custom_email_message = custom_email_message
|
|
180
138
|
end
|
|
181
139
|
|
|
182
140
|
# Custom attribute writer method with validation
|
|
183
141
|
# @param [Object] delivery_language Value to be assigned
|
|
184
142
|
def delivery_language=(delivery_language)
|
|
185
|
-
if !delivery_language.nil? && delivery_language.to_s.length > 6
|
|
186
|
-
fail ArgumentError, 'invalid value for "delivery_language", the character length must be smaller than or equal to 6.'
|
|
187
|
-
end
|
|
188
|
-
|
|
189
143
|
@delivery_language = delivery_language
|
|
190
144
|
end
|
|
191
145
|
|
|
192
146
|
# Custom attribute writer method with validation
|
|
193
147
|
# @param [Object] default_currency_code Value to be assigned
|
|
194
148
|
def default_currency_code=(default_currency_code)
|
|
195
|
-
if !default_currency_code.nil? && default_currency_code.to_s.length > 3
|
|
196
|
-
fail ArgumentError, 'invalid value for "default_currency_code", the character length must be smaller than or equal to 3.'
|
|
197
|
-
end
|
|
198
|
-
|
|
199
149
|
@default_currency_code = default_currency_code
|
|
200
150
|
end
|
|
201
151
|
|
|
202
152
|
# Custom attribute writer method with validation
|
|
203
153
|
# @param [Object] payer_authentication3_ds_version Value to be assigned
|
|
204
154
|
def payer_authentication3_ds_version=(payer_authentication3_ds_version)
|
|
205
|
-
if !payer_authentication3_ds_version.nil? && payer_authentication3_ds_version.to_s.length > 8
|
|
206
|
-
fail ArgumentError, 'invalid value for "payer_authentication3_ds_version", the character length must be smaller than or equal to 8.'
|
|
207
|
-
end
|
|
208
|
-
|
|
209
155
|
@payer_authentication3_ds_version = payer_authentication3_ds_version
|
|
210
156
|
end
|
|
211
157
|
|
|
@@ -57,18 +57,10 @@ module CyberSource
|
|
|
57
57
|
# @return Array for valid properties with the reasons
|
|
58
58
|
def list_invalid_properties
|
|
59
59
|
invalid_properties = Array.new
|
|
60
|
-
if !@font_color.nil? && @font_color.to_s.length > 7
|
|
61
|
-
invalid_properties.push('invalid value for "font_color", the character length must be smaller than or equal to 7.')
|
|
62
|
-
end
|
|
63
|
-
|
|
64
60
|
#if !@font_color.nil? && @font_color !~ Regexp.new(/^#(?:[0-9a-fA-F]{3}){1,2}$/)
|
|
65
61
|
#invalid_properties.push('invalid value for "font_color", must conform to the pattern /^#(?:[0-9a-fA-F]{3}){1,2}$/.')
|
|
66
62
|
#end
|
|
67
63
|
|
|
68
|
-
if !@background_color.nil? && @background_color.to_s.length > 7
|
|
69
|
-
invalid_properties.push('invalid value for "background_color", the character length must be smaller than or equal to 7.')
|
|
70
|
-
end
|
|
71
|
-
|
|
72
64
|
#if !@background_color.nil? && @background_color !~ Regexp.new(/^#(?:[0-9a-fA-F]{3}){1,2}$/)
|
|
73
65
|
#invalid_properties.push('invalid value for "background_color", must conform to the pattern /^#(?:[0-9a-fA-F]{3}){1,2}$/.')
|
|
74
66
|
#end
|
|
@@ -79,9 +71,7 @@ module CyberSource
|
|
|
79
71
|
# Check to see if the all the properties in the model are valid
|
|
80
72
|
# @return true if the model is valid
|
|
81
73
|
def valid?
|
|
82
|
-
return false if !@font_color.nil? && @font_color.to_s.length > 7
|
|
83
74
|
#return false if !@font_color.nil? && @font_color !~ Regexp.new(/^#(?:[0-9a-fA-F]{3}){1,2}$/)
|
|
84
|
-
return false if !@background_color.nil? && @background_color.to_s.length > 7
|
|
85
75
|
#return false if !@background_color.nil? && @background_color !~ Regexp.new(/^#(?:[0-9a-fA-F]{3}){1,2}$/)
|
|
86
76
|
true
|
|
87
77
|
end
|
|
@@ -89,10 +79,6 @@ module CyberSource
|
|
|
89
79
|
# Custom attribute writer method with validation
|
|
90
80
|
# @param [Object] font_color Value to be assigned
|
|
91
81
|
def font_color=(font_color)
|
|
92
|
-
if !font_color.nil? && font_color.to_s.length > 7
|
|
93
|
-
fail ArgumentError, 'invalid value for "font_color", the character length must be smaller than or equal to 7.'
|
|
94
|
-
end
|
|
95
|
-
|
|
96
82
|
#if !font_color.nil? && font_color !~ Regexp.new(/^#(?:[0-9a-fA-F]{3}){1,2}$/)
|
|
97
83
|
#fail ArgumentError, 'invalid value for "font_color", must conform to the pattern /^#(?:[0-9a-fA-F]{3}){1,2}$/.'
|
|
98
84
|
#end
|
|
@@ -103,10 +89,6 @@ module CyberSource
|
|
|
103
89
|
# Custom attribute writer method with validation
|
|
104
90
|
# @param [Object] background_color Value to be assigned
|
|
105
91
|
def background_color=(background_color)
|
|
106
|
-
if !background_color.nil? && background_color.to_s.length > 7
|
|
107
|
-
fail ArgumentError, 'invalid value for "background_color", the character length must be smaller than or equal to 7.'
|
|
108
|
-
end
|
|
109
|
-
|
|
110
92
|
#if !background_color.nil? && background_color !~ Regexp.new(/^#(?:[0-9a-fA-F]{3}){1,2}$/)
|
|
111
93
|
#fail ArgumentError, 'invalid value for "background_color", must conform to the pattern /^#(?:[0-9a-fA-F]{3}){1,2}$/.'
|
|
112
94
|
#end
|
|
@@ -48,27 +48,18 @@ module CyberSource
|
|
|
48
48
|
# @return Array for valid properties with the reasons
|
|
49
49
|
def list_invalid_properties
|
|
50
50
|
invalid_properties = Array.new
|
|
51
|
-
if !@name.nil? && @name.to_s.length > 100
|
|
52
|
-
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 100.')
|
|
53
|
-
end
|
|
54
|
-
|
|
55
51
|
invalid_properties
|
|
56
52
|
end
|
|
57
53
|
|
|
58
54
|
# Check to see if the all the properties in the model are valid
|
|
59
55
|
# @return true if the model is valid
|
|
60
56
|
def valid?
|
|
61
|
-
return false if !@name.nil? && @name.to_s.length > 100
|
|
62
57
|
true
|
|
63
58
|
end
|
|
64
59
|
|
|
65
60
|
# Custom attribute writer method with validation
|
|
66
61
|
# @param [Object] name Value to be assigned
|
|
67
62
|
def name=(name)
|
|
68
|
-
if !name.nil? && name.to_s.length > 100
|
|
69
|
-
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 100.'
|
|
70
|
-
end
|
|
71
|
-
|
|
72
63
|
@name = name
|
|
73
64
|
end
|
|
74
65
|
|