cybersource_rest_client 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cybersource_rest_client.rb +3 -39
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +4 -4
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +2 -2
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +4 -4
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +4 -4
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +4 -10
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +2 -2
- data/lib/cybersource_rest_client/api/reports_api.rb +12 -25
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +4 -4
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +6 -6
- data/lib/cybersource_rest_client/models/capture_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_credit_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_payment_instrument_request.rb +2 -48
- data/lib/cybersource_rest_client/models/create_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/create_search_request.rb +2 -2
- data/lib/cybersource_rest_client/models/embedded_instrument_identifier.rb +2 -48
- data/lib/cybersource_rest_client/models/file_detail.rb +1 -35
- data/lib/cybersource_rest_client/models/instrument_identifier.rb +2 -48
- data/lib/cybersource_rest_client/models/payment_instrument.rb +2 -48
- data/lib/cybersource_rest_client/models/payment_instrument_bank_account.rb +0 -34
- data/lib/cybersource_rest_client/models/payment_instrument_card.rb +2 -36
- data/lib/cybersource_rest_client/models/payment_instruments_for_instrument_identifier.rb +1 -35
- data/lib/cybersource_rest_client/models/personal_identification.rb +1 -35
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +0 -34
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +0 -34
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +0 -46
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +0 -34
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +0 -34
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information_details.rb +0 -34
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb +13 -37
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +7 -7
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_avs.rb +15 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +0 -46
- data/lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb +1 -47
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +0 -34
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +0 -46
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +0 -34
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_processor_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +0 -46
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +0 -34
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +0 -46
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +0 -34
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_error_information.rb +0 -34
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_processor_information.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb +0 -34
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +9 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +0 -34
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +6 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_surcharge.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +7 -41
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +32 -50
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +4 -26
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -35
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +8 -8
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +32 -16
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details_surcharge.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_bill_to.rb +14 -48
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/reporting_v3_net_fundings_get200_response_net_funding_summaries.rb +1 -34
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_get200_response_report_definitions.rb +0 -22
- data/lib/cybersource_rest_client/models/reporting_v3_report_definitions_name_get200_response.rb +0 -22
- data/lib/cybersource_rest_client/models/reporting_v3_report_subscriptions_get200_response_subscriptions.rb +2 -48
- data/lib/cybersource_rest_client/models/reporting_v3_reports_get200_response.rb +8 -8
- data/lib/cybersource_rest_client/models/{reporting_v3_reports_get200_response_reports.rb → reporting_v3_reports_get200_response_report_search_results.rb} +4 -62
- data/lib/cybersource_rest_client/models/reporting_v3_reports_id_get200_response.rb +3 -61
- data/lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb +1 -35
- data/lib/cybersource_rest_client/models/request_body.rb +1 -35
- data/lib/cybersource_rest_client/models/request_body_1.rb +2 -47
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_risk_information_ip_address.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post400_response.rb +0 -34
- data/lib/cybersource_rest_client/models/riskv1decisions_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +5 -5
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +15 -15
- data/lib/cybersource_rest_client/models/riskv1decisions_travel_information_legs.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response.rb +1 -35
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_bank_account.rb +0 -34
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response__embedded_card.rb +2 -36
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_bank_transfer_options.rb +0 -34
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_instrument_identifier.rb +2 -48
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_payment_instruments.rb +2 -48
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_payment_instruments_get200_response_personal_identification.rb +1 -35
- data/lib/cybersource_rest_client/models/tms_v1_instrument_identifiers_post200_response.rb +2 -48
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_application_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_error_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +47 -31
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_mandate.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb +23 -34
- data/lib/cybersource_rest_client/models/{risk_v1_authentications_post400_response.rb → tss_v2_transactions_get200_response_payment_information_payment_type_funding_source.rb} +37 -38
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +14 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_device_information.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_payment_type.rb +9 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +2 -2
- data/lib/cybersource_rest_client/models/{riskv1authentications_device_information_raw_data.rb → tss_v2_transactions_post201_response__embedded_point_of_sale_information_partner.rb} +17 -27
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.rb +0 -34
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_account_information.rb +1 -34
- data/lib/cybersource_rest_client/models/update_payment_instrument_request.rb +2 -48
- data/lib/cybersource_rest_client/models/v1_file_details_get200_response_file_details.rb +1 -35
- metadata +5 -43
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +0 -88
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +0 -88
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +0 -154
- data/lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb +0 -275
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +0 -349
- data/lib/cybersource_rest_client/models/request.rb +0 -210
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +0 -285
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +0 -324
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +0 -294
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_consumer_authentication_information.rb +0 -429
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information.rb +0 -183
- data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response_order_information_amount_details.rb +0 -199
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +0 -214
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information.rb +0 -194
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -267
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information.rb +0 -192
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +0 -264
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +0 -264
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +0 -196
- data/lib/cybersource_rest_client/models/riskv1authentications_client_reference_information.rb +0 -208
- data/lib/cybersource_rest_client/models/riskv1authentications_consumer_authentication_information.rb +0 -552
- data/lib/cybersource_rest_client/models/riskv1authentications_device_information.rb +0 -285
- data/lib/cybersource_rest_client/models/riskv1authentications_merchant_information.rb +0 -199
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information.rb +0 -258
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +0 -496
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +0 -371
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_ship_to.rb +0 -434
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information.rb +0 -192
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +0 -291
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +0 -291
- data/lib/cybersource_rest_client/models/riskv1authentications_recurring_payment_information.rb +0 -235
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information.rb +0 -183
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history.rb +0 -262
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history_account_history.rb +0 -209
- data/lib/cybersource_rest_client/models/riskv1authentications_risk_information_buyer_history_customer_account.rb +0 -279
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information.rb +0 -206
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_legs.rb +0 -259
- data/lib/cybersource_rest_client/models/riskv1authentications_travel_information_passengers.rb +0 -224
@@ -20,7 +20,7 @@ module CyberSource
|
|
20
20
|
# Use to specify the airport code for the destination of the leg of the trip, which is designated by the pound (#) symbol in the field name. This code is usually three digits long, for example: SFO = San Francisco. Do not use the colon (:) or the dash (-). For airport codes, see [IATA Airline and Airport Code Search](https://www.iata.org/publications/Pages/code-search.aspx). The leg number can be a positive integer from 0 to N. For example: `travelInformation.legs.0.destination=SFO` `travelInformation.legs.1.destination=SFO` **Note** In your request, send either the complete route or the individual legs (`legs.0.origination` and `legs.n.destination`). If you send all the fields, the complete route takes precedence over the individual legs. For details, see the `decision_manager_travel_leg#_dest` field description in [Decision Manager Using the SCMP API Developer Guide.](https://www.cybersource.com/developers/documentation/fraud_management/)
|
21
21
|
attr_accessor :destination
|
22
22
|
|
23
|
-
# Departure date and time for the
|
23
|
+
# Departure date and time for the each leg of the trip. Use one of the following formats: - `yyyy-MM-dd HH:mm z` - `yyyy-MM-dd hh:mm a z` - `yyyy-MM-dd hh:mma z` Where:\\ `HH` = hour in 24-hour format\\ `hh` = hour in 12-hour format\\ `a` = am or pm (case insensitive)\\ `z` = time zone of the departing flight. For example, if the airline is based in city A, but the flight departs from city B, `z` is the time zone of city B at the time of departure.\\ **Important** For travel information, use GMT instead of UTC, or use the local time zone. #### Examples 2011-03-20 11:30 PM PDT\\ 2011-03-20 11:30pm GMT\\ 2011-03-20 11:30pm GMT-05:00\\ Eastern Standard Time: GMT-05:00 or EST\\ **Note** When specifying an offset from GMT, the format must be exactly as specified in the example. Insert no spaces between the time zone and the offset.
|
24
24
|
attr_accessor :departure_date_time
|
25
25
|
|
26
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -16,7 +16,7 @@ module CyberSource
|
|
16
16
|
class TmsV1InstrumentIdentifiersPaymentInstrumentsGet200Response
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# Shows the response is a collection of objects.
|
19
|
+
# 'Shows the response is a collection of objects.' Valid values: - collection
|
20
20
|
attr_accessor :object
|
21
21
|
|
22
22
|
# The offset parameter supplied in the request.
|
@@ -33,28 +33,6 @@ module CyberSource
|
|
33
33
|
|
34
34
|
attr_accessor :_embedded
|
35
35
|
|
36
|
-
class EnumAttributeValidator
|
37
|
-
attr_reader :datatype
|
38
|
-
attr_reader :allowable_values
|
39
|
-
|
40
|
-
def initialize(datatype, allowable_values)
|
41
|
-
@allowable_values = allowable_values.map do |value|
|
42
|
-
case datatype.to_s
|
43
|
-
when /Integer/i
|
44
|
-
value.to_i
|
45
|
-
when /Float/i
|
46
|
-
value.to_f
|
47
|
-
else
|
48
|
-
value
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
def valid?(value)
|
54
|
-
!value || allowable_values.include?(value)
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
37
|
def self.attribute_map
|
60
38
|
{
|
@@ -128,21 +106,9 @@ module CyberSource
|
|
128
106
|
# Check to see if the all the properties in the model are valid
|
129
107
|
# @return true if the model is valid
|
130
108
|
def valid?
|
131
|
-
object_validator = EnumAttributeValidator.new('String', ['collection'])
|
132
|
-
return false unless object_validator.valid?(@object)
|
133
109
|
true
|
134
110
|
end
|
135
111
|
|
136
|
-
# Custom attribute writer method checking allowed values (enum).
|
137
|
-
# @param [Object] object Object to be assigned
|
138
|
-
def object=(object)
|
139
|
-
validator = EnumAttributeValidator.new('String', ['collection'])
|
140
|
-
unless validator.valid?(object)
|
141
|
-
fail ArgumentError, 'invalid value for "object", must be one of #{validator.allowable_values}.'
|
142
|
-
end
|
143
|
-
@object = object
|
144
|
-
end
|
145
|
-
|
146
112
|
# Checks equality by comparing each attribute.
|
147
113
|
# @param [Object] Object to be compared
|
148
114
|
def ==(o)
|
@@ -17,28 +17,6 @@ module CyberSource
|
|
17
17
|
# Checking account type. Possible values: * C: checking * S: savings (USD only) * X: corporate checking (USD only) * G: general ledger
|
18
18
|
attr_accessor :type
|
19
19
|
|
20
|
-
class EnumAttributeValidator
|
21
|
-
attr_reader :datatype
|
22
|
-
attr_reader :allowable_values
|
23
|
-
|
24
|
-
def initialize(datatype, allowable_values)
|
25
|
-
@allowable_values = allowable_values.map do |value|
|
26
|
-
case datatype.to_s
|
27
|
-
when /Integer/i
|
28
|
-
value.to_i
|
29
|
-
when /Float/i
|
30
|
-
value.to_f
|
31
|
-
else
|
32
|
-
value
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
def valid?(value)
|
38
|
-
!value || allowable_values.include?(value)
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
21
|
def self.attribute_map
|
44
22
|
{
|
@@ -76,21 +54,9 @@ module CyberSource
|
|
76
54
|
# Check to see if the all the properties in the model are valid
|
77
55
|
# @return true if the model is valid
|
78
56
|
def valid?
|
79
|
-
type_validator = EnumAttributeValidator.new('String', ['checking', 'savings', 'corporate checking', 'general ledger'])
|
80
|
-
return false unless type_validator.valid?(@type)
|
81
57
|
true
|
82
58
|
end
|
83
59
|
|
84
|
-
# Custom attribute writer method checking allowed values (enum).
|
85
|
-
# @param [Object] type Object to be assigned
|
86
|
-
def type=(type)
|
87
|
-
validator = EnumAttributeValidator.new('String', ['checking', 'savings', 'corporate checking', 'general ledger'])
|
88
|
-
unless validator.valid?(type)
|
89
|
-
fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
|
90
|
-
end
|
91
|
-
@type = type
|
92
|
-
end
|
93
|
-
|
94
60
|
# Checks equality by comparing each attribute.
|
95
61
|
# @param [Object] Object to be compared
|
96
62
|
def ==(o)
|
@@ -17,10 +17,10 @@ module CyberSource
|
|
17
17
|
# Two-digit month in which the credit card expires. Format: `MM` Possible values: `01` through `12` This field is optional if your CyberSource account is configured for relaxed requirements for address data and expiration date. For more information about relaxed requirements, see the TMS REST API Developer Guide. Important: It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
18
18
|
attr_accessor :expiration_month
|
19
19
|
|
20
|
-
# Four-digit year in which the credit card expires. Format: `YYYY`. Possible values: `1900` through `2099`. **FDC Nashville Global and FDMS South** You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. This field is optional if your CyberSource account is configured for relaxed requirements for address data and expiration date.
|
20
|
+
# Four-digit year in which the credit card expires. Format: `YYYY`. Possible values: `1900` through `2099`. **FDC Nashville Global and FDMS South** You can send in 2 digits or 4 digits. When you send in 2 digits, they must be the last 2 digits of the year. This field is optional if your CyberSource account is configured for relaxed requirements for address data and expiration date. For details, see [Relaxed Requirements for Address Data and Expiration Date.](https://www.cybersource.com/developers/integration_methods/relax_avs/). **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.'
|
21
21
|
attr_accessor :expiration_year
|
22
22
|
|
23
|
-
# Type of credit card. Possible values: * Visa (001) * Mastercard (002) - Eurocard—European regional brand of Mastercard * American Express (003) * Discover (004) * Diners Club (005) * Carte Blanche (006) * JCB (007) * Optima (008) * Twinpay Credit (011) * Twinpay Debit (012) * Walmart (013) * EnRoute (014) * Lowes consumer (015) * Home Depot consumer (016) * MBNA (017) * Dicks Sportswear (018) * Casual Corner (019) * Sears (020) * JAL (021) * Disney (023) * Maestro (024) - UK Domestic * Sams Club consumer (025) * Sams Club business (026) *
|
23
|
+
# Type of credit card. Possible values: * **visa** -- Visa (001) * **mastercard** -- Mastercard (002) - Eurocard—European regional brand of Mastercard * **american express** -- American Express (003) * **discover** -- Discover (004) * **diners club** -- Diners Club (005) * **carte blanche** -- Carte Blanche (006) * **jcb** -- JCB (007) * **optima** -- Optima (008) * **twinpay credit** -- Twinpay Credit (011) * **twinpay debit** -- Twinpay Debit (012) * **walmart** -- Walmart (013) * **enroute** -- EnRoute (014) * **lowes consumer** -- Lowes consumer (015) * **home depot consumer** -- Home Depot consumer (016) * **mbna** -- MBNA (017) * **dicks sportswear** -- Dicks Sportswear (018) * **casual corner** -- Casual Corner (019) * **sears** -- Sears (020) * **jal** -- JAL (021) * **disney** -- Disney (023) * **maestro uk domestic** -- Maestro (024) - UK Domestic * **sams club consumer** -- Sams Club consumer (025) * **sams club business** -- Sams Club business (026) * **bill me later** -- Bill me later (028) * **bebe** -- Bebe (029) * **restoration hardware** -- Restoration Hardware (030) * **delta online** -- Delta (031) — use this value only for Ingenico ePayments. For other processors, use 001 for all Visa card types. * **solo** -- Solo (032) * **visa electron** -- Visa Electron (033) * **dankort** -- Dankort (034) * **laser** -- Laser (035) * **carte bleue** -- Carte Bleue (036) — formerly Cartes Bancaires * **carta si** -- Carta Si (037) * **pinless debit** -- pinless debit (038) * **encoded account** -- encoded account (039) * **uatp** -- UATP (040) * **household** -- Household (041) * **maestro international** -- Maestro (042) - International * **ge money uk** -- GE Money UK (043) * **korean cards** -- Korean cards (044) * **style** -- Style (045) * **jcrew** -- JCrew (046) * **payease china processing ewallet** -- PayEase China processing eWallet (047) * **payease china processing bank transfer** -- PayEase China processing bank transfer (048) * **meijer private label** -- Meijer Private Label (049) * **hipercard** -- Hipercard (050) — supported only by the Comercio Latino processor. * **aura** -- Aura (051) — supported only by the Comercio Latino processor. * **redecard** -- Redecard (052) * **elo** -- Elo (054) — supported only by the Comercio Latino processor. * **capital one private label** -- Capital One Private Label (055) * **synchrony private label** -- Synchrony Private Label (056) * **costco private label** -- Costco Private Label (057) * **mada** -- mada (060) * **china union pay** -- China Union Pay (062) * **falabella private label** -- Falabella private label (063)
|
24
24
|
attr_accessor :type
|
25
25
|
|
26
26
|
# Number of times a Maestro (UK Domestic) card has been issued to the account holder.
|
@@ -35,28 +35,6 @@ module CyberSource
|
|
35
35
|
# Card Use As Field. Supported value of `pinless debit` only. Only for use with Pinless Debit tokens.
|
36
36
|
attr_accessor :use_as
|
37
37
|
|
38
|
-
class EnumAttributeValidator
|
39
|
-
attr_reader :datatype
|
40
|
-
attr_reader :allowable_values
|
41
|
-
|
42
|
-
def initialize(datatype, allowable_values)
|
43
|
-
@allowable_values = allowable_values.map do |value|
|
44
|
-
case datatype.to_s
|
45
|
-
when /Integer/i
|
46
|
-
value.to_i
|
47
|
-
when /Float/i
|
48
|
-
value.to_f
|
49
|
-
else
|
50
|
-
value
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
def valid?(value)
|
56
|
-
!value || allowable_values.include?(value)
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
61
39
|
def self.attribute_map
|
62
40
|
{
|
@@ -179,8 +157,6 @@ module CyberSource
|
|
179
157
|
return false if !@expiration_year.nil? && @expiration_year.to_s.length > 4
|
180
158
|
return false if !@expiration_year.nil? && @expiration_year.to_s.length < 4
|
181
159
|
return false if @type.nil?
|
182
|
-
type_validator = EnumAttributeValidator.new('String', ['visa', 'mastercard', 'american express', 'discover', 'diners club', 'carte blanche', 'jcb', 'optima', 'twinpay credit', 'twinpay debit', 'walmart', 'enroute', 'lowes consumer', 'home depot consumer', 'mbna', 'dicks sportswear', 'casual corner', 'sears', 'jal', 'disney', 'maestro uk domestic', 'sams club consumer', 'sams club business', 'nicos', 'bill me later', 'bebe', 'restoration hardware', 'delta online', 'solo', 'visa electron', 'dankort', 'laser', 'carte bleue', 'carta si', 'pinless debit', 'encoded account', 'uatp', 'household', 'maestro international', 'ge money uk', 'korean cards', 'style', 'jcrew', 'payease china processing ewallet', 'payease china processing bank transfer', 'meijer private label', 'hipercard', 'aura', 'redecard', 'orico', 'elo', 'capital one private label', 'synchrony private label', 'china union pay', 'costco private label', 'mada', 'falabella private label'])
|
183
|
-
return false unless type_validator.valid?(@type)
|
184
160
|
return false if !@issue_number.nil? && @issue_number.to_s.length > 2
|
185
161
|
return false if !@issue_number.nil? && @issue_number.to_s.length < 1
|
186
162
|
return false if !@start_month.nil? && @start_month.to_s.length > 2
|
@@ -218,16 +194,6 @@ module CyberSource
|
|
218
194
|
@expiration_year = expiration_year
|
219
195
|
end
|
220
196
|
|
221
|
-
# Custom attribute writer method checking allowed values (enum).
|
222
|
-
# @param [Object] type Object to be assigned
|
223
|
-
def type=(type)
|
224
|
-
validator = EnumAttributeValidator.new('String', ['visa', 'mastercard', 'american express', 'discover', 'diners club', 'carte blanche', 'jcb', 'optima', 'twinpay credit', 'twinpay debit', 'walmart', 'enroute', 'lowes consumer', 'home depot consumer', 'mbna', 'dicks sportswear', 'casual corner', 'sears', 'jal', 'disney', 'maestro uk domestic', 'sams club consumer', 'sams club business', 'nicos', 'bill me later', 'bebe', 'restoration hardware', 'delta online', 'solo', 'visa electron', 'dankort', 'laser', 'carte bleue', 'carta si', 'pinless debit', 'encoded account', 'uatp', 'household', 'maestro international', 'ge money uk', 'korean cards', 'style', 'jcrew', 'payease china processing ewallet', 'payease china processing bank transfer', 'meijer private label', 'hipercard', 'aura', 'redecard', 'orico', 'elo', 'capital one private label', 'synchrony private label', 'china union pay', 'costco private label', 'mada', 'falabella private label'])
|
225
|
-
unless validator.valid?(type)
|
226
|
-
fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
|
227
|
-
end
|
228
|
-
@type = type
|
229
|
-
end
|
230
|
-
|
231
197
|
# Custom attribute writer method with validation
|
232
198
|
# @param [Object] issue_number Value to be assigned
|
233
199
|
def issue_number=(issue_number)
|
@@ -17,28 +17,6 @@ module CyberSource
|
|
17
17
|
# **Important** This field is required if your processor is TeleCheck. Code that specifies the authorization method for the transaction. Possible values: - **CCD**: corporate cash disbursement. Charge or credit against a business checking account. You can use one-time or recurring CCD transactions to transfer funds to or from a corporate entity. A standing authorization is required for recurring transactions. - **PPD**: prearranged payment and deposit entry. Charge or credit against a personal checking or savings account. You can originate a PPD entry only when the payment and deposit terms between you and the customer are prearranged. A written authorization from the customer is required for one-time transactions and a written standing authorization is required for recurring transactions. - **TEL**: telephone-initiated entry. One-time charge against a personal checking or savings account. You can originate a TEL entry only when there is a business relationship between you and the customer or when the customer initiates a telephone call to you. For a TEL entry, you must obtain a payment authorization from the customer over the telephone. There is no recurring billing option for TEL. - **WEB**: internet-initiated entry—charge against a personal checking or savings account. You can originate a one-time or recurring WEB entry when the customer initiates the transaction over the Internet. For a WEB entry, you must obtain payment authorization from the customer over the Internet.
|
18
18
|
attr_accessor :sec_code
|
19
19
|
|
20
|
-
class EnumAttributeValidator
|
21
|
-
attr_reader :datatype
|
22
|
-
attr_reader :allowable_values
|
23
|
-
|
24
|
-
def initialize(datatype, allowable_values)
|
25
|
-
@allowable_values = allowable_values.map do |value|
|
26
|
-
case datatype.to_s
|
27
|
-
when /Integer/i
|
28
|
-
value.to_i
|
29
|
-
when /Float/i
|
30
|
-
value.to_f
|
31
|
-
else
|
32
|
-
value
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
def valid?(value)
|
38
|
-
!value || allowable_values.include?(value)
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
21
|
def self.attribute_map
|
44
22
|
{
|
@@ -76,21 +54,9 @@ module CyberSource
|
|
76
54
|
# Check to see if the all the properties in the model are valid
|
77
55
|
# @return true if the model is valid
|
78
56
|
def valid?
|
79
|
-
sec_code_validator = EnumAttributeValidator.new('String', ['CCD', 'PPD', 'TEL', 'WEB'])
|
80
|
-
return false unless sec_code_validator.valid?(@sec_code)
|
81
57
|
true
|
82
58
|
end
|
83
59
|
|
84
|
-
# Custom attribute writer method checking allowed values (enum).
|
85
|
-
# @param [Object] sec_code Object to be assigned
|
86
|
-
def sec_code=(sec_code)
|
87
|
-
validator = EnumAttributeValidator.new('String', ['CCD', 'PPD', 'TEL', 'WEB'])
|
88
|
-
unless validator.valid?(sec_code)
|
89
|
-
fail ArgumentError, 'invalid value for "sec_code", must be one of #{validator.allowable_values}.'
|
90
|
-
end
|
91
|
-
@sec_code = sec_code
|
92
|
-
end
|
93
|
-
|
94
60
|
# Checks equality by comparing each attribute.
|
95
61
|
# @param [Object] Object to be compared
|
96
62
|
def ==(o)
|
@@ -16,10 +16,10 @@ module CyberSource
|
|
16
16
|
class TmsV1InstrumentIdentifiersPaymentInstrumentsGet200ResponseEmbeddedInstrumentIdentifier
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# Describes type of token.
|
19
|
+
# 'Describes type of token.' Valid values: - instrumentIdentifier
|
20
20
|
attr_accessor :object
|
21
21
|
|
22
|
-
# Current state of the token.
|
22
|
+
# 'Current state of the token.' Valid values: - ACTIVE - CLOSED
|
23
23
|
attr_accessor :state
|
24
24
|
|
25
25
|
# The ID of the existing instrument identifier to be linked to the newly created payment instrument.
|
@@ -33,28 +33,6 @@ module CyberSource
|
|
33
33
|
|
34
34
|
attr_accessor :metadata
|
35
35
|
|
36
|
-
class EnumAttributeValidator
|
37
|
-
attr_reader :datatype
|
38
|
-
attr_reader :allowable_values
|
39
|
-
|
40
|
-
def initialize(datatype, allowable_values)
|
41
|
-
@allowable_values = allowable_values.map do |value|
|
42
|
-
case datatype.to_s
|
43
|
-
when /Integer/i
|
44
|
-
value.to_i
|
45
|
-
when /Float/i
|
46
|
-
value.to_f
|
47
|
-
else
|
48
|
-
value
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
def valid?(value)
|
54
|
-
!value || allowable_values.include?(value)
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
37
|
def self.attribute_map
|
60
38
|
{
|
@@ -142,35 +120,11 @@ module CyberSource
|
|
142
120
|
# Check to see if the all the properties in the model are valid
|
143
121
|
# @return true if the model is valid
|
144
122
|
def valid?
|
145
|
-
object_validator = EnumAttributeValidator.new('String', ['instrumentIdentifier'])
|
146
|
-
return false unless object_validator.valid?(@object)
|
147
|
-
state_validator = EnumAttributeValidator.new('String', ['ACTIVE', 'CLOSED'])
|
148
|
-
return false unless state_validator.valid?(@state)
|
149
123
|
return false if !@id.nil? && @id.to_s.length > 32
|
150
124
|
return false if !@id.nil? && @id.to_s.length < 16
|
151
125
|
true
|
152
126
|
end
|
153
127
|
|
154
|
-
# Custom attribute writer method checking allowed values (enum).
|
155
|
-
# @param [Object] object Object to be assigned
|
156
|
-
def object=(object)
|
157
|
-
validator = EnumAttributeValidator.new('String', ['instrumentIdentifier'])
|
158
|
-
unless validator.valid?(object)
|
159
|
-
fail ArgumentError, 'invalid value for "object", must be one of #{validator.allowable_values}.'
|
160
|
-
end
|
161
|
-
@object = object
|
162
|
-
end
|
163
|
-
|
164
|
-
# Custom attribute writer method checking allowed values (enum).
|
165
|
-
# @param [Object] state Object to be assigned
|
166
|
-
def state=(state)
|
167
|
-
validator = EnumAttributeValidator.new('String', ['ACTIVE', 'CLOSED'])
|
168
|
-
unless validator.valid?(state)
|
169
|
-
fail ArgumentError, 'invalid value for "state", must be one of #{validator.allowable_values}.'
|
170
|
-
end
|
171
|
-
@state = state
|
172
|
-
end
|
173
|
-
|
174
128
|
# Custom attribute writer method with validation
|
175
129
|
# @param [Object] id Value to be assigned
|
176
130
|
def id=(id)
|
@@ -19,10 +19,10 @@ module CyberSource
|
|
19
19
|
# Unique identification number assigned by CyberSource to the submitted request.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# Describes type of token.
|
22
|
+
# 'Describes type of token.' Valid values: - paymentInstrument
|
23
23
|
attr_accessor :object
|
24
24
|
|
25
|
-
# Current state of the token.
|
25
|
+
# 'Current state of the token.' Valid values: - ACTIVE - CLOSED
|
26
26
|
attr_accessor :state
|
27
27
|
|
28
28
|
attr_accessor :bank_account
|
@@ -41,28 +41,6 @@ module CyberSource
|
|
41
41
|
|
42
42
|
attr_accessor :instrument_identifier
|
43
43
|
|
44
|
-
class EnumAttributeValidator
|
45
|
-
attr_reader :datatype
|
46
|
-
attr_reader :allowable_values
|
47
|
-
|
48
|
-
def initialize(datatype, allowable_values)
|
49
|
-
@allowable_values = allowable_values.map do |value|
|
50
|
-
case datatype.to_s
|
51
|
-
when /Integer/i
|
52
|
-
value.to_i
|
53
|
-
when /Float/i
|
54
|
-
value.to_f
|
55
|
-
else
|
56
|
-
value
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
def valid?(value)
|
62
|
-
!value || allowable_values.include?(value)
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
67
45
|
def self.attribute_map
|
68
46
|
{
|
@@ -166,33 +144,9 @@ module CyberSource
|
|
166
144
|
# Check to see if the all the properties in the model are valid
|
167
145
|
# @return true if the model is valid
|
168
146
|
def valid?
|
169
|
-
object_validator = EnumAttributeValidator.new('String', ['paymentInstrument'])
|
170
|
-
return false unless object_validator.valid?(@object)
|
171
|
-
state_validator = EnumAttributeValidator.new('String', ['ACTIVE', 'CLOSED'])
|
172
|
-
return false unless state_validator.valid?(@state)
|
173
147
|
true
|
174
148
|
end
|
175
149
|
|
176
|
-
# Custom attribute writer method checking allowed values (enum).
|
177
|
-
# @param [Object] object Object to be assigned
|
178
|
-
def object=(object)
|
179
|
-
validator = EnumAttributeValidator.new('String', ['paymentInstrument'])
|
180
|
-
unless validator.valid?(object)
|
181
|
-
fail ArgumentError, 'invalid value for "object", must be one of #{validator.allowable_values}.'
|
182
|
-
end
|
183
|
-
@object = object
|
184
|
-
end
|
185
|
-
|
186
|
-
# Custom attribute writer method checking allowed values (enum).
|
187
|
-
# @param [Object] state Object to be assigned
|
188
|
-
def state=(state)
|
189
|
-
validator = EnumAttributeValidator.new('String', ['ACTIVE', 'CLOSED'])
|
190
|
-
unless validator.valid?(state)
|
191
|
-
fail ArgumentError, 'invalid value for "state", must be one of #{validator.allowable_values}.'
|
192
|
-
end
|
193
|
-
@state = state
|
194
|
-
end
|
195
|
-
|
196
150
|
# Checks equality by comparing each attribute.
|
197
151
|
# @param [Object] Object to be compared
|
198
152
|
def ==(o)
|
@@ -17,33 +17,11 @@ module CyberSource
|
|
17
17
|
# Customer's identification number. **Important**: Contact your TeleCheck representative to learn whether this field is required or optional.
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
|
-
# Type of personal identification.
|
20
|
+
# Type of personal identification. **Important**: Contact your TeleCheck representative to learn whether this field is required or optional. Valid values: - driver license
|
21
21
|
attr_accessor :type
|
22
22
|
|
23
23
|
attr_accessor :issued_by
|
24
24
|
|
25
|
-
class EnumAttributeValidator
|
26
|
-
attr_reader :datatype
|
27
|
-
attr_reader :allowable_values
|
28
|
-
|
29
|
-
def initialize(datatype, allowable_values)
|
30
|
-
@allowable_values = allowable_values.map do |value|
|
31
|
-
case datatype.to_s
|
32
|
-
when /Integer/i
|
33
|
-
value.to_i
|
34
|
-
when /Float/i
|
35
|
-
value.to_f
|
36
|
-
else
|
37
|
-
value
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
def valid?(value)
|
43
|
-
!value || allowable_values.include?(value)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
26
|
def self.attribute_map
|
49
27
|
{
|
@@ -93,21 +71,9 @@ module CyberSource
|
|
93
71
|
# Check to see if the all the properties in the model are valid
|
94
72
|
# @return true if the model is valid
|
95
73
|
def valid?
|
96
|
-
type_validator = EnumAttributeValidator.new('String', ['driver license'])
|
97
|
-
return false unless type_validator.valid?(@type)
|
98
74
|
true
|
99
75
|
end
|
100
76
|
|
101
|
-
# Custom attribute writer method checking allowed values (enum).
|
102
|
-
# @param [Object] type Object to be assigned
|
103
|
-
def type=(type)
|
104
|
-
validator = EnumAttributeValidator.new('String', ['driver license'])
|
105
|
-
unless validator.valid?(type)
|
106
|
-
fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
|
107
|
-
end
|
108
|
-
@type = type
|
109
|
-
end
|
110
|
-
|
111
77
|
# Checks equality by comparing each attribute.
|
112
78
|
# @param [Object] Object to be compared
|
113
79
|
def ==(o)
|