cybersource_rest_client 0.0.49 → 0.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/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/payments_api.rb +2 -2
- 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_bundled_decision_manager_case_request.rb +13 -4
- data/lib/cybersource_rest_client/models/create_payment_request.rb +13 -4
- 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.rb +13 -4
- 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_error_information.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.rb +13 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_bill_to.rb +206 -0
- 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 +22 -6
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +102 -6
- data/lib/cybersource_rest_client/models/{risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb → pts_v2_payments_post201_response_watchlist_screening_information.rb} +2 -20
- data/lib/cybersource_rest_client/models/{risk_v1_export_compliance_inquiries_post201_response_export_compliance_information_watch_list.rb → pts_v2_payments_post201_response_watchlist_screening_information_watch_list.rb} +2 -2
- data/lib/cybersource_rest_client/models/{risk_v1_export_compliance_inquiries_post201_response_watch_list_matches.rb → pts_v2_payments_post201_response_watchlist_screening_information_watch_list_matches.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 +26 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_service_location.rb +238 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +36 -4
- 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 +27 -23
- 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 +22 -6
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +12 -47
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +14 -4
- 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/ptsv2payments_watchlist_screening_information.rb +215 -0
- data/lib/cybersource_rest_client/models/{riskv1exportcomplianceinquiries_export_compliance_information_weights.rb → ptsv2payments_watchlist_screening_information_weights.rb} +1 -1
- 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/ptsv2payouts_processing_information_payouts_options.rb +20 -4
- 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.rb +10 -1
- 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_decisions_post201_response_error_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +1 -1
- 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 +27 -23
- 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/riskv1decisions_processing_information.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_export_compliance_information.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_get200_response_processor_information_electronic_verification_results.rb +2 -2
- 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 +119 -17
- metadata +121 -19
- data/lib/cybersource_rest_client/api/key_generation_api.rb +0 -96
- data/lib/cybersource_rest_client/api/tokenization_api.rb +0 -89
@@ -23,7 +23,7 @@ module CyberSource
|
|
23
23
|
# One of two possible meanings: - The four-digit year in which a token expires. - The four-digit year in which a card expires. Format: `YYYY` Possible values: `1900` through `3000` Data type: Non-negative integer **NOTE** The meaning of this field is dependent on the payment processor that is returning the value in an authorization reply. Please see the processor-specific details below. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (1900 through 3000) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (`card_ type=039`), if there is no expiration date on the card, use `2021`. #### 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. #### Samsung Pay and Apple Pay Year in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. For processor-specific information, see the `customer_cc_expyr` or `token_expiration_year` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
|
24
24
|
attr_accessor :expiration_year
|
25
25
|
|
26
|
-
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
26
|
+
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
27
27
|
attr_accessor :type
|
28
28
|
|
29
29
|
# This field contains token information.
|
@@ -35,7 +35,7 @@ module CyberSource
|
|
35
35
|
# Type of transaction that provided the token data. This value does not specify the token service provider; it specifies the entity that provided you with information about the token. Possible value: - `2`: Near-field communication (NFC) transaction. The customer’s mobile device provided the token data for a contactless EMV transaction. For recurring transactions, use this value if the original transaction was a contactless EMV transaction. #### Visa Platform Connect - `1`: For Rupay and In App tokenization. Example: InApp apple pay. - `3`: Card/Credential On File Tokenization. **NOTE** No CyberSource through VisaNet acquirers support EMV at this time. Required field for PIN debit credit or PIN debit purchase transactions that use payment network tokens; otherwise, not used.
|
36
36
|
attr_accessor :transaction_type
|
37
37
|
|
38
|
-
# Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase.
|
38
|
+
# Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **CyberSource through VisaNet** and **FDC Nashville Global**. Returned by PIN debit credit or PIN debit purchase. **Note** Merchants supported for **CyberSource through VisaNet**/**Visa Platform Connect** are advised not to use this field.
|
39
39
|
attr_accessor :assurance_level
|
40
40
|
|
41
41
|
# Type of technology used in the device to store token data. Possible values: - `001`: Secure Element (SE). Smart card or memory with restricted access and encryption to prevent data tampering. For storing payment credentials, a SE is tested against a set of requirements defined by the payment networks. **Note** This field is supported only for _FDC Compass_. - 002: Host Card Emulation (HCE). Emulation of a smart card by using software to create a virtual and exact representation of the card. Sensitive data is stored in a database that is hosted in the cloud. For storing payment credentials, a database must meet very stringent security requirements that exceed PCI DSS. **Note** This field is supported only for _FDC Compass_.
|
@@ -47,6 +47,9 @@ module CyberSource
|
|
47
47
|
# Indicates whether a CVN code was sent. Possible values: - `0` (default): CVN service not requested. This default value is used when you do not include `securityCode` field in the request. - `1` (default): CVN service requested and supported. This default value is used when you include `securityCode` field in the request. - `2`: CVN on credit card is illegible. - `9`: CVN was not imprinted on credit card. #### FDMS Nashville Required for American Express cards; otherwise, optional. #### TSYS Acquiring Solutions Optional if `pointOfSaleInformation.entryMode=keyed`; otherwise, not used. #### All other processors Optional.
|
48
48
|
attr_accessor :security_code_indicator
|
49
49
|
|
50
|
+
# Confidence level of the tokenization. This value is assigned by the token service provider. **Note** This field is supported only for **Visa Platform Connect**
|
51
|
+
attr_accessor :assurance_method
|
52
|
+
|
50
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
51
54
|
def self.attribute_map
|
52
55
|
{
|
@@ -60,7 +63,8 @@ module CyberSource
|
|
60
63
|
:'assurance_level' => :'assuranceLevel',
|
61
64
|
:'storage_method' => :'storageMethod',
|
62
65
|
:'security_code' => :'securityCode',
|
63
|
-
:'security_code_indicator' => :'securityCodeIndicator'
|
66
|
+
:'security_code_indicator' => :'securityCodeIndicator',
|
67
|
+
:'assurance_method' => :'assuranceMethod'
|
64
68
|
}
|
65
69
|
end
|
66
70
|
|
@@ -77,7 +81,8 @@ module CyberSource
|
|
77
81
|
:'assurance_level' => :'String',
|
78
82
|
:'storage_method' => :'String',
|
79
83
|
:'security_code' => :'String',
|
80
|
-
:'security_code_indicator' => :'String'
|
84
|
+
:'security_code_indicator' => :'String',
|
85
|
+
:'assurance_method' => :'String'
|
81
86
|
}
|
82
87
|
end
|
83
88
|
|
@@ -132,6 +137,10 @@ module CyberSource
|
|
132
137
|
if attributes.has_key?(:'securityCodeIndicator')
|
133
138
|
self.security_code_indicator = attributes[:'securityCodeIndicator']
|
134
139
|
end
|
140
|
+
|
141
|
+
if attributes.has_key?(:'assuranceMethod')
|
142
|
+
self.assurance_method = attributes[:'assuranceMethod']
|
143
|
+
end
|
135
144
|
end
|
136
145
|
|
137
146
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -207,6 +216,12 @@ module CyberSource
|
|
207
216
|
@security_code_indicator = security_code_indicator
|
208
217
|
end
|
209
218
|
|
219
|
+
# Custom attribute writer method with validation
|
220
|
+
# @param [Object] assurance_method Value to be assigned
|
221
|
+
def assurance_method=(assurance_method)
|
222
|
+
@assurance_method = assurance_method
|
223
|
+
end
|
224
|
+
|
210
225
|
# Checks equality by comparing each attribute.
|
211
226
|
# @param [Object] Object to be compared
|
212
227
|
def ==(o)
|
@@ -222,7 +237,8 @@ module CyberSource
|
|
222
237
|
assurance_level == o.assurance_level &&
|
223
238
|
storage_method == o.storage_method &&
|
224
239
|
security_code == o.security_code &&
|
225
|
-
security_code_indicator == o.security_code_indicator
|
240
|
+
security_code_indicator == o.security_code_indicator &&
|
241
|
+
assurance_method == o.assurance_method
|
226
242
|
end
|
227
243
|
|
228
244
|
# @see the `==` method
|
@@ -234,7 +250,7 @@ module CyberSource
|
|
234
250
|
# Calculates hash code according to all attributes.
|
235
251
|
# @return [Fixnum] Hash code
|
236
252
|
def hash
|
237
|
-
[number, expiration_month, expiration_year, type, cryptogram, requestor_id, transaction_type, assurance_level, storage_method, security_code, security_code_indicator].hash
|
253
|
+
[number, expiration_month, expiration_year, type, cryptogram, requestor_id, transaction_type, assurance_level, storage_method, security_code, security_code_indicator, assurance_method].hash
|
238
254
|
end
|
239
255
|
|
240
256
|
# Builds the object from hash
|
@@ -61,9 +61,12 @@ module CyberSource
|
|
61
61
|
# Indicates whether the terminal can print or display messages. Possible values: - 1: Neither - 2: Print only - 3: Display only - 4: Print and display - 5: Merchant terminal supports purchase only approvals This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX - VisaNet Optional field.
|
62
62
|
attr_accessor :terminal_output_capability
|
63
63
|
|
64
|
-
# Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX Required field for authorization or credit of PIN transactions.
|
64
|
+
# Maximum PIN length that the terminal can capture. Possible values: - 0: No PIN capture capability - 1: PIN capture capability unknown - 2: PIN Pad down - 4: Four characters - 5: Five characters - 6: Six characters - 7: Seven characters - 8: Eight characters - 9: Nine characters - 10: Ten characters - 11: Eleven characters - 12: Twelve characters This field is supported for authorizations and credits only on the following processors: - American Express Direct - Credit Mutuel-CIC - OmniPay Direct - SIX - Visa Platform Connect Required field for authorization or credit of PIN transactions.
|
65
65
|
attr_accessor :terminal_pin_capability
|
66
66
|
|
67
|
+
# This field will contain the type of Pin Pad the terminal has. Possible values: - PCI-SPoC: Where the pin is being put on screen - PCI-PTS: Where the pin is being put on actual hardware pin pad
|
68
|
+
attr_accessor :pin_entry_solution
|
69
|
+
|
67
70
|
# Value created by the client software that uniquely identifies the POS device. This value is provided by the client software that is installed on the POS terminal. CyberSource does not forward this value to the processor. Instead, the value is forwarded to the CyberSource reporting functionality. This field is supported only on American Express Direct, FDC Nashville Global, and SIX.
|
68
71
|
attr_accessor :device_id
|
69
72
|
|
@@ -117,6 +120,7 @@ module CyberSource
|
|
117
120
|
:'terminal_card_capture_capability' => :'terminalCardCaptureCapability',
|
118
121
|
:'terminal_output_capability' => :'terminalOutputCapability',
|
119
122
|
:'terminal_pin_capability' => :'terminalPinCapability',
|
123
|
+
:'pin_entry_solution' => :'pinEntrySolution',
|
120
124
|
:'device_id' => :'deviceId',
|
121
125
|
:'pin_block_encoding_format' => :'pinBlockEncodingFormat',
|
122
126
|
:'encrypted_pin' => :'encryptedPin',
|
@@ -151,6 +155,7 @@ module CyberSource
|
|
151
155
|
:'terminal_card_capture_capability' => :'String',
|
152
156
|
:'terminal_output_capability' => :'String',
|
153
157
|
:'terminal_pin_capability' => :'Integer',
|
158
|
+
:'pin_entry_solution' => :'String',
|
154
159
|
:'device_id' => :'String',
|
155
160
|
:'pin_block_encoding_format' => :'Integer',
|
156
161
|
:'encrypted_pin' => :'String',
|
@@ -245,6 +250,10 @@ module CyberSource
|
|
245
250
|
self.terminal_pin_capability = attributes[:'terminalPinCapability']
|
246
251
|
end
|
247
252
|
|
253
|
+
if attributes.has_key?(:'pinEntrySolution')
|
254
|
+
self.pin_entry_solution = attributes[:'pinEntrySolution']
|
255
|
+
end
|
256
|
+
|
248
257
|
if attributes.has_key?(:'deviceId')
|
249
258
|
self.device_id = attributes[:'deviceId']
|
250
259
|
end
|
@@ -294,37 +303,12 @@ module CyberSource
|
|
294
303
|
# @return Array for valid properties with the reasons
|
295
304
|
def list_invalid_properties
|
296
305
|
invalid_properties = Array.new
|
297
|
-
if !@cat_level.nil? && @cat_level > 9
|
298
|
-
invalid_properties.push('invalid value for "cat_level", must be smaller than or equal to 9.')
|
299
|
-
end
|
300
|
-
|
301
|
-
if !@cat_level.nil? && @cat_level < 1
|
302
|
-
invalid_properties.push('invalid value for "cat_level", must be greater than or equal to 1.')
|
303
|
-
end
|
304
|
-
|
305
|
-
if !@terminal_capability.nil? && @terminal_capability > 5
|
306
|
-
invalid_properties.push('invalid value for "terminal_capability", must be smaller than or equal to 5.')
|
307
|
-
end
|
308
|
-
|
309
|
-
if !@terminal_capability.nil? && @terminal_capability < 1
|
310
|
-
invalid_properties.push('invalid value for "terminal_capability", must be greater than or equal to 1.')
|
311
|
-
end
|
312
|
-
|
313
|
-
if !@pin_block_encoding_format.nil? && @pin_block_encoding_format > 9
|
314
|
-
invalid_properties.push('invalid value for "pin_block_encoding_format", must be smaller than or equal to 9.')
|
315
|
-
end
|
316
|
-
|
317
306
|
invalid_properties
|
318
307
|
end
|
319
308
|
|
320
309
|
# Check to see if the all the properties in the model are valid
|
321
310
|
# @return true if the model is valid
|
322
311
|
def valid?
|
323
|
-
return false if !@cat_level.nil? && @cat_level > 9
|
324
|
-
return false if !@cat_level.nil? && @cat_level < 1
|
325
|
-
return false if !@terminal_capability.nil? && @terminal_capability > 5
|
326
|
-
return false if !@terminal_capability.nil? && @terminal_capability < 1
|
327
|
-
return false if !@pin_block_encoding_format.nil? && @pin_block_encoding_format > 9
|
328
312
|
true
|
329
313
|
end
|
330
314
|
|
@@ -349,14 +333,6 @@ module CyberSource
|
|
349
333
|
# Custom attribute writer method with validation
|
350
334
|
# @param [Object] cat_level Value to be assigned
|
351
335
|
def cat_level=(cat_level)
|
352
|
-
if !cat_level.nil? && cat_level > 9
|
353
|
-
fail ArgumentError, 'invalid value for "cat_level", must be smaller than or equal to 9.'
|
354
|
-
end
|
355
|
-
|
356
|
-
if !cat_level.nil? && cat_level < 1
|
357
|
-
fail ArgumentError, 'invalid value for "cat_level", must be greater than or equal to 1.'
|
358
|
-
end
|
359
|
-
|
360
336
|
@cat_level = cat_level
|
361
337
|
end
|
362
338
|
|
@@ -369,14 +345,6 @@ module CyberSource
|
|
369
345
|
# Custom attribute writer method with validation
|
370
346
|
# @param [Object] terminal_capability Value to be assigned
|
371
347
|
def terminal_capability=(terminal_capability)
|
372
|
-
if !terminal_capability.nil? && terminal_capability > 5
|
373
|
-
fail ArgumentError, 'invalid value for "terminal_capability", must be smaller than or equal to 5.'
|
374
|
-
end
|
375
|
-
|
376
|
-
if !terminal_capability.nil? && terminal_capability < 1
|
377
|
-
fail ArgumentError, 'invalid value for "terminal_capability", must be greater than or equal to 1.'
|
378
|
-
end
|
379
|
-
|
380
348
|
@terminal_capability = terminal_capability
|
381
349
|
end
|
382
350
|
|
@@ -419,10 +387,6 @@ module CyberSource
|
|
419
387
|
# Custom attribute writer method with validation
|
420
388
|
# @param [Object] pin_block_encoding_format Value to be assigned
|
421
389
|
def pin_block_encoding_format=(pin_block_encoding_format)
|
422
|
-
if !pin_block_encoding_format.nil? && pin_block_encoding_format > 9
|
423
|
-
fail ArgumentError, 'invalid value for "pin_block_encoding_format", must be smaller than or equal to 9.'
|
424
|
-
end
|
425
|
-
|
426
390
|
@pin_block_encoding_format = pin_block_encoding_format
|
427
391
|
end
|
428
392
|
|
@@ -502,6 +466,7 @@ module CyberSource
|
|
502
466
|
terminal_card_capture_capability == o.terminal_card_capture_capability &&
|
503
467
|
terminal_output_capability == o.terminal_output_capability &&
|
504
468
|
terminal_pin_capability == o.terminal_pin_capability &&
|
469
|
+
pin_entry_solution == o.pin_entry_solution &&
|
505
470
|
device_id == o.device_id &&
|
506
471
|
pin_block_encoding_format == o.pin_block_encoding_format &&
|
507
472
|
encrypted_pin == o.encrypted_pin &&
|
@@ -524,7 +489,7 @@ module CyberSource
|
|
524
489
|
# Calculates hash code according to all attributes.
|
525
490
|
# @return [Fixnum] Hash code
|
526
491
|
def hash
|
527
|
-
[terminal_id, terminal_serial_number, cardholder_verification_method_used, lane_number, cat_level, entry_mode, terminal_capability, operating_environment, emv, amex_capn_data, track_data, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, device_id, pin_block_encoding_format, encrypted_pin, encrypted_key_serial_number, partner_sdk_version, emv_application_identifier_and_dedicated_file_name, terminal_compliance, is_dedicated_hardware_terminal, terminal_model, terminal_make, service_code].hash
|
492
|
+
[terminal_id, terminal_serial_number, cardholder_verification_method_used, lane_number, cat_level, entry_mode, terminal_capability, operating_environment, emv, amex_capn_data, track_data, store_and_forward_indicator, cardholder_verification_method, terminal_input_capability, terminal_card_capture_capability, terminal_output_capability, terminal_pin_capability, pin_entry_solution, device_id, pin_block_encoding_format, encrypted_pin, encrypted_key_serial_number, partner_sdk_version, emv_application_identifier_and_dedicated_file_name, terminal_compliance, is_dedicated_hardware_terminal, terminal_model, terminal_make, service_code].hash
|
528
493
|
end
|
529
494
|
|
530
495
|
# Builds the object from hash
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsProcessingInformation
|
17
|
-
# Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested.
|
17
|
+
# Array of actions (one or more) to be included in the payment to invoke bundled services along with payment. Possible values are one or more of follows: - `DECISION_SKIP`: Use this when you want to skip Decision Manager service(s). - `TOKEN_CREATE`: Use this when you want to create a token from the card/bank data in your payment request. - `CONSUMER_AUTHENTICATION`: Use this when you want to check if a card is enrolled in Payer Authentioncation along with your payment request. - `VALIDATE_CONSUMER_AUTHENTICATION`: Use this after you acquire a Payer Authentioncation result that needs to be included for your payment request. - `AP_INITIATE`: Use this when Alternative Payment Initiate service is requested. - `WATCHLIST_SCREENING` : Use this when you want to call Watchlist Screening service.
|
18
18
|
attr_accessor :action_list
|
19
19
|
|
20
20
|
# Indicates whether to use the customer’s escrow agreement. Possible values: - `true`: yes, use the customer’s escrow agreement. - `false`: no, do not use the customer’s escrow agreement.
|
@@ -70,6 +70,9 @@ module CyberSource
|
|
70
70
|
# This API field enables the merchant to indicate that a given transaction is Cash Advance. Cash advance or Cash disbursement functionality allows a merchant to dispense cash at a point of sale. It provides the ability of a POS system to act like an ATM. These terminals are typically seen in bank branches where customers can use their card and withdraw cash or at merchant locations where ATMs are sparse. Possible values: - `true` (Cash advance is supported) - `false` (default: cash advance is not supported)
|
71
71
|
attr_accessor :cash_advance_indicator
|
72
72
|
|
73
|
+
# #### Visa Platform Connect Indicates split payment transaction. A split payment allows the use of two payment methods for a single transaction. Possible values: - `true` (split payment transaction is supported) - `false` (default: split payment transaction is not supported)
|
74
|
+
attr_accessor :split_payment_transaction
|
75
|
+
|
73
76
|
# Attribute mapping from ruby-style variable name to JSON key.
|
74
77
|
def self.attribute_map
|
75
78
|
{
|
@@ -91,7 +94,8 @@ module CyberSource
|
|
91
94
|
:'aggregated_auth_indicator' => :'aggregatedAuthIndicator',
|
92
95
|
:'debt_recovery_indicator' => :'debtRecoveryIndicator',
|
93
96
|
:'deferred_auth_indicator' => :'deferredAuthIndicator',
|
94
|
-
:'cash_advance_indicator' => :'cashAdvanceIndicator'
|
97
|
+
:'cash_advance_indicator' => :'cashAdvanceIndicator',
|
98
|
+
:'split_payment_transaction' => :'splitPaymentTransaction'
|
95
99
|
}
|
96
100
|
end
|
97
101
|
|
@@ -116,7 +120,8 @@ module CyberSource
|
|
116
120
|
:'aggregated_auth_indicator' => :'String',
|
117
121
|
:'debt_recovery_indicator' => :'String',
|
118
122
|
:'deferred_auth_indicator' => :'BOOLEAN',
|
119
|
-
:'cash_advance_indicator' => :'BOOLEAN'
|
123
|
+
:'cash_advance_indicator' => :'BOOLEAN',
|
124
|
+
:'split_payment_transaction' => :'BOOLEAN'
|
120
125
|
}
|
121
126
|
end
|
122
127
|
|
@@ -209,6 +214,10 @@ module CyberSource
|
|
209
214
|
if attributes.has_key?(:'cashAdvanceIndicator')
|
210
215
|
self.cash_advance_indicator = attributes[:'cashAdvanceIndicator']
|
211
216
|
end
|
217
|
+
|
218
|
+
if attributes.has_key?(:'splitPaymentTransaction')
|
219
|
+
self.split_payment_transaction = attributes[:'splitPaymentTransaction']
|
220
|
+
end
|
212
221
|
end
|
213
222
|
|
214
223
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -277,7 +286,8 @@ module CyberSource
|
|
277
286
|
aggregated_auth_indicator == o.aggregated_auth_indicator &&
|
278
287
|
debt_recovery_indicator == o.debt_recovery_indicator &&
|
279
288
|
deferred_auth_indicator == o.deferred_auth_indicator &&
|
280
|
-
cash_advance_indicator == o.cash_advance_indicator
|
289
|
+
cash_advance_indicator == o.cash_advance_indicator &&
|
290
|
+
split_payment_transaction == o.split_payment_transaction
|
281
291
|
end
|
282
292
|
|
283
293
|
# @see the `==` method
|
@@ -289,7 +299,7 @@ module CyberSource
|
|
289
299
|
# Calculates hash code according to all attributes.
|
290
300
|
# @return [Fixnum] Hash code
|
291
301
|
def hash
|
292
|
-
[auth_type, pan_return_indicator, verbal_auth_code, verbal_auth_transaction_id, auth_indicator, partial_auth_indicator, balance_inquiry, ignore_avs_result, decline_avs_flags, ignore_cv_result, initiator, bill_payment, bill_payment_type, redemption_inquiry, transportation_mode, aggregated_auth_indicator, debt_recovery_indicator, deferred_auth_indicator, cash_advance_indicator].hash
|
302
|
+
[auth_type, pan_return_indicator, verbal_auth_code, verbal_auth_transaction_id, auth_indicator, partial_auth_indicator, balance_inquiry, ignore_avs_result, decline_avs_flags, ignore_cv_result, initiator, bill_payment, bill_payment_type, redemption_inquiry, transportation_mode, aggregated_auth_indicator, debt_recovery_indicator, deferred_auth_indicator, cash_advance_indicator, split_payment_transaction].hash
|
293
303
|
end
|
294
304
|
|
295
305
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb
CHANGED
@@ -66,60 +66,24 @@ module CyberSource
|
|
66
66
|
# @return Array for valid properties with the reasons
|
67
67
|
def list_invalid_properties
|
68
68
|
invalid_properties = Array.new
|
69
|
-
if !@capture_sequence_number.nil? && @capture_sequence_number > 99
|
70
|
-
invalid_properties.push('invalid value for "capture_sequence_number", must be smaller than or equal to 99.')
|
71
|
-
end
|
72
|
-
|
73
|
-
if !@capture_sequence_number.nil? && @capture_sequence_number < 1
|
74
|
-
invalid_properties.push('invalid value for "capture_sequence_number", must be greater than or equal to 1.')
|
75
|
-
end
|
76
|
-
|
77
|
-
if !@total_capture_count.nil? && @total_capture_count > 99
|
78
|
-
invalid_properties.push('invalid value for "total_capture_count", must be smaller than or equal to 99.')
|
79
|
-
end
|
80
|
-
|
81
|
-
if !@total_capture_count.nil? && @total_capture_count < 1
|
82
|
-
invalid_properties.push('invalid value for "total_capture_count", must be greater than or equal to 1.')
|
83
|
-
end
|
84
|
-
|
85
69
|
invalid_properties
|
86
70
|
end
|
87
71
|
|
88
72
|
# Check to see if the all the properties in the model are valid
|
89
73
|
# @return true if the model is valid
|
90
74
|
def valid?
|
91
|
-
return false if !@capture_sequence_number.nil? && @capture_sequence_number > 99
|
92
|
-
return false if !@capture_sequence_number.nil? && @capture_sequence_number < 1
|
93
|
-
return false if !@total_capture_count.nil? && @total_capture_count > 99
|
94
|
-
return false if !@total_capture_count.nil? && @total_capture_count < 1
|
95
75
|
true
|
96
76
|
end
|
97
77
|
|
98
78
|
# Custom attribute writer method with validation
|
99
79
|
# @param [Object] capture_sequence_number Value to be assigned
|
100
80
|
def capture_sequence_number=(capture_sequence_number)
|
101
|
-
if !capture_sequence_number.nil? && capture_sequence_number > 99
|
102
|
-
fail ArgumentError, 'invalid value for "capture_sequence_number", must be smaller than or equal to 99.'
|
103
|
-
end
|
104
|
-
|
105
|
-
if !capture_sequence_number.nil? && capture_sequence_number < 1
|
106
|
-
fail ArgumentError, 'invalid value for "capture_sequence_number", must be greater than or equal to 1.'
|
107
|
-
end
|
108
|
-
|
109
81
|
@capture_sequence_number = capture_sequence_number
|
110
82
|
end
|
111
83
|
|
112
84
|
# Custom attribute writer method with validation
|
113
85
|
# @param [Object] total_capture_count Value to be assigned
|
114
86
|
def total_capture_count=(total_capture_count)
|
115
|
-
if !total_capture_count.nil? && total_capture_count > 99
|
116
|
-
fail ArgumentError, 'invalid value for "total_capture_count", must be smaller than or equal to 99.'
|
117
|
-
end
|
118
|
-
|
119
|
-
if !total_capture_count.nil? && total_capture_count < 1
|
120
|
-
fail ArgumentError, 'invalid value for "total_capture_count", must be greater than or equal to 1.'
|
121
|
-
end
|
122
|
-
|
123
87
|
@total_capture_count = total_capture_count
|
124
88
|
end
|
125
89
|
|
@@ -419,32 +419,12 @@ module CyberSource
|
|
419
419
|
# @return Array for valid properties with the reasons
|
420
420
|
def list_invalid_properties
|
421
421
|
invalid_properties = Array.new
|
422
|
-
if !@number_of_rooms.nil? && @number_of_rooms > 99
|
423
|
-
invalid_properties.push('invalid value for "number_of_rooms", must be smaller than or equal to 99.')
|
424
|
-
end
|
425
|
-
|
426
|
-
if !@number_of_rooms.nil? && @number_of_rooms < 1
|
427
|
-
invalid_properties.push('invalid value for "number_of_rooms", must be greater than or equal to 1.')
|
428
|
-
end
|
429
|
-
|
430
|
-
if !@number_of_guests.nil? && @number_of_guests > 99
|
431
|
-
invalid_properties.push('invalid value for "number_of_guests", must be smaller than or equal to 99.')
|
432
|
-
end
|
433
|
-
|
434
|
-
if !@number_of_guests.nil? && @number_of_guests < 1
|
435
|
-
invalid_properties.push('invalid value for "number_of_guests", must be greater than or equal to 1.')
|
436
|
-
end
|
437
|
-
|
438
422
|
invalid_properties
|
439
423
|
end
|
440
424
|
|
441
425
|
# Check to see if the all the properties in the model are valid
|
442
426
|
# @return true if the model is valid
|
443
427
|
def valid?
|
444
|
-
return false if !@number_of_rooms.nil? && @number_of_rooms > 99
|
445
|
-
return false if !@number_of_rooms.nil? && @number_of_rooms < 1
|
446
|
-
return false if !@number_of_guests.nil? && @number_of_guests > 99
|
447
|
-
return false if !@number_of_guests.nil? && @number_of_guests < 1
|
448
428
|
true
|
449
429
|
end
|
450
430
|
|
@@ -469,28 +449,12 @@ module CyberSource
|
|
469
449
|
# Custom attribute writer method with validation
|
470
450
|
# @param [Object] number_of_rooms Value to be assigned
|
471
451
|
def number_of_rooms=(number_of_rooms)
|
472
|
-
if !number_of_rooms.nil? && number_of_rooms > 99
|
473
|
-
fail ArgumentError, 'invalid value for "number_of_rooms", must be smaller than or equal to 99.'
|
474
|
-
end
|
475
|
-
|
476
|
-
if !number_of_rooms.nil? && number_of_rooms < 1
|
477
|
-
fail ArgumentError, 'invalid value for "number_of_rooms", must be greater than or equal to 1.'
|
478
|
-
end
|
479
|
-
|
480
452
|
@number_of_rooms = number_of_rooms
|
481
453
|
end
|
482
454
|
|
483
455
|
# Custom attribute writer method with validation
|
484
456
|
# @param [Object] number_of_guests Value to be assigned
|
485
457
|
def number_of_guests=(number_of_guests)
|
486
|
-
if !number_of_guests.nil? && number_of_guests > 99
|
487
|
-
fail ArgumentError, 'invalid value for "number_of_guests", must be smaller than or equal to 99.'
|
488
|
-
end
|
489
|
-
|
490
|
-
if !number_of_guests.nil? && number_of_guests < 1
|
491
|
-
fail ArgumentError, 'invalid value for "number_of_guests", must be greater than or equal to 1.'
|
492
|
-
end
|
493
|
-
|
494
458
|
@number_of_guests = number_of_guests
|
495
459
|
end
|
496
460
|
|
@@ -57,22 +57,12 @@ module CyberSource
|
|
57
57
|
# @return Array for valid properties with the reasons
|
58
58
|
def list_invalid_properties
|
59
59
|
invalid_properties = Array.new
|
60
|
-
if !@number_of_nights.nil? && @number_of_nights > 9999
|
61
|
-
invalid_properties.push('invalid value for "number_of_nights", must be smaller than or equal to 9999.')
|
62
|
-
end
|
63
|
-
|
64
|
-
if !@number_of_nights.nil? && @number_of_nights < 1
|
65
|
-
invalid_properties.push('invalid value for "number_of_nights", must be greater than or equal to 1.')
|
66
|
-
end
|
67
|
-
|
68
60
|
invalid_properties
|
69
61
|
end
|
70
62
|
|
71
63
|
# Check to see if the all the properties in the model are valid
|
72
64
|
# @return true if the model is valid
|
73
65
|
def valid?
|
74
|
-
return false if !@number_of_nights.nil? && @number_of_nights > 9999
|
75
|
-
return false if !@number_of_nights.nil? && @number_of_nights < 1
|
76
66
|
true
|
77
67
|
end
|
78
68
|
|
@@ -85,14 +75,6 @@ module CyberSource
|
|
85
75
|
# Custom attribute writer method with validation
|
86
76
|
# @param [Object] number_of_nights Value to be assigned
|
87
77
|
def number_of_nights=(number_of_nights)
|
88
|
-
if !number_of_nights.nil? && number_of_nights > 9999
|
89
|
-
fail ArgumentError, 'invalid value for "number_of_nights", must be smaller than or equal to 9999.'
|
90
|
-
end
|
91
|
-
|
92
|
-
if !number_of_nights.nil? && number_of_nights < 1
|
93
|
-
fail ArgumentError, 'invalid value for "number_of_nights", must be greater than or equal to 1.'
|
94
|
-
end
|
95
|
-
|
96
78
|
@number_of_nights = number_of_nights
|
97
79
|
end
|
98
80
|
|