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
@@ -76,42 +76,24 @@ module CyberSource
|
|
76
76
|
# @return Array for valid properties with the reasons
|
77
77
|
def list_invalid_properties
|
78
78
|
invalid_properties = Array.new
|
79
|
-
if !@company_tax_id.nil? && @company_tax_id.to_s.length > 9
|
80
|
-
invalid_properties.push('invalid value for "company_tax_id", the character length must be smaller than or equal to 9.')
|
81
|
-
end
|
82
|
-
|
83
|
-
if !@currency.nil? && @currency.to_s.length > 3
|
84
|
-
invalid_properties.push('invalid value for "currency", the character length must be smaller than or equal to 3.')
|
85
|
-
end
|
86
|
-
|
87
79
|
invalid_properties
|
88
80
|
end
|
89
81
|
|
90
82
|
# Check to see if the all the properties in the model are valid
|
91
83
|
# @return true if the model is valid
|
92
84
|
def valid?
|
93
|
-
return false if !@company_tax_id.nil? && @company_tax_id.to_s.length > 9
|
94
|
-
return false if !@currency.nil? && @currency.to_s.length > 3
|
95
85
|
true
|
96
86
|
end
|
97
87
|
|
98
88
|
# Custom attribute writer method with validation
|
99
89
|
# @param [Object] company_tax_id Value to be assigned
|
100
90
|
def company_tax_id=(company_tax_id)
|
101
|
-
if !company_tax_id.nil? && company_tax_id.to_s.length > 9
|
102
|
-
fail ArgumentError, 'invalid value for "company_tax_id", the character length must be smaller than or equal to 9.'
|
103
|
-
end
|
104
|
-
|
105
91
|
@company_tax_id = company_tax_id
|
106
92
|
end
|
107
93
|
|
108
94
|
# Custom attribute writer method with validation
|
109
95
|
# @param [Object] currency Value to be assigned
|
110
96
|
def currency=(currency)
|
111
|
-
if !currency.nil? && currency.to_s.length > 3
|
112
|
-
fail ArgumentError, 'invalid value for "currency", the character length must be smaller than or equal to 3.'
|
113
|
-
end
|
114
|
-
|
115
97
|
@currency = currency
|
116
98
|
end
|
117
99
|
|
@@ -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 !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
52
|
-
invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 20.')
|
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 !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
62
57
|
true
|
63
58
|
end
|
64
59
|
|
65
60
|
# Custom attribute writer method with validation
|
66
61
|
# @param [Object] administrative_area Value to be assigned
|
67
62
|
def administrative_area=(administrative_area)
|
68
|
-
if !administrative_area.nil? && administrative_area.to_s.length > 20
|
69
|
-
fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 20.'
|
70
|
-
end
|
71
|
-
|
72
63
|
@administrative_area = administrative_area
|
73
64
|
end
|
74
65
|
|
@@ -65,27 +65,18 @@ module CyberSource
|
|
65
65
|
# @return Array for valid properties with the reasons
|
66
66
|
def list_invalid_properties
|
67
67
|
invalid_properties = Array.new
|
68
|
-
if !@id.nil? && @id.to_s.length > 26
|
69
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 26.')
|
70
|
-
end
|
71
|
-
|
72
68
|
invalid_properties
|
73
69
|
end
|
74
70
|
|
75
71
|
# Check to see if the all the properties in the model are valid
|
76
72
|
# @return true if the model is valid
|
77
73
|
def valid?
|
78
|
-
return false if !@id.nil? && @id.to_s.length > 26
|
79
74
|
true
|
80
75
|
end
|
81
76
|
|
82
77
|
# Custom attribute writer method with validation
|
83
78
|
# @param [Object] id Value to be assigned
|
84
79
|
def id=(id)
|
85
|
-
if !id.nil? && id.to_s.length > 26
|
86
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 26.'
|
87
|
-
end
|
88
|
-
|
89
80
|
@id = id
|
90
81
|
end
|
91
82
|
|
data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb
CHANGED
@@ -110,87 +110,42 @@ 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 !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
114
|
-
invalid_properties.push('invalid value for "expiration_month", the character length must be smaller than or equal to 2.')
|
115
|
-
end
|
116
|
-
|
117
|
-
if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
118
|
-
invalid_properties.push('invalid value for "expiration_year", the character length must be smaller than or equal to 4.')
|
119
|
-
end
|
120
|
-
|
121
|
-
if !@issue_number.nil? && @issue_number.to_s.length > 2
|
122
|
-
invalid_properties.push('invalid value for "issue_number", the character length must be smaller than or equal to 2.')
|
123
|
-
end
|
124
|
-
|
125
|
-
if !@start_month.nil? && @start_month.to_s.length > 2
|
126
|
-
invalid_properties.push('invalid value for "start_month", the character length must be smaller than or equal to 2.')
|
127
|
-
end
|
128
|
-
|
129
|
-
if !@start_year.nil? && @start_year.to_s.length > 4
|
130
|
-
invalid_properties.push('invalid value for "start_year", the character length must be smaller than or equal to 4.')
|
131
|
-
end
|
132
|
-
|
133
113
|
invalid_properties
|
134
114
|
end
|
135
115
|
|
136
116
|
# Check to see if the all the properties in the model are valid
|
137
117
|
# @return true if the model is valid
|
138
118
|
def valid?
|
139
|
-
return false if !@expiration_month.nil? && @expiration_month.to_s.length > 2
|
140
|
-
return false if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
141
|
-
return false if !@issue_number.nil? && @issue_number.to_s.length > 2
|
142
|
-
return false if !@start_month.nil? && @start_month.to_s.length > 2
|
143
|
-
return false if !@start_year.nil? && @start_year.to_s.length > 4
|
144
119
|
true
|
145
120
|
end
|
146
121
|
|
147
122
|
# Custom attribute writer method with validation
|
148
123
|
# @param [Object] expiration_month Value to be assigned
|
149
124
|
def expiration_month=(expiration_month)
|
150
|
-
if !expiration_month.nil? && expiration_month.to_s.length > 2
|
151
|
-
fail ArgumentError, 'invalid value for "expiration_month", the character length must be smaller than or equal to 2.'
|
152
|
-
end
|
153
|
-
|
154
125
|
@expiration_month = expiration_month
|
155
126
|
end
|
156
127
|
|
157
128
|
# Custom attribute writer method with validation
|
158
129
|
# @param [Object] expiration_year Value to be assigned
|
159
130
|
def expiration_year=(expiration_year)
|
160
|
-
if !expiration_year.nil? && expiration_year.to_s.length > 4
|
161
|
-
fail ArgumentError, 'invalid value for "expiration_year", the character length must be smaller than or equal to 4.'
|
162
|
-
end
|
163
|
-
|
164
131
|
@expiration_year = expiration_year
|
165
132
|
end
|
166
133
|
|
167
134
|
# Custom attribute writer method with validation
|
168
135
|
# @param [Object] issue_number Value to be assigned
|
169
136
|
def issue_number=(issue_number)
|
170
|
-
if !issue_number.nil? && issue_number.to_s.length > 2
|
171
|
-
fail ArgumentError, 'invalid value for "issue_number", the character length must be smaller than or equal to 2.'
|
172
|
-
end
|
173
|
-
|
174
137
|
@issue_number = issue_number
|
175
138
|
end
|
176
139
|
|
177
140
|
# Custom attribute writer method with validation
|
178
141
|
# @param [Object] start_month Value to be assigned
|
179
142
|
def start_month=(start_month)
|
180
|
-
if !start_month.nil? && start_month.to_s.length > 2
|
181
|
-
fail ArgumentError, 'invalid value for "start_month", the character length must be smaller than or equal to 2.'
|
182
|
-
end
|
183
|
-
|
184
143
|
@start_month = start_month
|
185
144
|
end
|
186
145
|
|
187
146
|
# Custom attribute writer method with validation
|
188
147
|
# @param [Object] start_year Value to be assigned
|
189
148
|
def start_year=(start_year)
|
190
|
-
if !start_year.nil? && start_year.to_s.length > 4
|
191
|
-
fail ArgumentError, 'invalid value for "start_year", the character length must be smaller than or equal to 4.'
|
192
|
-
end
|
193
|
-
|
194
149
|
@start_year = start_year
|
195
150
|
end
|
196
151
|
|
@@ -57,42 +57,24 @@ 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 !@requestor_id.nil? && @requestor_id.to_s.length > 11
|
61
|
-
invalid_properties.push('invalid value for "requestor_id", the character length must be smaller than or equal to 11.')
|
62
|
-
end
|
63
|
-
|
64
|
-
if !@transaction_type.nil? && @transaction_type.to_s.length > 1
|
65
|
-
invalid_properties.push('invalid value for "transaction_type", the character length must be smaller than or equal to 1.')
|
66
|
-
end
|
67
|
-
|
68
60
|
invalid_properties
|
69
61
|
end
|
70
62
|
|
71
63
|
# Check to see if the all the properties in the model are valid
|
72
64
|
# @return true if the model is valid
|
73
65
|
def valid?
|
74
|
-
return false if !@requestor_id.nil? && @requestor_id.to_s.length > 11
|
75
|
-
return false if !@transaction_type.nil? && @transaction_type.to_s.length > 1
|
76
66
|
true
|
77
67
|
end
|
78
68
|
|
79
69
|
# Custom attribute writer method with validation
|
80
70
|
# @param [Object] requestor_id Value to be assigned
|
81
71
|
def requestor_id=(requestor_id)
|
82
|
-
if !requestor_id.nil? && requestor_id.to_s.length > 11
|
83
|
-
fail ArgumentError, 'invalid value for "requestor_id", the character length must be smaller than or equal to 11.'
|
84
|
-
end
|
85
|
-
|
86
72
|
@requestor_id = requestor_id
|
87
73
|
end
|
88
74
|
|
89
75
|
# Custom attribute writer method with validation
|
90
76
|
# @param [Object] transaction_type Value to be assigned
|
91
77
|
def transaction_type=(transaction_type)
|
92
|
-
if !transaction_type.nil? && transaction_type.to_s.length > 1
|
93
|
-
fail ArgumentError, 'invalid value for "transaction_type", the character length must be smaller than or equal to 1.'
|
94
|
-
end
|
95
|
-
|
96
78
|
@transaction_type = transaction_type
|
97
79
|
end
|
98
80
|
|
@@ -48,36 +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 !@id.nil? && @id.to_s.length > 32
|
52
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 32.')
|
53
|
-
end
|
54
|
-
|
55
|
-
if !@id.nil? && @id.to_s.length < 12
|
56
|
-
invalid_properties.push('invalid value for "id", the character length must be great than or equal to 12.')
|
57
|
-
end
|
58
|
-
|
59
51
|
invalid_properties
|
60
52
|
end
|
61
53
|
|
62
54
|
# Check to see if the all the properties in the model are valid
|
63
55
|
# @return true if the model is valid
|
64
56
|
def valid?
|
65
|
-
return false if !@id.nil? && @id.to_s.length > 32
|
66
|
-
return false if !@id.nil? && @id.to_s.length < 12
|
67
57
|
true
|
68
58
|
end
|
69
59
|
|
70
60
|
# Custom attribute writer method with validation
|
71
61
|
# @param [Object] id Value to be assigned
|
72
62
|
def id=(id)
|
73
|
-
if !id.nil? && id.to_s.length > 32
|
74
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 32.'
|
75
|
-
end
|
76
|
-
|
77
|
-
if !id.nil? && id.to_s.length < 12
|
78
|
-
fail ArgumentError, 'invalid value for "id", the character length must be great than or equal to 12.'
|
79
|
-
end
|
80
|
-
|
81
63
|
@id = id
|
82
64
|
end
|
83
65
|
|
@@ -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 !@alternate_name.nil? && @alternate_name.to_s.length > 13
|
52
|
-
invalid_properties.push('invalid value for "alternate_name", the character length must be smaller than or equal to 13.')
|
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 !@alternate_name.nil? && @alternate_name.to_s.length > 13
|
62
57
|
true
|
63
58
|
end
|
64
59
|
|
65
60
|
# Custom attribute writer method with validation
|
66
61
|
# @param [Object] alternate_name Value to be assigned
|
67
62
|
def alternate_name=(alternate_name)
|
68
|
-
if !alternate_name.nil? && alternate_name.to_s.length > 13
|
69
|
-
fail ArgumentError, 'invalid value for "alternate_name", the character length must be smaller than or equal to 13.'
|
70
|
-
end
|
71
|
-
|
72
63
|
@alternate_name = alternate_name
|
73
64
|
end
|
74
65
|
|
@@ -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 !@sec_code.nil? && @sec_code.to_s.length > 3
|
52
|
-
invalid_properties.push('invalid value for "sec_code", the character length must be smaller than or equal to 3.')
|
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 !@sec_code.nil? && @sec_code.to_s.length > 3
|
62
57
|
true
|
63
58
|
end
|
64
59
|
|
65
60
|
# Custom attribute writer method with validation
|
66
61
|
# @param [Object] sec_code Value to be assigned
|
67
62
|
def sec_code=(sec_code)
|
68
|
-
if !sec_code.nil? && sec_code.to_s.length > 3
|
69
|
-
fail ArgumentError, 'invalid value for "sec_code", the character length must be smaller than or equal to 3.'
|
70
|
-
end
|
71
|
-
|
72
63
|
@sec_code = sec_code
|
73
64
|
end
|
74
65
|
|
data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb
CHANGED
@@ -81,36 +81,18 @@ module CyberSource
|
|
81
81
|
# @return Array for valid properties with the reasons
|
82
82
|
def list_invalid_properties
|
83
83
|
invalid_properties = Array.new
|
84
|
-
if !@id.nil? && @id.to_s.length > 32
|
85
|
-
invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 32.')
|
86
|
-
end
|
87
|
-
|
88
|
-
if !@id.nil? && @id.to_s.length < 1
|
89
|
-
invalid_properties.push('invalid value for "id", the character length must be great than or equal to 1.')
|
90
|
-
end
|
91
|
-
|
92
84
|
invalid_properties
|
93
85
|
end
|
94
86
|
|
95
87
|
# Check to see if the all the properties in the model are valid
|
96
88
|
# @return true if the model is valid
|
97
89
|
def valid?
|
98
|
-
return false if !@id.nil? && @id.to_s.length > 32
|
99
|
-
return false if !@id.nil? && @id.to_s.length < 1
|
100
90
|
true
|
101
91
|
end
|
102
92
|
|
103
93
|
# Custom attribute writer method with validation
|
104
94
|
# @param [Object] id Value to be assigned
|
105
95
|
def id=(id)
|
106
|
-
if !id.nil? && id.to_s.length > 32
|
107
|
-
fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 32.'
|
108
|
-
end
|
109
|
-
|
110
|
-
if !id.nil? && id.to_s.length < 1
|
111
|
-
fail ArgumentError, 'invalid value for "id", the character length must be great than or equal to 1.'
|
112
|
-
end
|
113
|
-
|
114
96
|
@id = id
|
115
97
|
end
|
116
98
|
|
data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb
CHANGED
@@ -138,177 +138,78 @@ module CyberSource
|
|
138
138
|
# @return Array for valid properties with the reasons
|
139
139
|
def list_invalid_properties
|
140
140
|
invalid_properties = Array.new
|
141
|
-
if !@first_name.nil? && @first_name.to_s.length > 60
|
142
|
-
invalid_properties.push('invalid value for "first_name", the character length must be smaller than or equal to 60.')
|
143
|
-
end
|
144
|
-
|
145
|
-
if !@last_name.nil? && @last_name.to_s.length > 60
|
146
|
-
invalid_properties.push('invalid value for "last_name", the character length must be smaller than or equal to 60.')
|
147
|
-
end
|
148
|
-
|
149
|
-
if !@company.nil? && @company.to_s.length > 60
|
150
|
-
invalid_properties.push('invalid value for "company", the character length must be smaller than or equal to 60.')
|
151
|
-
end
|
152
|
-
|
153
|
-
if !@address1.nil? && @address1.to_s.length > 60
|
154
|
-
invalid_properties.push('invalid value for "address1", the character length must be smaller than or equal to 60.')
|
155
|
-
end
|
156
|
-
|
157
|
-
if !@address2.nil? && @address2.to_s.length > 60
|
158
|
-
invalid_properties.push('invalid value for "address2", the character length must be smaller than or equal to 60.')
|
159
|
-
end
|
160
|
-
|
161
|
-
if !@locality.nil? && @locality.to_s.length > 50
|
162
|
-
invalid_properties.push('invalid value for "locality", the character length must be smaller than or equal to 50.')
|
163
|
-
end
|
164
|
-
|
165
|
-
if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
166
|
-
invalid_properties.push('invalid value for "administrative_area", the character length must be smaller than or equal to 20.')
|
167
|
-
end
|
168
|
-
|
169
|
-
if !@postal_code.nil? && @postal_code.to_s.length > 10
|
170
|
-
invalid_properties.push('invalid value for "postal_code", the character length must be smaller than or equal to 10.')
|
171
|
-
end
|
172
|
-
|
173
|
-
if !@country.nil? && @country.to_s.length > 2
|
174
|
-
invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
|
175
|
-
end
|
176
|
-
|
177
|
-
if !@email.nil? && @email.to_s.length > 320
|
178
|
-
invalid_properties.push('invalid value for "email", the character length must be smaller than or equal to 320.')
|
179
|
-
end
|
180
|
-
|
181
|
-
if !@phone_number.nil? && @phone_number.to_s.length > 15
|
182
|
-
invalid_properties.push('invalid value for "phone_number", the character length must be smaller than or equal to 15.')
|
183
|
-
end
|
184
|
-
|
185
141
|
invalid_properties
|
186
142
|
end
|
187
143
|
|
188
144
|
# Check to see if the all the properties in the model are valid
|
189
145
|
# @return true if the model is valid
|
190
146
|
def valid?
|
191
|
-
return false if !@first_name.nil? && @first_name.to_s.length > 60
|
192
|
-
return false if !@last_name.nil? && @last_name.to_s.length > 60
|
193
|
-
return false if !@company.nil? && @company.to_s.length > 60
|
194
|
-
return false if !@address1.nil? && @address1.to_s.length > 60
|
195
|
-
return false if !@address2.nil? && @address2.to_s.length > 60
|
196
|
-
return false if !@locality.nil? && @locality.to_s.length > 50
|
197
|
-
return false if !@administrative_area.nil? && @administrative_area.to_s.length > 20
|
198
|
-
return false if !@postal_code.nil? && @postal_code.to_s.length > 10
|
199
|
-
return false if !@country.nil? && @country.to_s.length > 2
|
200
|
-
return false if !@email.nil? && @email.to_s.length > 320
|
201
|
-
return false if !@phone_number.nil? && @phone_number.to_s.length > 15
|
202
147
|
true
|
203
148
|
end
|
204
149
|
|
205
150
|
# Custom attribute writer method with validation
|
206
151
|
# @param [Object] first_name Value to be assigned
|
207
152
|
def first_name=(first_name)
|
208
|
-
if !first_name.nil? && first_name.to_s.length > 60
|
209
|
-
fail ArgumentError, 'invalid value for "first_name", the character length must be smaller than or equal to 60.'
|
210
|
-
end
|
211
|
-
|
212
153
|
@first_name = first_name
|
213
154
|
end
|
214
155
|
|
215
156
|
# Custom attribute writer method with validation
|
216
157
|
# @param [Object] last_name Value to be assigned
|
217
158
|
def last_name=(last_name)
|
218
|
-
if !last_name.nil? && last_name.to_s.length > 60
|
219
|
-
fail ArgumentError, 'invalid value for "last_name", the character length must be smaller than or equal to 60.'
|
220
|
-
end
|
221
|
-
|
222
159
|
@last_name = last_name
|
223
160
|
end
|
224
161
|
|
225
162
|
# Custom attribute writer method with validation
|
226
163
|
# @param [Object] company Value to be assigned
|
227
164
|
def company=(company)
|
228
|
-
if !company.nil? && company.to_s.length > 60
|
229
|
-
fail ArgumentError, 'invalid value for "company", the character length must be smaller than or equal to 60.'
|
230
|
-
end
|
231
|
-
|
232
165
|
@company = company
|
233
166
|
end
|
234
167
|
|
235
168
|
# Custom attribute writer method with validation
|
236
169
|
# @param [Object] address1 Value to be assigned
|
237
170
|
def address1=(address1)
|
238
|
-
if !address1.nil? && address1.to_s.length > 60
|
239
|
-
fail ArgumentError, 'invalid value for "address1", the character length must be smaller than or equal to 60.'
|
240
|
-
end
|
241
|
-
|
242
171
|
@address1 = address1
|
243
172
|
end
|
244
173
|
|
245
174
|
# Custom attribute writer method with validation
|
246
175
|
# @param [Object] address2 Value to be assigned
|
247
176
|
def address2=(address2)
|
248
|
-
if !address2.nil? && address2.to_s.length > 60
|
249
|
-
fail ArgumentError, 'invalid value for "address2", the character length must be smaller than or equal to 60.'
|
250
|
-
end
|
251
|
-
|
252
177
|
@address2 = address2
|
253
178
|
end
|
254
179
|
|
255
180
|
# Custom attribute writer method with validation
|
256
181
|
# @param [Object] locality Value to be assigned
|
257
182
|
def locality=(locality)
|
258
|
-
if !locality.nil? && locality.to_s.length > 50
|
259
|
-
fail ArgumentError, 'invalid value for "locality", the character length must be smaller than or equal to 50.'
|
260
|
-
end
|
261
|
-
|
262
183
|
@locality = locality
|
263
184
|
end
|
264
185
|
|
265
186
|
# Custom attribute writer method with validation
|
266
187
|
# @param [Object] administrative_area Value to be assigned
|
267
188
|
def administrative_area=(administrative_area)
|
268
|
-
if !administrative_area.nil? && administrative_area.to_s.length > 20
|
269
|
-
fail ArgumentError, 'invalid value for "administrative_area", the character length must be smaller than or equal to 20.'
|
270
|
-
end
|
271
|
-
|
272
189
|
@administrative_area = administrative_area
|
273
190
|
end
|
274
191
|
|
275
192
|
# Custom attribute writer method with validation
|
276
193
|
# @param [Object] postal_code Value to be assigned
|
277
194
|
def postal_code=(postal_code)
|
278
|
-
if !postal_code.nil? && postal_code.to_s.length > 10
|
279
|
-
fail ArgumentError, 'invalid value for "postal_code", the character length must be smaller than or equal to 10.'
|
280
|
-
end
|
281
|
-
|
282
195
|
@postal_code = postal_code
|
283
196
|
end
|
284
197
|
|
285
198
|
# Custom attribute writer method with validation
|
286
199
|
# @param [Object] country Value to be assigned
|
287
200
|
def country=(country)
|
288
|
-
if !country.nil? && country.to_s.length > 2
|
289
|
-
fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 2.'
|
290
|
-
end
|
291
|
-
|
292
201
|
@country = country
|
293
202
|
end
|
294
203
|
|
295
204
|
# Custom attribute writer method with validation
|
296
205
|
# @param [Object] email Value to be assigned
|
297
206
|
def email=(email)
|
298
|
-
if !email.nil? && email.to_s.length > 320
|
299
|
-
fail ArgumentError, 'invalid value for "email", the character length must be smaller than or equal to 320.'
|
300
|
-
end
|
301
|
-
|
302
207
|
@email = email
|
303
208
|
end
|
304
209
|
|
305
210
|
# Custom attribute writer method with validation
|
306
211
|
# @param [Object] phone_number Value to be assigned
|
307
212
|
def phone_number=(phone_number)
|
308
|
-
if !phone_number.nil? && phone_number.to_s.length > 15
|
309
|
-
fail ArgumentError, 'invalid value for "phone_number", the character length must be smaller than or equal to 15.'
|
310
|
-
end
|
311
|
-
|
312
213
|
@phone_number = phone_number
|
313
214
|
end
|
314
215
|
|