cybersource_rest_client 0.0.49 → 0.0.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +5 -0
- data/lib/AuthenticationSDK/util/Constants.rb +2 -0
- data/lib/cybersource_rest_client/api/batches_api.rb +330 -0
- data/lib/cybersource_rest_client/api/customer_api.rb +55 -47
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +112 -104
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +112 -104
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +93 -81
- data/lib/cybersource_rest_client/api/keymanagement_api.rb +3 -3
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +89 -0
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +55 -49
- data/lib/cybersource_rest_client/api/plans_api.rb +573 -0
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +568 -0
- data/lib/cybersource_rest_client/api/taxes_api.rb +2 -2
- data/lib/cybersource_rest_client/api/token_api.rb +112 -0
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +2 -2
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +6 -5
- data/lib/cybersource_rest_client/api_client.rb +11 -0
- data/lib/cybersource_rest_client/models/accountupdaterv1batches_included.rb +185 -0
- data/lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb +228 -0
- data/lib/cybersource_rest_client/models/body.rb +42 -32
- data/lib/cybersource_rest_client/models/create_plan_request.rb +201 -0
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -18
- data/lib/cybersource_rest_client/models/{flexv1tokens_card_info.rb → create_subscription_request.rb} +44 -40
- data/lib/cybersource_rest_client/models/generate_capture_context_request.rb +216 -0
- data/lib/cybersource_rest_client/models/generate_unified_checkout_capture_context_request.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200.rb +19 -41
- data/lib/cybersource_rest_client/models/inline_response_200_1.rb +227 -0
- data/lib/cybersource_rest_client/models/inline_response_200_10.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_200_11.rb +236 -0
- data/lib/cybersource_rest_client/models/{inline_response_200_keys.rb → inline_response_200_11_keys.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_12.rb +239 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12__embedded.rb +185 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12__embedded__links.rb +185 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12__embedded__links_reports.rb +184 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12__embedded_batches.rb +280 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12__embedded_totals.rb +219 -0
- data/lib/cybersource_rest_client/models/inline_response_200_12__links.rb +193 -0
- data/lib/cybersource_rest_client/models/inline_response_200_13.rb +275 -0
- data/lib/cybersource_rest_client/models/inline_response_200_13__links.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_200_13__links_report.rb +183 -0
- data/lib/cybersource_rest_client/models/{tokenize_request.rb → inline_response_200_13_billing.rb} +32 -20
- data/lib/cybersource_rest_client/models/inline_response_200_14.rb +277 -0
- data/lib/cybersource_rest_client/models/inline_response_200_14_records.rb +201 -0
- data/lib/cybersource_rest_client/models/inline_response_200_14_response_record.rb +292 -0
- data/lib/cybersource_rest_client/models/inline_response_200_14_response_record_additional_updates.rb +232 -0
- data/lib/cybersource_rest_client/models/inline_response_200_14_source_record.rb +282 -0
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_200_3.rb +228 -0
- data/lib/cybersource_rest_client/models/inline_response_200_3_plan_information.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_200_4.rb +228 -0
- data/lib/cybersource_rest_client/models/inline_response_200_5.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6.rb +214 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6__links.rb +210 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6_order_information.rb +192 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6_order_information_bill_to.rb +206 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6_payment_information.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6_payment_information_customer.rb +190 -0
- data/lib/cybersource_rest_client/models/{flex_v1_keys_post200_response_jwk.rb → inline_response_200_6_plan_information.rb} +40 -41
- data/lib/cybersource_rest_client/models/inline_response_200_6_plan_information_billing_cycles.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6_subscription_information.rb +242 -0
- data/lib/cybersource_rest_client/models/inline_response_200_6_subscriptions.rb +236 -0
- data/lib/cybersource_rest_client/models/inline_response_200_7.rb +245 -0
- data/lib/cybersource_rest_client/models/inline_response_200_8.rb +228 -0
- data/lib/cybersource_rest_client/models/{generate_public_key_request.rb → inline_response_200_9.rb} +50 -21
- data/lib/cybersource_rest_client/models/inline_response_200_9_subscription_information.rb +200 -0
- data/lib/cybersource_rest_client/models/{flex_v1_keys_post200_response.rb → inline_response_200__links.rb} +20 -21
- data/lib/cybersource_rest_client/models/inline_response_200_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_200_order_information_amount_details.rb +222 -0
- data/lib/cybersource_rest_client/models/inline_response_200_plan_information.rb +250 -0
- data/lib/cybersource_rest_client/models/inline_response_200_plan_information_billing_cycles.rb +184 -0
- data/lib/cybersource_rest_client/models/inline_response_200_plan_information_billing_period.rb +195 -0
- data/lib/cybersource_rest_client/models/inline_response_200_plans.rb +218 -0
- data/lib/cybersource_rest_client/models/inline_response_201.rb +228 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1.rb +228 -0
- data/lib/cybersource_rest_client/models/{invoicing_v2_invoices_all_get200_response__links_1.rb → inline_response_201_1__links.rb} +23 -14
- data/lib/cybersource_rest_client/models/inline_response_201_1_subscription_information.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_201_plan_information.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_202.rb +228 -0
- data/lib/cybersource_rest_client/models/inline_response_202_1.rb +228 -0
- data/lib/cybersource_rest_client/models/inline_response_202_1_subscription_information.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_202_2.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_202_2__links.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_202_2__links_status.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_202_subscription_information.rb +200 -0
- data/lib/cybersource_rest_client/models/inline_response_400_1.rb +33 -55
- data/lib/cybersource_rest_client/models/inline_response_400_2.rb +10 -9
- data/lib/cybersource_rest_client/models/inline_response_400_3.rb +55 -33
- data/lib/cybersource_rest_client/models/{inline_response_400_1_fields.rb → inline_response_400_3_fields.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_4.rb +30 -71
- data/lib/cybersource_rest_client/models/inline_response_400_5.rb +225 -0
- data/lib/cybersource_rest_client/models/inline_response_400_6.rb +265 -0
- data/lib/cybersource_rest_client/models/{inline_response_400_4_details.rb → inline_response_400_6_details.rb} +1 -1
- data/lib/cybersource_rest_client/models/inline_response_400_errors.rb +2 -2
- data/lib/cybersource_rest_client/models/inline_response_401.rb +241 -0
- data/lib/cybersource_rest_client/models/inline_response_401__links.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_401__links_self.rb +183 -0
- data/lib/cybersource_rest_client/models/inline_response_401_fields.rb +202 -0
- data/lib/cybersource_rest_client/models/inline_response_403.rb +185 -0
- data/lib/cybersource_rest_client/models/inline_response_403_errors.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_404.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_409.rb +185 -0
- data/lib/cybersource_rest_client/models/inline_response_409_errors.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_410.rb +185 -0
- data/lib/cybersource_rest_client/models/inline_response_410_errors.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_412.rb +185 -0
- data/lib/cybersource_rest_client/models/inline_response_412_errors.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_424.rb +185 -0
- data/lib/cybersource_rest_client/models/inline_response_424_errors.rb +194 -0
- data/lib/cybersource_rest_client/models/inline_response_500.rb +9 -38
- data/lib/cybersource_rest_client/models/inline_response_500_1.rb +214 -0
- data/lib/cybersource_rest_client/models/inline_response_500_errors.rb +194 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response__links.rb +22 -13
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/{flex_v1_tokens_post200_response.rb → microformv2sessions_checkout_api_initialization.rb} +68 -59
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +15 -5
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +2 -2
- data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +4 -4
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +15 -5
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +15 -5
- data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +2 -2
- data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +4 -4
- data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +4 -4
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +15 -5
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +1 -21
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +12 -47
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_capture_options.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +1 -19
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +0 -9
- data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/rbsv1plans_client_reference_information.rb +229 -0
- data/lib/cybersource_rest_client/models/rbsv1plans_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/rbsv1plans_order_information_amount_details.rb +240 -0
- data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +259 -0
- data/lib/cybersource_rest_client/models/rbsv1plans_plan_information_billing_cycles.rb +185 -0
- data/lib/cybersource_rest_client/models/rbsv1plansid_plan_information.rb +250 -0
- data/lib/cybersource_rest_client/models/rbsv1plansid_processing_information.rb +183 -0
- data/lib/cybersource_rest_client/models/rbsv1plansid_processing_information_subscription_billing_options.rb +184 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_client_reference_information.rb +245 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information.rb +183 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information_customer.rb +199 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_plan_information.rb +192 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information.rb +199 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information_authorization_options.rb +183 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_processing_information_authorization_options_initiator.rb +184 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_subscription_information.rb +246 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_order_information_amount_details.rb +206 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_plan_information.rb +183 -0
- data/lib/cybersource_rest_client/models/rbsv1subscriptionsid_subscription_information.rb +232 -0
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +88 -4
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +20 -4
- 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 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +14 -4
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +17 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +152 -22
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +14 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +34 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +15 -5
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier.rb +4 -4
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +3 -3
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_metadata.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +22 -4
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_metadata.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_metadata.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +20 -4
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +15 -5
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers_default_payment_instrument.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers_default_shipping_address.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers_metadata.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_invoice_details.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -1
- 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_post201_response__embedded_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_point_of_sale_information.rb +13 -4
- data/lib/cybersource_rest_client/models/ums_v1_users_get200_response_users.rb +15 -4
- data/lib/cybersource_rest_client/models/{flex_v1_keys_post200_response_der.rb → update_plan_request.rb} +20 -24
- data/lib/cybersource_rest_client/models/update_subscription.rb +219 -0
- data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response_tax_information.rb +2 -2
- data/lib/cybersource_rest_client/models/vas_v2_payments_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +1 -19
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_acceptance.rb +5 -5
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_order_origin.rb +5 -5
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_tax_information.rb +3 -3
- data/lib/cybersource_rest_client.rb +112 -13
- metadata +114 -15
- data/lib/cybersource_rest_client/api/key_generation_api.rb +0 -96
- data/lib/cybersource_rest_client/api/tokenization_api.rb +0 -89
@@ -13,55 +13,56 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
class
|
17
|
-
|
18
|
-
attr_accessor :key_id
|
16
|
+
class Microformv2sessionsCheckoutApiInitialization
|
17
|
+
attr_accessor :profile_id
|
19
18
|
|
20
|
-
|
21
|
-
attr_accessor :token
|
19
|
+
attr_accessor :access_key
|
22
20
|
|
23
|
-
|
24
|
-
attr_accessor :masked_pan
|
21
|
+
attr_accessor :reference_number
|
25
22
|
|
26
|
-
|
27
|
-
attr_accessor :card_type
|
23
|
+
attr_accessor :transaction_uuid
|
28
24
|
|
29
|
-
|
30
|
-
attr_accessor :timestamp
|
25
|
+
attr_accessor :transaction_type
|
31
26
|
|
32
|
-
|
33
|
-
attr_accessor :signed_fields
|
27
|
+
attr_accessor :currency
|
34
28
|
|
35
|
-
|
36
|
-
attr_accessor :signature
|
29
|
+
attr_accessor :amount
|
37
30
|
|
38
|
-
attr_accessor :
|
31
|
+
attr_accessor :locale
|
32
|
+
|
33
|
+
attr_accessor :override_custom_receipt_page
|
34
|
+
|
35
|
+
attr_accessor :unsigned_field_names
|
39
36
|
|
40
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
38
|
def self.attribute_map
|
42
39
|
{
|
43
|
-
:'
|
44
|
-
:'
|
45
|
-
:'
|
46
|
-
:'
|
47
|
-
:'
|
48
|
-
:'
|
49
|
-
:'
|
50
|
-
:'
|
40
|
+
:'profile_id' => :'profile_id',
|
41
|
+
:'access_key' => :'access_key',
|
42
|
+
:'reference_number' => :'reference_number',
|
43
|
+
:'transaction_uuid' => :'transaction_uuid',
|
44
|
+
:'transaction_type' => :'transaction_type',
|
45
|
+
:'currency' => :'currency',
|
46
|
+
:'amount' => :'amount',
|
47
|
+
:'locale' => :'locale',
|
48
|
+
:'override_custom_receipt_page' => :'override_custom_receipt_page',
|
49
|
+
:'unsigned_field_names' => :'unsigned_field_names'
|
51
50
|
}
|
52
51
|
end
|
53
52
|
|
54
53
|
# Attribute type mapping.
|
55
54
|
def self.swagger_types
|
56
55
|
{
|
57
|
-
:'
|
58
|
-
:'
|
59
|
-
:'
|
60
|
-
:'
|
61
|
-
:'
|
62
|
-
:'
|
63
|
-
:'
|
64
|
-
:'
|
56
|
+
:'profile_id' => :'String',
|
57
|
+
:'access_key' => :'String',
|
58
|
+
:'reference_number' => :'String',
|
59
|
+
:'transaction_uuid' => :'String',
|
60
|
+
:'transaction_type' => :'String',
|
61
|
+
:'currency' => :'String',
|
62
|
+
:'amount' => :'String',
|
63
|
+
:'locale' => :'String',
|
64
|
+
:'override_custom_receipt_page' => :'String',
|
65
|
+
:'unsigned_field_names' => :'String'
|
65
66
|
}
|
66
67
|
end
|
67
68
|
|
@@ -73,38 +74,44 @@ module CyberSource
|
|
73
74
|
# convert string to symbol for hash key
|
74
75
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
75
76
|
|
76
|
-
if attributes.has_key?(:'
|
77
|
-
self.
|
77
|
+
if attributes.has_key?(:'profile_id')
|
78
|
+
self.profile_id = attributes[:'profile_id']
|
78
79
|
end
|
79
80
|
|
80
|
-
if attributes.has_key?(:'
|
81
|
-
self.
|
81
|
+
if attributes.has_key?(:'access_key')
|
82
|
+
self.access_key = attributes[:'access_key']
|
82
83
|
end
|
83
84
|
|
84
|
-
if attributes.has_key?(:'
|
85
|
-
self.
|
85
|
+
if attributes.has_key?(:'reference_number')
|
86
|
+
self.reference_number = attributes[:'reference_number']
|
86
87
|
end
|
87
88
|
|
88
|
-
if attributes.has_key?(:'
|
89
|
-
self.
|
89
|
+
if attributes.has_key?(:'transaction_uuid')
|
90
|
+
self.transaction_uuid = attributes[:'transaction_uuid']
|
90
91
|
end
|
91
92
|
|
92
|
-
if attributes.has_key?(:'
|
93
|
-
self.
|
93
|
+
if attributes.has_key?(:'transaction_type')
|
94
|
+
self.transaction_type = attributes[:'transaction_type']
|
94
95
|
end
|
95
96
|
|
96
|
-
if attributes.has_key?(:'
|
97
|
-
self.
|
97
|
+
if attributes.has_key?(:'currency')
|
98
|
+
self.currency = attributes[:'currency']
|
98
99
|
end
|
99
100
|
|
100
|
-
if attributes.has_key?(:'
|
101
|
-
self.
|
101
|
+
if attributes.has_key?(:'amount')
|
102
|
+
self.amount = attributes[:'amount']
|
102
103
|
end
|
103
104
|
|
104
|
-
if attributes.has_key?(:'
|
105
|
-
|
106
|
-
|
107
|
-
|
105
|
+
if attributes.has_key?(:'locale')
|
106
|
+
self.locale = attributes[:'locale']
|
107
|
+
end
|
108
|
+
|
109
|
+
if attributes.has_key?(:'override_custom_receipt_page')
|
110
|
+
self.override_custom_receipt_page = attributes[:'override_custom_receipt_page']
|
111
|
+
end
|
112
|
+
|
113
|
+
if attributes.has_key?(:'unsigned_field_names')
|
114
|
+
self.unsigned_field_names = attributes[:'unsigned_field_names']
|
108
115
|
end
|
109
116
|
end
|
110
117
|
|
@@ -126,14 +133,16 @@ module CyberSource
|
|
126
133
|
def ==(o)
|
127
134
|
return true if self.equal?(o)
|
128
135
|
self.class == o.class &&
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
136
|
+
profile_id == o.profile_id &&
|
137
|
+
access_key == o.access_key &&
|
138
|
+
reference_number == o.reference_number &&
|
139
|
+
transaction_uuid == o.transaction_uuid &&
|
140
|
+
transaction_type == o.transaction_type &&
|
141
|
+
currency == o.currency &&
|
142
|
+
amount == o.amount &&
|
143
|
+
locale == o.locale &&
|
144
|
+
override_custom_receipt_page == o.override_custom_receipt_page &&
|
145
|
+
unsigned_field_names == o.unsigned_field_names
|
137
146
|
end
|
138
147
|
|
139
148
|
# @see the `==` method
|
@@ -145,7 +154,7 @@ module CyberSource
|
|
145
154
|
# Calculates hash code according to all attributes.
|
146
155
|
# @return [Fixnum] Hash code
|
147
156
|
def hash
|
148
|
-
[
|
157
|
+
[profile_id, access_key, reference_number, transaction_uuid, transaction_type, currency, amount, locale, override_custom_receipt_page, unsigned_field_names].hash
|
149
158
|
end
|
150
159
|
|
151
160
|
# Builds the object from hash
|
@@ -16,18 +16,21 @@ module CyberSource
|
|
16
16
|
class PatchCustomerPaymentInstrumentRequest
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# The
|
19
|
+
# The Id of the Payment Instrument Token.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# The type
|
22
|
+
# The type. Possible Values: - paymentInstrument
|
23
23
|
attr_accessor :object
|
24
24
|
|
25
|
-
# Flag that indicates whether customer payment instrument is the dafault.
|
25
|
+
# Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default.
|
26
26
|
attr_accessor :default
|
27
27
|
|
28
|
-
# Issuers state for the card number.
|
28
|
+
# Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed.
|
29
29
|
attr_accessor :state
|
30
30
|
|
31
|
+
# The type of Payment Instrument. Possible Values: - cardHash
|
32
|
+
attr_accessor :type
|
33
|
+
|
31
34
|
attr_accessor :bank_account
|
32
35
|
|
33
36
|
attr_accessor :card
|
@@ -54,6 +57,7 @@ module CyberSource
|
|
54
57
|
:'object' => :'object',
|
55
58
|
:'default' => :'default',
|
56
59
|
:'state' => :'state',
|
60
|
+
:'type' => :'type',
|
57
61
|
:'bank_account' => :'bankAccount',
|
58
62
|
:'card' => :'card',
|
59
63
|
:'buyer_information' => :'buyerInformation',
|
@@ -74,6 +78,7 @@ module CyberSource
|
|
74
78
|
:'object' => :'String',
|
75
79
|
:'default' => :'BOOLEAN',
|
76
80
|
:'state' => :'String',
|
81
|
+
:'type' => :'String',
|
77
82
|
:'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount',
|
78
83
|
:'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard',
|
79
84
|
:'buyer_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation',
|
@@ -114,6 +119,10 @@ module CyberSource
|
|
114
119
|
self.state = attributes[:'state']
|
115
120
|
end
|
116
121
|
|
122
|
+
if attributes.has_key?(:'type')
|
123
|
+
self.type = attributes[:'type']
|
124
|
+
end
|
125
|
+
|
117
126
|
if attributes.has_key?(:'bankAccount')
|
118
127
|
self.bank_account = attributes[:'bankAccount']
|
119
128
|
end
|
@@ -180,6 +189,7 @@ module CyberSource
|
|
180
189
|
object == o.object &&
|
181
190
|
default == o.default &&
|
182
191
|
state == o.state &&
|
192
|
+
type == o.type &&
|
183
193
|
bank_account == o.bank_account &&
|
184
194
|
card == o.card &&
|
185
195
|
buyer_information == o.buyer_information &&
|
@@ -200,7 +210,7 @@ module CyberSource
|
|
200
210
|
# Calculates hash code according to all attributes.
|
201
211
|
# @return [Fixnum] Hash code
|
202
212
|
def hash
|
203
|
-
[_links, id, object, default, state, bank_account, card, buyer_information, bill_to, processing_information, merchant_information, instrument_identifier, metadata, _embedded].hash
|
213
|
+
[_links, id, object, default, state, type, bank_account, card, buyer_information, bill_to, processing_information, merchant_information, instrument_identifier, metadata, _embedded].hash
|
204
214
|
end
|
205
215
|
|
206
216
|
# Builds the object from hash
|
@@ -16,10 +16,10 @@ module CyberSource
|
|
16
16
|
class PatchCustomerShippingAddressRequest
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# The
|
19
|
+
# The Id of the Shipping Address Token.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# Flag that indicates whether customer shipping address is the dafault.
|
22
|
+
# Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default.
|
23
23
|
attr_accessor :default
|
24
24
|
|
25
25
|
attr_accessor :ship_to
|
@@ -16,16 +16,16 @@ module CyberSource
|
|
16
16
|
class PatchInstrumentIdentifierRequest
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# The
|
19
|
+
# The Id of the Instrument Identifier Token.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# The type
|
22
|
+
# The type. Possible Values: - instrumentIdentifier
|
23
23
|
attr_accessor :object
|
24
24
|
|
25
|
-
# Issuers state for the card number.
|
25
|
+
# Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed.
|
26
26
|
attr_accessor :state
|
27
27
|
|
28
|
-
# The type of Instrument Identifier.
|
28
|
+
# The type of Instrument Identifier. Possible Values: - enrollable card
|
29
29
|
attr_accessor :type
|
30
30
|
|
31
31
|
attr_accessor :card
|
@@ -16,18 +16,21 @@ module CyberSource
|
|
16
16
|
class PatchPaymentInstrumentRequest
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# The
|
19
|
+
# The Id of the Payment Instrument Token.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# The type
|
22
|
+
# The type. Possible Values: - paymentInstrument
|
23
23
|
attr_accessor :object
|
24
24
|
|
25
|
-
# Flag that indicates whether customer payment instrument is the dafault.
|
25
|
+
# Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default.
|
26
26
|
attr_accessor :default
|
27
27
|
|
28
|
-
# Issuers state for the card number.
|
28
|
+
# Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed.
|
29
29
|
attr_accessor :state
|
30
30
|
|
31
|
+
# The type of Payment Instrument. Possible Values: - cardHash
|
32
|
+
attr_accessor :type
|
33
|
+
|
31
34
|
attr_accessor :bank_account
|
32
35
|
|
33
36
|
attr_accessor :card
|
@@ -54,6 +57,7 @@ module CyberSource
|
|
54
57
|
:'object' => :'object',
|
55
58
|
:'default' => :'default',
|
56
59
|
:'state' => :'state',
|
60
|
+
:'type' => :'type',
|
57
61
|
:'bank_account' => :'bankAccount',
|
58
62
|
:'card' => :'card',
|
59
63
|
:'buyer_information' => :'buyerInformation',
|
@@ -74,6 +78,7 @@ module CyberSource
|
|
74
78
|
:'object' => :'String',
|
75
79
|
:'default' => :'BOOLEAN',
|
76
80
|
:'state' => :'String',
|
81
|
+
:'type' => :'String',
|
77
82
|
:'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount',
|
78
83
|
:'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard',
|
79
84
|
:'buyer_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation',
|
@@ -114,6 +119,10 @@ module CyberSource
|
|
114
119
|
self.state = attributes[:'state']
|
115
120
|
end
|
116
121
|
|
122
|
+
if attributes.has_key?(:'type')
|
123
|
+
self.type = attributes[:'type']
|
124
|
+
end
|
125
|
+
|
117
126
|
if attributes.has_key?(:'bankAccount')
|
118
127
|
self.bank_account = attributes[:'bankAccount']
|
119
128
|
end
|
@@ -180,6 +189,7 @@ module CyberSource
|
|
180
189
|
object == o.object &&
|
181
190
|
default == o.default &&
|
182
191
|
state == o.state &&
|
192
|
+
type == o.type &&
|
183
193
|
bank_account == o.bank_account &&
|
184
194
|
card == o.card &&
|
185
195
|
buyer_information == o.buyer_information &&
|
@@ -200,7 +210,7 @@ module CyberSource
|
|
200
210
|
# Calculates hash code according to all attributes.
|
201
211
|
# @return [Fixnum] Hash code
|
202
212
|
def hash
|
203
|
-
[_links, id, object, default, state, bank_account, card, buyer_information, bill_to, processing_information, merchant_information, instrument_identifier, metadata, _embedded].hash
|
213
|
+
[_links, id, object, default, state, type, bank_account, card, buyer_information, bill_to, processing_information, merchant_information, instrument_identifier, metadata, _embedded].hash
|
204
214
|
end
|
205
215
|
|
206
216
|
# Builds the object from hash
|
@@ -16,18 +16,21 @@ module CyberSource
|
|
16
16
|
class PostCustomerPaymentInstrumentRequest
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# The
|
19
|
+
# The Id of the Payment Instrument Token.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# The type
|
22
|
+
# The type. Possible Values: - paymentInstrument
|
23
23
|
attr_accessor :object
|
24
24
|
|
25
|
-
# Flag that indicates whether customer payment instrument is the dafault.
|
25
|
+
# Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default.
|
26
26
|
attr_accessor :default
|
27
27
|
|
28
|
-
# Issuers state for the card number.
|
28
|
+
# Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed.
|
29
29
|
attr_accessor :state
|
30
30
|
|
31
|
+
# The type of Payment Instrument. Possible Values: - cardHash
|
32
|
+
attr_accessor :type
|
33
|
+
|
31
34
|
attr_accessor :bank_account
|
32
35
|
|
33
36
|
attr_accessor :card
|
@@ -54,6 +57,7 @@ module CyberSource
|
|
54
57
|
:'object' => :'object',
|
55
58
|
:'default' => :'default',
|
56
59
|
:'state' => :'state',
|
60
|
+
:'type' => :'type',
|
57
61
|
:'bank_account' => :'bankAccount',
|
58
62
|
:'card' => :'card',
|
59
63
|
:'buyer_information' => :'buyerInformation',
|
@@ -74,6 +78,7 @@ module CyberSource
|
|
74
78
|
:'object' => :'String',
|
75
79
|
:'default' => :'BOOLEAN',
|
76
80
|
:'state' => :'String',
|
81
|
+
:'type' => :'String',
|
77
82
|
:'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount',
|
78
83
|
:'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard',
|
79
84
|
:'buyer_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation',
|
@@ -114,6 +119,10 @@ module CyberSource
|
|
114
119
|
self.state = attributes[:'state']
|
115
120
|
end
|
116
121
|
|
122
|
+
if attributes.has_key?(:'type')
|
123
|
+
self.type = attributes[:'type']
|
124
|
+
end
|
125
|
+
|
117
126
|
if attributes.has_key?(:'bankAccount')
|
118
127
|
self.bank_account = attributes[:'bankAccount']
|
119
128
|
end
|
@@ -180,6 +189,7 @@ module CyberSource
|
|
180
189
|
object == o.object &&
|
181
190
|
default == o.default &&
|
182
191
|
state == o.state &&
|
192
|
+
type == o.type &&
|
183
193
|
bank_account == o.bank_account &&
|
184
194
|
card == o.card &&
|
185
195
|
buyer_information == o.buyer_information &&
|
@@ -200,7 +210,7 @@ module CyberSource
|
|
200
210
|
# Calculates hash code according to all attributes.
|
201
211
|
# @return [Fixnum] Hash code
|
202
212
|
def hash
|
203
|
-
[_links, id, object, default, state, bank_account, card, buyer_information, bill_to, processing_information, merchant_information, instrument_identifier, metadata, _embedded].hash
|
213
|
+
[_links, id, object, default, state, type, bank_account, card, buyer_information, bill_to, processing_information, merchant_information, instrument_identifier, metadata, _embedded].hash
|
204
214
|
end
|
205
215
|
|
206
216
|
# Builds the object from hash
|
@@ -16,10 +16,10 @@ module CyberSource
|
|
16
16
|
class PostCustomerShippingAddressRequest
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# The
|
19
|
+
# The Id of the Shipping Address Token.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# Flag that indicates whether customer shipping address is the dafault.
|
22
|
+
# Flag that indicates whether customer shipping address is the dafault. Possible Values: - `true`: Shipping Address is customer's default. - `false`: Shipping Address is not customer's default.
|
23
23
|
attr_accessor :default
|
24
24
|
|
25
25
|
attr_accessor :ship_to
|
@@ -16,16 +16,16 @@ module CyberSource
|
|
16
16
|
class PostInstrumentIdentifierEnrollmentRequest
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# The
|
19
|
+
# The Id of the Instrument Identifier Token.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# The type
|
22
|
+
# The type. Possible Values: - instrumentIdentifier
|
23
23
|
attr_accessor :object
|
24
24
|
|
25
|
-
# Issuers state for the card number.
|
25
|
+
# Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed.
|
26
26
|
attr_accessor :state
|
27
27
|
|
28
|
-
# The type of Instrument Identifier.
|
28
|
+
# The type of Instrument Identifier. Possible Values: - enrollable card
|
29
29
|
attr_accessor :type
|
30
30
|
|
31
31
|
attr_accessor :card
|
@@ -16,16 +16,16 @@ module CyberSource
|
|
16
16
|
class PostInstrumentIdentifierRequest
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# The
|
19
|
+
# The Id of the Instrument Identifier Token.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# The type
|
22
|
+
# The type. Possible Values: - instrumentIdentifier
|
23
23
|
attr_accessor :object
|
24
24
|
|
25
|
-
# Issuers state for the card number.
|
25
|
+
# Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed.
|
26
26
|
attr_accessor :state
|
27
27
|
|
28
|
-
# The type of Instrument Identifier.
|
28
|
+
# The type of Instrument Identifier. Possible Values: - enrollable card
|
29
29
|
attr_accessor :type
|
30
30
|
|
31
31
|
attr_accessor :card
|
@@ -16,18 +16,21 @@ module CyberSource
|
|
16
16
|
class PostPaymentInstrumentRequest
|
17
17
|
attr_accessor :_links
|
18
18
|
|
19
|
-
# The
|
19
|
+
# The Id of the Payment Instrument Token.
|
20
20
|
attr_accessor :id
|
21
21
|
|
22
|
-
# The type
|
22
|
+
# The type. Possible Values: - paymentInstrument
|
23
23
|
attr_accessor :object
|
24
24
|
|
25
|
-
# Flag that indicates whether customer payment instrument is the dafault.
|
25
|
+
# Flag that indicates whether customer payment instrument is the dafault. Possible Values: - `true`: Payment instrument is customer's default. - `false`: Payment instrument is not customer's default.
|
26
26
|
attr_accessor :default
|
27
27
|
|
28
|
-
# Issuers state for the card number.
|
28
|
+
# Issuers state for the card number. Possible Values: - ACTIVE - CLOSED : The account has been closed.
|
29
29
|
attr_accessor :state
|
30
30
|
|
31
|
+
# The type of Payment Instrument. Possible Values: - cardHash
|
32
|
+
attr_accessor :type
|
33
|
+
|
31
34
|
attr_accessor :bank_account
|
32
35
|
|
33
36
|
attr_accessor :card
|
@@ -54,6 +57,7 @@ module CyberSource
|
|
54
57
|
:'object' => :'object',
|
55
58
|
:'default' => :'default',
|
56
59
|
:'state' => :'state',
|
60
|
+
:'type' => :'type',
|
57
61
|
:'bank_account' => :'bankAccount',
|
58
62
|
:'card' => :'card',
|
59
63
|
:'buyer_information' => :'buyerInformation',
|
@@ -74,6 +78,7 @@ module CyberSource
|
|
74
78
|
:'object' => :'String',
|
75
79
|
:'default' => :'BOOLEAN',
|
76
80
|
:'state' => :'String',
|
81
|
+
:'type' => :'String',
|
77
82
|
:'bank_account' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBankAccount',
|
78
83
|
:'card' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentCard',
|
79
84
|
:'buyer_information' => :'Tmsv2customersEmbeddedDefaultPaymentInstrumentBuyerInformation',
|
@@ -114,6 +119,10 @@ module CyberSource
|
|
114
119
|
self.state = attributes[:'state']
|
115
120
|
end
|
116
121
|
|
122
|
+
if attributes.has_key?(:'type')
|
123
|
+
self.type = attributes[:'type']
|
124
|
+
end
|
125
|
+
|
117
126
|
if attributes.has_key?(:'bankAccount')
|
118
127
|
self.bank_account = attributes[:'bankAccount']
|
119
128
|
end
|
@@ -180,6 +189,7 @@ module CyberSource
|
|
180
189
|
object == o.object &&
|
181
190
|
default == o.default &&
|
182
191
|
state == o.state &&
|
192
|
+
type == o.type &&
|
183
193
|
bank_account == o.bank_account &&
|
184
194
|
card == o.card &&
|
185
195
|
buyer_information == o.buyer_information &&
|
@@ -200,7 +210,7 @@ module CyberSource
|
|
200
210
|
# Calculates hash code according to all attributes.
|
201
211
|
# @return [Fixnum] Hash code
|
202
212
|
def hash
|
203
|
-
[_links, id, object, default, state, bank_account, card, buyer_information, bill_to, processing_information, merchant_information, instrument_identifier, metadata, _embedded].hash
|
213
|
+
[_links, id, object, default, state, type, bank_account, card, buyer_information, bill_to, processing_information, merchant_information, instrument_identifier, metadata, _embedded].hash
|
204
214
|
end
|
205
215
|
|
206
216
|
# Builds the object from hash
|
@@ -148,14 +148,6 @@ module CyberSource
|
|
148
148
|
#invalid_properties.push('invalid value for "report_interval", must conform to the pattern /^PT((([1-9]|1[0-9]|2[0-3])H(([1-9]|[1-4][0-9]|5[0-9])M)?)|((([1-9]|1[0-9]|2[0-3])H)?([1-9]|[1-4][0-9]|5[0-9])M))$/.')
|
149
149
|
#end
|
150
150
|
|
151
|
-
if !@start_day.nil? && @start_day > 31
|
152
|
-
invalid_properties.push('invalid value for "start_day", must be smaller than or equal to 31.')
|
153
|
-
end
|
154
|
-
|
155
|
-
if !@start_day.nil? && @start_day < 1
|
156
|
-
invalid_properties.push('invalid value for "start_day", must be greater than or equal to 1.')
|
157
|
-
end
|
158
|
-
|
159
151
|
invalid_properties
|
160
152
|
end
|
161
153
|
|
@@ -167,8 +159,6 @@ module CyberSource
|
|
167
159
|
return false if @subscription_type.nil?
|
168
160
|
#return false if !@report_name.nil? && @report_name !~ Regexp.new(/[a-zA-Z0-9-_ ]+/)
|
169
161
|
#return false if !@report_interval.nil? && @report_interval !~ Regexp.new(/^PT((([1-9]|1[0-9]|2[0-3])H(([1-9]|[1-4][0-9]|5[0-9])M)?)|((([1-9]|1[0-9]|2[0-3])H)?([1-9]|[1-4][0-9]|5[0-9])M))$/)
|
170
|
-
return false if !@start_day.nil? && @start_day > 31
|
171
|
-
return false if !@start_day.nil? && @start_day < 1
|
172
162
|
true
|
173
163
|
end
|
174
164
|
|
@@ -209,14 +199,6 @@ module CyberSource
|
|
209
199
|
# Custom attribute writer method with validation
|
210
200
|
# @param [Object] start_day Value to be assigned
|
211
201
|
def start_day=(start_day)
|
212
|
-
if !start_day.nil? && start_day > 31
|
213
|
-
fail ArgumentError, 'invalid value for "start_day", must be smaller than or equal to 31.'
|
214
|
-
end
|
215
|
-
|
216
|
-
if !start_day.nil? && start_day < 1
|
217
|
-
fail ArgumentError, 'invalid value for "start_day", must be greater than or equal to 1.'
|
218
|
-
end
|
219
|
-
|
220
202
|
@start_day = start_day
|
221
203
|
end
|
222
204
|
|
data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb
CHANGED
@@ -20,7 +20,7 @@ module CyberSource
|
|
20
20
|
# The status of the submitted transaction. Possible values: - INVALID_REQUEST
|
21
21
|
attr_accessor :status
|
22
22
|
|
23
|
-
# The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_PAYMENT_ID
|
23
|
+
# The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_CARD - CARD_TYPE_NOT_ACCEPTED - INVALID_MERCHANT_CONFIGURATION - PROCESSOR_UNAVAILABLE - INVALID_PAYMENT_ID - NOT_SUPPORTED
|
24
24
|
attr_accessor :reason
|
25
25
|
|
26
26
|
# The detail message related to the status and reason listed above.
|
@@ -20,7 +20,7 @@ module CyberSource
|
|
20
20
|
# The status of the submitted transaction. Possible values: - INVALID_REQUEST
|
21
21
|
attr_accessor :status
|
22
22
|
|
23
|
-
# The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - EXCEEDS_AUTH_AMOUNT - AUTH_ALREADY_REVERSED - TRANSACTION_ALREADY_SETTLED - INVALID_AMOUNT - MISSING_AUTH - TRANSACTION_ALREADY_REVERSED_OR_SETTLED
|
23
|
+
# The reason of the status. Possible values: - MISSING_FIELD - INVALID_DATA - DUPLICATE_REQUEST - INVALID_MERCHANT_CONFIGURATION - EXCEEDS_AUTH_AMOUNT - AUTH_ALREADY_REVERSED - TRANSACTION_ALREADY_SETTLED - INVALID_AMOUNT - MISSING_AUTH - TRANSACTION_ALREADY_REVERSED_OR_SETTLED - NOT_SUPPORTED
|
24
24
|
attr_accessor :reason
|
25
25
|
|
26
26
|
# The detail message related to the status and reason listed above.
|
@@ -29,7 +29,7 @@ module CyberSource
|
|
29
29
|
# City of the shipping address. Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
30
30
|
attr_accessor :locality
|
31
31
|
|
32
|
-
# State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf)
|
32
|
+
# State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
33
33
|
attr_accessor :administrative_area
|
34
34
|
|
35
35
|
# Postal code for the shipping address. The postal code must consist of 5 to 9 digits. Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 #### American Express Direct Before sending the postal code to the processor, all nonalphanumeric characters are removed and, if the remaining value is longer than nine characters, the value is truncated starting from the right side. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|