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
data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb
CHANGED
@@ -136,6 +136,9 @@ module CyberSource
|
|
136
136
|
# Enables the communication of trusted beneficiary/whitelist status between the ACS, the DS and the 3DS Requestor. Possible Values: Y - 3DS Requestor is whitelisted by cardholder N - 3DS Requestor is not whitelisted by cardholder
|
137
137
|
attr_accessor :white_list_status
|
138
138
|
|
139
|
+
# Risk Assessment from Mastercard. This is to be sent by merchant if they would like to request a score
|
140
|
+
attr_accessor :score_request
|
141
|
+
|
139
142
|
# Attribute mapping from ruby-style variable name to JSON key.
|
140
143
|
def self.attribute_map
|
141
144
|
{
|
@@ -179,7 +182,8 @@ module CyberSource
|
|
179
182
|
:'sdk_max_timeout' => :'sdkMaxTimeout',
|
180
183
|
:'secure_corporate_payment_indicator' => :'secureCorporatePaymentIndicator',
|
181
184
|
:'transaction_mode' => :'transactionMode',
|
182
|
-
:'white_list_status' => :'whiteListStatus'
|
185
|
+
:'white_list_status' => :'whiteListStatus',
|
186
|
+
:'score_request' => :'scoreRequest'
|
183
187
|
}
|
184
188
|
end
|
185
189
|
|
@@ -226,7 +230,8 @@ module CyberSource
|
|
226
230
|
:'sdk_max_timeout' => :'String',
|
227
231
|
:'secure_corporate_payment_indicator' => :'String',
|
228
232
|
:'transaction_mode' => :'String',
|
229
|
-
:'white_list_status' => :'String'
|
233
|
+
:'white_list_status' => :'String',
|
234
|
+
:'score_request' => :'Integer'
|
230
235
|
}
|
231
236
|
end
|
232
237
|
|
@@ -401,6 +406,10 @@ module CyberSource
|
|
401
406
|
if attributes.has_key?(:'whiteListStatus')
|
402
407
|
self.white_list_status = attributes[:'whiteListStatus']
|
403
408
|
end
|
409
|
+
|
410
|
+
if attributes.has_key?(:'scoreRequest')
|
411
|
+
self.score_request = attributes[:'scoreRequest']
|
412
|
+
end
|
404
413
|
end
|
405
414
|
|
406
415
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -641,7 +650,8 @@ module CyberSource
|
|
641
650
|
sdk_max_timeout == o.sdk_max_timeout &&
|
642
651
|
secure_corporate_payment_indicator == o.secure_corporate_payment_indicator &&
|
643
652
|
transaction_mode == o.transaction_mode &&
|
644
|
-
white_list_status == o.white_list_status
|
653
|
+
white_list_status == o.white_list_status &&
|
654
|
+
score_request == o.score_request
|
645
655
|
end
|
646
656
|
|
647
657
|
# @see the `==` method
|
@@ -653,7 +663,7 @@ module CyberSource
|
|
653
663
|
# Calculates hash code according to all attributes.
|
654
664
|
# @return [Fixnum] Hash code
|
655
665
|
def hash
|
656
|
-
[strong_authentication, authentication_type, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, transaction_flow_indicator, challenge_cancel_code, challenge_code, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, installment_total_count, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, return_url, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status].hash
|
666
|
+
[strong_authentication, authentication_type, acs_window_size, alternate_authentication_data, alternate_authentication_date, alternate_authentication_method, authentication_date, authentication_transaction_id, transaction_flow_indicator, challenge_cancel_code, challenge_code, challenge_status, customer_card_alias, decoupled_authentication_indicator, decoupled_authentication_max_time, default_card, device_channel, installment_total_count, merchant_fraud_rate, marketing_opt_in, marketing_source, mcc, merchant_score, message_category, npa_code, override_payment_method, override_country_code, prior_authentication_data, prior_authentication_method, prior_authentication_reference_id, prior_authentication_time, product_code, return_url, requestor_id, requestor_initiated_authentication_indicator, requestor_name, reference_id, sdk_max_timeout, secure_corporate_payment_indicator, transaction_mode, white_list_status, score_request].hash
|
657
667
|
end
|
658
668
|
|
659
669
|
# Builds the object from hash
|
@@ -38,7 +38,7 @@ module CyberSource
|
|
38
38
|
# For an authorization or capture transaction (`processingOptions.capture` is `true` or `false`), this field is required when `orderInformation.lineItems[].productCode` is not `default` or one of the other values that are related to shipping and/or handling. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes.
|
39
39
|
attr_accessor :product_name
|
40
40
|
|
41
|
-
# Type of product. The value for this field is used to identify the product category (electronic, handling, physical, service, or shipping). The default value is `default`. If you are performing an authorization transaction (`processingOptions.capture` is set to `false`), and you set this field to a value other than `default` or one of the values related to shipping and/or handling, then `orderInformation.lineItems[].quantity`, `orderInformation.lineItems[].productName`, and `orderInformation.lineItems[].productSku` fields are required. Optional field. For details, see the `product_code` field description in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes.
|
41
|
+
# Type of product. The value for this field is used to identify the product category (electronic, handling, physical, service, or shipping). The default value is `default`. If you are performing an authorization transaction (`processingOptions.capture` is set to `false`), and you set this field to a value other than `default` or one of the values related to shipping and/or handling, then `orderInformation.lineItems[].quantity`, `orderInformation.lineItems[].productName`, and `orderInformation.lineItems[].productSku` fields are required. Optional field. For details, see the `product_code` field description in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. The Product Codes for the tax service are located in the Cybersource Tax Codes guide. Contact Customer Support to request the guide. If you don’t send a tax service Product Code in your tax request, product-based rules or exemptions will not be applied and the transaction will default to fully taxable in the locations where you’ve indicated you need to collect tax [by way of nexus, no nexus, or seller registration number fields].
|
42
42
|
attr_accessor :product_code
|
43
43
|
|
44
44
|
# This field is only used in DM service. Determines whether to assign risk to the order if the billing and shipping addresses specify different cities, states, or countries. This field can contain one of the following values: - true: Orders are assigned only slight additional risk if billing and shipping addresses are different. - false: Orders are assigned higher additional risk if billing and shipping addresses are different.
|
@@ -55,6 +55,10 @@ module CyberSource
|
|
55
55
|
# Total tax to apply to the product. This value cannot be negative. The tax amount and the offer amount must be in the same currency. The tax amount field is additive. The following example uses a two-exponent currency such as USD: 1. You include each line item in your request. ..- 1st line item has amount=10.00, quantity=1, and taxAmount=0.80 ..- 2nd line item has amount=20.00, quantity=1, and taxAmount=1.60 2. The total amount authorized will be 32.40, not 30.00 with 2.40 of tax included. Optional field. #### Airlines processing Tax portion of the order amount. This value cannot exceed 99999999999999 (fourteen 9s). Format: English characters only. Optional request field for a line item. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Note if you send this field in your tax request, the value in the field will override the tax engine
|
56
56
|
attr_accessor :tax_amount
|
57
57
|
|
58
|
+
attr_accessor :allowed_export_countries
|
59
|
+
|
60
|
+
attr_accessor :restricted_export_countries
|
61
|
+
|
58
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
63
|
def self.attribute_map
|
60
64
|
{
|
@@ -71,7 +75,9 @@ module CyberSource
|
|
71
75
|
:'distributor_product_sku' => :'distributorProductSku',
|
72
76
|
:'passenger' => :'passenger',
|
73
77
|
:'shipping_destination_types' => :'shippingDestinationTypes',
|
74
|
-
:'tax_amount' => :'taxAmount'
|
78
|
+
:'tax_amount' => :'taxAmount',
|
79
|
+
:'allowed_export_countries' => :'allowedExportCountries',
|
80
|
+
:'restricted_export_countries' => :'restrictedExportCountries'
|
75
81
|
}
|
76
82
|
end
|
77
83
|
|
@@ -91,7 +97,9 @@ module CyberSource
|
|
91
97
|
:'distributor_product_sku' => :'String',
|
92
98
|
:'passenger' => :'Ptsv2paymentsOrderInformationPassenger',
|
93
99
|
:'shipping_destination_types' => :'String',
|
94
|
-
:'tax_amount' => :'String'
|
100
|
+
:'tax_amount' => :'String',
|
101
|
+
:'allowed_export_countries' => :'Array<String>',
|
102
|
+
:'restricted_export_countries' => :'Array<String>'
|
95
103
|
}
|
96
104
|
end
|
97
105
|
|
@@ -158,28 +166,30 @@ module CyberSource
|
|
158
166
|
if attributes.has_key?(:'taxAmount')
|
159
167
|
self.tax_amount = attributes[:'taxAmount']
|
160
168
|
end
|
169
|
+
|
170
|
+
if attributes.has_key?(:'allowedExportCountries')
|
171
|
+
if (value = attributes[:'allowedExportCountries']).is_a?(Array)
|
172
|
+
self.allowed_export_countries = value
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
if attributes.has_key?(:'restrictedExportCountries')
|
177
|
+
if (value = attributes[:'restrictedExportCountries']).is_a?(Array)
|
178
|
+
self.restricted_export_countries = value
|
179
|
+
end
|
180
|
+
end
|
161
181
|
end
|
162
182
|
|
163
183
|
# Show invalid properties with the reasons. Usually used together with valid?
|
164
184
|
# @return Array for valid properties with the reasons
|
165
185
|
def list_invalid_properties
|
166
186
|
invalid_properties = Array.new
|
167
|
-
if !@quantity.nil? && @quantity > 999999999
|
168
|
-
invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
|
169
|
-
end
|
170
|
-
|
171
|
-
if !@quantity.nil? && @quantity < 1
|
172
|
-
invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
|
173
|
-
end
|
174
|
-
|
175
187
|
invalid_properties
|
176
188
|
end
|
177
189
|
|
178
190
|
# Check to see if the all the properties in the model are valid
|
179
191
|
# @return true if the model is valid
|
180
192
|
def valid?
|
181
|
-
return false if !@quantity.nil? && @quantity > 999999999
|
182
|
-
return false if !@quantity.nil? && @quantity < 1
|
183
193
|
true
|
184
194
|
end
|
185
195
|
|
@@ -198,14 +208,6 @@ module CyberSource
|
|
198
208
|
# Custom attribute writer method with validation
|
199
209
|
# @param [Object] quantity Value to be assigned
|
200
210
|
def quantity=(quantity)
|
201
|
-
if !quantity.nil? && quantity > 999999999
|
202
|
-
fail ArgumentError, 'invalid value for "quantity", must be smaller than or equal to 999999999.'
|
203
|
-
end
|
204
|
-
|
205
|
-
if !quantity.nil? && quantity < 1
|
206
|
-
fail ArgumentError, 'invalid value for "quantity", must be greater than or equal to 1.'
|
207
|
-
end
|
208
|
-
|
209
211
|
@quantity = quantity
|
210
212
|
end
|
211
213
|
|
@@ -269,7 +271,9 @@ module CyberSource
|
|
269
271
|
distributor_product_sku == o.distributor_product_sku &&
|
270
272
|
passenger == o.passenger &&
|
271
273
|
shipping_destination_types == o.shipping_destination_types &&
|
272
|
-
tax_amount == o.tax_amount
|
274
|
+
tax_amount == o.tax_amount &&
|
275
|
+
allowed_export_countries == o.allowed_export_countries &&
|
276
|
+
restricted_export_countries == o.restricted_export_countries
|
273
277
|
end
|
274
278
|
|
275
279
|
# @see the `==` method
|
@@ -281,7 +285,7 @@ module CyberSource
|
|
281
285
|
# Calculates hash code according to all attributes.
|
282
286
|
# @return [Fixnum] Hash code
|
283
287
|
def hash
|
284
|
-
[total_amount, unit_price, quantity, gift_card_currency, product_sku, product_risk, product_description, product_name, product_code, gift, distributor_product_sku, passenger, shipping_destination_types, tax_amount].hash
|
288
|
+
[total_amount, unit_price, quantity, gift_card_currency, product_sku, product_risk, product_description, product_name, product_code, gift, distributor_product_sku, passenger, shipping_destination_types, tax_amount, allowed_export_countries, restricted_export_countries].hash
|
285
289
|
end
|
286
290
|
|
287
291
|
# Builds the object from hash
|
@@ -20,7 +20,10 @@ module CyberSource
|
|
20
20
|
# Second line of the shipping address. Optional field. #### 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.
|
21
21
|
attr_accessor :address2
|
22
22
|
|
23
|
-
#
|
23
|
+
# Third line of the shipping address. #### 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.
|
24
|
+
attr_accessor :address3
|
25
|
+
|
26
|
+
# 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.
|
24
27
|
attr_accessor :administrative_area
|
25
28
|
|
26
29
|
# Country of the shipping address. Use the two-character [ISO Standard Country Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) Required field for authorization if any shipping address information is included in the request; otherwise, optional. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
@@ -38,6 +41,9 @@ module CyberSource
|
|
38
41
|
# Last name of the recipient. #### Litle Maximum length: 25 #### All other processors Maximum length: 60 Optional field.
|
39
42
|
attr_accessor :last_name
|
40
43
|
|
44
|
+
# Middle name of the recipient. #### Litle Maximum length: 25 #### All other processors Maximum length: 60 Optional field.
|
45
|
+
attr_accessor :middle_name
|
46
|
+
|
41
47
|
# Phone number associated with the shipping address.
|
42
48
|
attr_accessor :phone_number
|
43
49
|
|
@@ -55,12 +61,14 @@ module CyberSource
|
|
55
61
|
{
|
56
62
|
:'address1' => :'address1',
|
57
63
|
:'address2' => :'address2',
|
64
|
+
:'address3' => :'address3',
|
58
65
|
:'administrative_area' => :'administrativeArea',
|
59
66
|
:'country' => :'country',
|
60
67
|
:'destination_types' => :'destinationTypes',
|
61
68
|
:'locality' => :'locality',
|
62
69
|
:'first_name' => :'firstName',
|
63
70
|
:'last_name' => :'lastName',
|
71
|
+
:'middle_name' => :'middleName',
|
64
72
|
:'phone_number' => :'phoneNumber',
|
65
73
|
:'postal_code' => :'postalCode',
|
66
74
|
:'destination_code' => :'destinationCode',
|
@@ -73,12 +81,14 @@ module CyberSource
|
|
73
81
|
{
|
74
82
|
:'address1' => :'String',
|
75
83
|
:'address2' => :'String',
|
84
|
+
:'address3' => :'String',
|
76
85
|
:'administrative_area' => :'String',
|
77
86
|
:'country' => :'String',
|
78
87
|
:'destination_types' => :'String',
|
79
88
|
:'locality' => :'String',
|
80
89
|
:'first_name' => :'String',
|
81
90
|
:'last_name' => :'String',
|
91
|
+
:'middle_name' => :'String',
|
82
92
|
:'phone_number' => :'String',
|
83
93
|
:'postal_code' => :'String',
|
84
94
|
:'destination_code' => :'Integer',
|
@@ -102,6 +112,10 @@ module CyberSource
|
|
102
112
|
self.address2 = attributes[:'address2']
|
103
113
|
end
|
104
114
|
|
115
|
+
if attributes.has_key?(:'address3')
|
116
|
+
self.address3 = attributes[:'address3']
|
117
|
+
end
|
118
|
+
|
105
119
|
if attributes.has_key?(:'administrativeArea')
|
106
120
|
self.administrative_area = attributes[:'administrativeArea']
|
107
121
|
end
|
@@ -126,6 +140,10 @@ module CyberSource
|
|
126
140
|
self.last_name = attributes[:'lastName']
|
127
141
|
end
|
128
142
|
|
143
|
+
if attributes.has_key?(:'middleName')
|
144
|
+
self.middle_name = attributes[:'middleName']
|
145
|
+
end
|
146
|
+
|
129
147
|
if attributes.has_key?(:'phoneNumber')
|
130
148
|
self.phone_number = attributes[:'phoneNumber']
|
131
149
|
end
|
@@ -168,6 +186,12 @@ module CyberSource
|
|
168
186
|
@address2 = address2
|
169
187
|
end
|
170
188
|
|
189
|
+
# Custom attribute writer method with validation
|
190
|
+
# @param [Object] address3 Value to be assigned
|
191
|
+
def address3=(address3)
|
192
|
+
@address3 = address3
|
193
|
+
end
|
194
|
+
|
171
195
|
# Custom attribute writer method with validation
|
172
196
|
# @param [Object] administrative_area Value to be assigned
|
173
197
|
def administrative_area=(administrative_area)
|
@@ -204,6 +228,12 @@ module CyberSource
|
|
204
228
|
@last_name = last_name
|
205
229
|
end
|
206
230
|
|
231
|
+
# Custom attribute writer method with validation
|
232
|
+
# @param [Object] middle_name Value to be assigned
|
233
|
+
def middle_name=(middle_name)
|
234
|
+
@middle_name = middle_name
|
235
|
+
end
|
236
|
+
|
207
237
|
# Custom attribute writer method with validation
|
208
238
|
# @param [Object] phone_number Value to be assigned
|
209
239
|
def phone_number=(phone_number)
|
@@ -229,12 +259,14 @@ module CyberSource
|
|
229
259
|
self.class == o.class &&
|
230
260
|
address1 == o.address1 &&
|
231
261
|
address2 == o.address2 &&
|
262
|
+
address3 == o.address3 &&
|
232
263
|
administrative_area == o.administrative_area &&
|
233
264
|
country == o.country &&
|
234
265
|
destination_types == o.destination_types &&
|
235
266
|
locality == o.locality &&
|
236
267
|
first_name == o.first_name &&
|
237
268
|
last_name == o.last_name &&
|
269
|
+
middle_name == o.middle_name &&
|
238
270
|
phone_number == o.phone_number &&
|
239
271
|
postal_code == o.postal_code &&
|
240
272
|
destination_code == o.destination_code &&
|
@@ -250,7 +282,7 @@ module CyberSource
|
|
250
282
|
# Calculates hash code according to all attributes.
|
251
283
|
# @return [Fixnum] Hash code
|
252
284
|
def hash
|
253
|
-
[address1, address2, administrative_area, country, destination_types, locality, first_name, last_name, phone_number, postal_code, destination_code, method].hash
|
285
|
+
[address1, address2, address3, administrative_area, country, destination_types, locality, first_name, last_name, middle_name, phone_number, postal_code, destination_code, method].hash
|
254
286
|
end
|
255
287
|
|
256
288
|
# Builds the object from hash
|
@@ -18,7 +18,7 @@ module CyberSource
|
|
18
18
|
# The customer’s payment card number, also known as the Primary Account Number (PAN). You can also use this field for encoded account numbers. #### FDMS Nashville Required. String (19) #### GPX Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
19
19
|
attr_accessor :number
|
20
20
|
|
21
|
-
# 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
|
21
|
+
# 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
|
22
22
|
attr_accessor :type
|
23
23
|
|
24
24
|
# description: The BIN is the first six digits of the card's Primary Account Number (PAN).
|
data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb
CHANGED
@@ -18,7 +18,7 @@ module CyberSource
|
|
18
18
|
# 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.
|
19
19
|
attr_accessor :transaction_type
|
20
20
|
|
21
|
-
# 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
|
21
|
+
# 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
|
22
22
|
attr_accessor :type
|
23
23
|
|
24
24
|
# Customer’s payment network token value.
|
@@ -13,9 +13,9 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
# Decides whether to call Payer Authentication along with DM or not
|
16
|
+
# Decides whether to call Payer Authentication or Watchlist Screening service along with DM or not
|
17
17
|
class Riskv1decisionsProcessingInformation
|
18
|
-
# Use CONSUMER_AUTHENTICATION to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run.
|
18
|
+
# - Use `CONSUMER_AUTHENTICATION` to use Payer Authentication along with Decision Manager. For any other value, only Decision Manager will run. - Use `WATCHLIST_SCREENING` when you want to call Watchlist Screening service.
|
19
19
|
attr_accessor :action_list
|
20
20
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -35,7 +35,7 @@ module CyberSource
|
|
35
35
|
def self.swagger_types
|
36
36
|
{
|
37
37
|
:'address_operator' => :'String',
|
38
|
-
:'weights' => :'
|
38
|
+
:'weights' => :'Ptsv2paymentsWatchlistScreeningInformationWeights',
|
39
39
|
:'sanction_lists' => :'Array<String>'
|
40
40
|
}
|
41
41
|
end
|
@@ -33,7 +33,7 @@ module CyberSource
|
|
33
33
|
# For an authorization or capture transaction (`processingOptions.capture` is `true` or `false`), this field is required when `orderInformation.lineItems[].productCode` is not `default` or one of the other values that are related to shipping and/or handling. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes.
|
34
34
|
attr_accessor :product_name
|
35
35
|
|
36
|
-
# Type of product. The value for this field is used to identify the product category (electronic, handling, physical, service, or shipping). The default value is `default`. If you are performing an authorization transaction (`processingOptions.capture` is set to `false`), and you set this field to a value other than `default` or one of the values related to shipping and/or handling, then `orderInformation.lineItems[].quantity`, `orderInformation.lineItems[].productName`, and `orderInformation.lineItems[].productSku` fields are required. Optional field. For details, see the `product_code` field description in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes.
|
36
|
+
# Type of product. The value for this field is used to identify the product category (electronic, handling, physical, service, or shipping). The default value is `default`. If you are performing an authorization transaction (`processingOptions.capture` is set to `false`), and you set this field to a value other than `default` or one of the values related to shipping and/or handling, then `orderInformation.lineItems[].quantity`, `orderInformation.lineItems[].productName`, and `orderInformation.lineItems[].productSku` fields are required. Optional field. For details, see the `product_code` field description in the [Credit Card Services Using the SCMP API Guide](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/). #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. The Product Codes for the tax service are located in the Cybersource Tax Codes guide. Contact Customer Support to request the guide. If you don’t send a tax service Product Code in your tax request, product-based rules or exemptions will not be applied and the transaction will default to fully taxable in the locations where you’ve indicated you need to collect tax [by way of nexus, no nexus, or seller registration number fields].
|
37
37
|
attr_accessor :product_code
|
38
38
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -117,14 +117,6 @@ module CyberSource
|
|
117
117
|
invalid_properties.push('invalid value for "unit_price", unit_price cannot be nil.')
|
118
118
|
end
|
119
119
|
|
120
|
-
if !@quantity.nil? && @quantity > 999999999
|
121
|
-
invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
|
122
|
-
end
|
123
|
-
|
124
|
-
if !@quantity.nil? && @quantity < 1
|
125
|
-
invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
|
126
|
-
end
|
127
|
-
|
128
120
|
invalid_properties
|
129
121
|
end
|
130
122
|
|
@@ -132,8 +124,6 @@ module CyberSource
|
|
132
124
|
# @return true if the model is valid
|
133
125
|
def valid?
|
134
126
|
return false if @unit_price.nil?
|
135
|
-
return false if !@quantity.nil? && @quantity > 999999999
|
136
|
-
return false if !@quantity.nil? && @quantity < 1
|
137
127
|
true
|
138
128
|
end
|
139
129
|
|
@@ -150,14 +140,6 @@ module CyberSource
|
|
150
140
|
# Custom attribute writer method with validation
|
151
141
|
# @param [Object] quantity Value to be assigned
|
152
142
|
def quantity=(quantity)
|
153
|
-
if !quantity.nil? && quantity > 999999999
|
154
|
-
fail ArgumentError, 'invalid value for "quantity", must be smaller than or equal to 999999999.'
|
155
|
-
end
|
156
|
-
|
157
|
-
if !quantity.nil? && quantity < 1
|
158
|
-
fail ArgumentError, 'invalid value for "quantity", must be greater than or equal to 1.'
|
159
|
-
end
|
160
|
-
|
161
143
|
@quantity = quantity
|
162
144
|
end
|
163
145
|
|
@@ -21,7 +21,7 @@ module CyberSource
|
|
21
21
|
# Second line of the shipping address. Optional field. #### 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.
|
22
22
|
attr_accessor :address2
|
23
23
|
|
24
|
-
# 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)
|
24
|
+
# 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.
|
25
25
|
attr_accessor :administrative_area
|
26
26
|
|
27
27
|
# Country of the shipping address. Use the two-character [ISO Standard Country Codes.](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf) Required field for authorization if any shipping address information is included in the request; otherwise, optional. #### Tax Calculation Optional field for U.S., Canadian, international tax, and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
@@ -17,7 +17,7 @@ module CyberSource
|
|
17
17
|
# The customer’s payment card number, also known as the Primary Account Number (PAN). You can also use this field for encoded account numbers. #### FDMS Nashville Required. String (19) #### GPX Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### All other processors Required if `pointOfSaleInformation.entryMode=keyed`. However, this field is optional if your account is configured for relaxed requirements for address data and expiration date. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting.
|
18
18
|
attr_accessor :number
|
19
19
|
|
20
|
-
# 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
|
20
|
+
# 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
|
21
21
|
attr_accessor :type
|
22
22
|
|
23
23
|
# description: The BIN is the first six digits of the card's Primary Account Number (PAN).
|
data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb
CHANGED
@@ -16,18 +16,21 @@ module CyberSource
|
|
16
16
|
class Tmsv2customersEmbeddedDefaultPaymentInstrument
|
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
|
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
# Additional resources for the Payment Instrument
|
16
|
+
# Additional resources for the Payment Instrument.
|
17
17
|
class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbedded
|
18
18
|
attr_accessor :instrument_identifier
|
19
19
|
|
@@ -16,16 +16,16 @@ module CyberSource
|
|
16
16
|
class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifier
|
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
|
@@ -13,7 +13,7 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
# This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier
|
16
|
+
# This information is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.
|
17
17
|
class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierBillTo
|
18
18
|
# Payment card billing street address as it appears on the credit card issuer’s records.
|
19
19
|
attr_accessor :address1
|
@@ -13,18 +13,18 @@ Swagger Codegen version: 2.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module CyberSource
|
16
|
-
# The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier
|
16
|
+
# The expirationMonth, expirationYear and securityCode is sent to the issuer as part of network token enrollment and is not stored under the Instrument Identifier.
|
17
17
|
class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierCard
|
18
18
|
# The customer’s payment card number, also known as the Primary Account Number (PAN). You can also use this field for encoded account numbers.
|
19
19
|
attr_accessor :number
|
20
20
|
|
21
|
-
# Two-digit month in which the payment card expires. Format: `MM`.
|
21
|
+
# Two-digit month in which the payment card expires. Format: `MM`. Possible Values: `01` through `12`.
|
22
22
|
attr_accessor :expiration_month
|
23
23
|
|
24
24
|
# Four-digit year in which the credit card expires. Format: `YYYY`.
|
25
25
|
attr_accessor :expiration_year
|
26
26
|
|
27
|
-
# Card Verification
|
27
|
+
# Card Verification Code. This value is sent to the issuer to support the approval of a network token provision. It is not persisted against the Instrument Identifier.
|
28
28
|
attr_accessor :security_code
|
29
29
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Tmsv2customersEmbeddedDefaultPaymentInstrumentEmbeddedInstrumentIdentifierMetadata
|
17
|
-
# The creator of the Instrument Identifier
|
17
|
+
# The creator of the Instrument Identifier.
|
18
18
|
attr_accessor :creator
|
19
19
|
|
20
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|