cybersource_rest_client 0.0.48 → 0.0.50
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 +71 -0
- data/lib/cybersource_rest_client/api/plans_api.rb +573 -0
- data/lib/cybersource_rest_client/api/push_funds_api.rb +131 -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/{pts_v2_payments_post201_response_risk_information_providers.rb → accountupdaterv1batches_included.rb} +9 -9
- data/lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb +228 -0
- data/lib/cybersource_rest_client/models/body.rb +42 -32
- data/lib/cybersource_rest_client/models/create_plan_request.rb +201 -0
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +0 -18
- data/lib/cybersource_rest_client/models/{flexv1tokens_card_info.rb → create_subscription_request.rb} +44 -40
- data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_risk_information_providers_provider_name.rb → generate_capture_context_request.rb} +36 -17
- 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/inline_response_200_6_plan_information.rb +224 -0
- 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/inline_response_200_9.rb +228 -0
- 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_amount_details_tax_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/{flex_v1_tokens_post200_response.rb → microformv2sessions_checkout_api_initialization.rb} +68 -59
- data/lib/cybersource_rest_client/models/patch_customer_payment_instrument_request.rb +15 -5
- data/lib/cybersource_rest_client/models/patch_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/patch_customer_shipping_address_request.rb +2 -2
- data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +4 -4
- data/lib/cybersource_rest_client/models/patch_payment_instrument_request.rb +15 -5
- data/lib/cybersource_rest_client/models/post_customer_payment_instrument_request.rb +15 -5
- data/lib/cybersource_rest_client/models/post_customer_request.rb +1 -1
- data/lib/cybersource_rest_client/models/post_customer_shipping_address_request.rb +2 -2
- data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +4 -4
- data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +4 -4
- data/lib/cybersource_rest_client/models/post_payment_instrument_request.rb +15 -5
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1.rb +262 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information.rb +192 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +344 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_ship_to.rb +318 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information.rb +201 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_bank.rb +183 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_bank_account.rb +184 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type.rb +183 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_payment_information_payment_type_method.rb +184 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +238 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information_avs.rb +190 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information_seller_protection.rb +184 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +0 -18
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb +0 -9
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +22 -4
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_risk_information.rb +5 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_client_reference_information.rb +226 -0
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +17 -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/ptsv1pushfundstransfer_aggregator_information.rb +215 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +318 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_client_reference_information.rb +238 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_defined_information.rb +206 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +225 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +270 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information.rb +208 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +224 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_surcharge.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +236 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +297 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +206 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_recurring_options.rb +184 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options_funding_options.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options_funding_options_initiator.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +384 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +281 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card_customer.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card_instrument_identifier.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card_payment_instrument.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_personal_identification.rb +206 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +425 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +206 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information.rb +183 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +270 -0
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification.rb +222 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_device_information.rb +11 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +17 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +30 -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 +1 -19
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +20 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type.rb +2 -12
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb +15 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +12 -47
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +12 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_capture_options.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging.rb +0 -36
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_lodging_room.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +63 -4
- data/lib/cybersource_rest_client/models/{generate_public_key_request.rb → ptsv2paymentsidcaptures_buyer_information_personal_identification.rb} +15 -24
- 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_bill_to.rb +65 -1
- 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_client_reference_information.rb +297 -0
- 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.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +14 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +37 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_e_wallet.rb +190 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_payment_type.rb +203 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_payment_type_method.rb +184 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +35 -4
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_refund_options.rb +184 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/ptsv2paymentsidvoids_payment_information.rb +1 -1
- 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/ptsv2refreshpaymentstatusid_agreement_information.rb +184 -0
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_client_reference_information.rb +206 -0
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information.rb +192 -0
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post201_response__embedded_payment_information_customer.rb → ptsv2refreshpaymentstatusid_payment_information_customer.rb} +1 -1
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_payment_type.rb +193 -0
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_processing_information.rb +186 -0
- data/lib/cybersource_rest_client/models/push_funds201_response.rb +301 -0
- data/lib/cybersource_rest_client/models/push_funds201_response__links.rb +210 -0
- data/lib/cybersource_rest_client/models/push_funds201_response__links_customer.rb +195 -0
- data/lib/cybersource_rest_client/models/push_funds201_response__links_instrument_identifier.rb +195 -0
- data/lib/cybersource_rest_client/models/push_funds201_response__links_payment_instrument.rb +195 -0
- data/lib/cybersource_rest_client/models/push_funds201_response__links_self.rb +195 -0
- data/lib/cybersource_rest_client/models/{flex_v1_keys_post200_response_jwk.rb → push_funds201_response_client_reference_information.rb} +28 -47
- data/lib/cybersource_rest_client/models/push_funds201_response_error_information.rb +217 -0
- data/lib/cybersource_rest_client/models/push_funds201_response_error_information_details.rb +206 -0
- data/lib/cybersource_rest_client/models/push_funds201_response_merchant_information.rb +183 -0
- data/lib/cybersource_rest_client/models/push_funds201_response_merchant_information_merchant_descriptor.rb +222 -0
- data/lib/cybersource_rest_client/models/push_funds201_response_order_information.rb +183 -0
- data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +247 -0
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +264 -0
- data/lib/cybersource_rest_client/models/push_funds201_response_recipient_information.rb +183 -0
- data/lib/cybersource_rest_client/models/push_funds201_response_recipient_information_card.rb +206 -0
- data/lib/cybersource_rest_client/models/push_funds400_response.rb +247 -0
- data/lib/cybersource_rest_client/models/push_funds400_response_details.rb +194 -0
- data/lib/cybersource_rest_client/models/push_funds401_response.rb +226 -0
- data/lib/cybersource_rest_client/models/push_funds404_response.rb +226 -0
- data/lib/cybersource_rest_client/models/push_funds502_response.rb +236 -0
- data/lib/cybersource_rest_client/models/push_funds_request.rb +264 -0
- 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/refresh_payment_status_request.rb +210 -0
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +88 -4
- data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response_export_compliance_information.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +20 -4
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +14 -4
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +17 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +152 -22
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +14 -4
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_ship_to.rb +34 -2
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +1 -19
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tms_v2_customers_response.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument.rb +15 -5
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier.rb +4 -4
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_card.rb +3 -3
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument__embedded_instrument_identifier_metadata.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card.rb +22 -4
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_card_tokenized_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_instrument_identifier.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_merchant_information_merchant_descriptor.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_metadata.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_metadata.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_shipping_address_ship_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_merchant_initiated_transaction.rb +20 -4
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card.rb +15 -5
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_tokenized_card_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers_default_payment_instrument.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers_default_shipping_address.rb +1 -1
- data/lib/cybersource_rest_client/models/tmsv2customers_merchant_defined_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tmsv2customers_metadata.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_invoice_details.rb +0 -9
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_payment_type.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_point_of_sale_information.rb +0 -18
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information.rb +1 -1
- 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 +189 -16
- metadata +191 -18
- data/lib/cybersource_rest_client/api/key_generation_api.rb +0 -96
- data/lib/cybersource_rest_client/api/tokenization_api.rb +0 -89
@@ -23,12 +23,16 @@ module CyberSource
|
|
23
23
|
# Cardholder’s mobile phone number. **Important** Required for Visa Secure transactions in Brazil. Do not use this request field for any other types of transactions.
|
24
24
|
attr_accessor :mobile_phone
|
25
25
|
|
26
|
+
# Cardholder's work phone number.
|
27
|
+
attr_accessor :work_phone
|
28
|
+
|
26
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
30
|
def self.attribute_map
|
28
31
|
{
|
29
32
|
:'merchant_customer_id' => :'merchantCustomerId',
|
30
33
|
:'personal_identification' => :'personalIdentification',
|
31
|
-
:'mobile_phone' => :'mobilePhone'
|
34
|
+
:'mobile_phone' => :'mobilePhone',
|
35
|
+
:'work_phone' => :'workPhone'
|
32
36
|
}
|
33
37
|
end
|
34
38
|
|
@@ -37,7 +41,8 @@ module CyberSource
|
|
37
41
|
{
|
38
42
|
:'merchant_customer_id' => :'String',
|
39
43
|
:'personal_identification' => :'Array<Ptsv2paymentsBuyerInformationPersonalIdentification>',
|
40
|
-
:'mobile_phone' => :'Integer'
|
44
|
+
:'mobile_phone' => :'Integer',
|
45
|
+
:'work_phone' => :'Integer'
|
41
46
|
}
|
42
47
|
end
|
43
48
|
|
@@ -62,6 +67,10 @@ module CyberSource
|
|
62
67
|
if attributes.has_key?(:'mobilePhone')
|
63
68
|
self.mobile_phone = attributes[:'mobilePhone']
|
64
69
|
end
|
70
|
+
|
71
|
+
if attributes.has_key?(:'workPhone')
|
72
|
+
self.work_phone = attributes[:'workPhone']
|
73
|
+
end
|
65
74
|
end
|
66
75
|
|
67
76
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -95,7 +104,8 @@ module CyberSource
|
|
95
104
|
self.class == o.class &&
|
96
105
|
merchant_customer_id == o.merchant_customer_id &&
|
97
106
|
personal_identification == o.personal_identification &&
|
98
|
-
mobile_phone == o.mobile_phone
|
107
|
+
mobile_phone == o.mobile_phone &&
|
108
|
+
work_phone == o.work_phone
|
99
109
|
end
|
100
110
|
|
101
111
|
# @see the `==` method
|
@@ -107,7 +117,7 @@ module CyberSource
|
|
107
117
|
# Calculates hash code according to all attributes.
|
108
118
|
# @return [Fixnum] Hash code
|
109
119
|
def hash
|
110
|
-
[merchant_customer_id, personal_identification, mobile_phone].hash
|
120
|
+
[merchant_customer_id, personal_identification, mobile_phone, work_phone].hash
|
111
121
|
end
|
112
122
|
|
113
123
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module CyberSource
|
|
20
20
|
# Used for additional address information. For example: _Attention: Accounts Payable_ Optional field. For Payouts: This field may be sent only for FDC Compass. #### Atos This field must not contain colons (:). #### CyberSource through VisaNet **Important** When you populate `orderInformation.billTo.address1` and `orderInformation.billTo.address2`, CyberSource through VisaNet concatenates the two values. If the concatenated value exceeds 40 characters, CyberSource through VisaNet truncates the value at 40 characters before sending it to Visa and the issuing bank. Truncating this value affects AVS results and therefore might also affect risk decisions and chargebacks. Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. #### Chase Paymentech Solutions, FDC Compass, and TSYS Acquiring Solutions This value is used for AVS. #### FDMS Nashville `orderInformation.billTo.address1` and `orderInformation.billTo.address2` together cannot exceed 20 characters. String (20) #### All Other Processors String (60)
|
21
21
|
attr_accessor :address2
|
22
22
|
|
23
|
+
# Additional address information (third line of the billing address)
|
24
|
+
attr_accessor :address3
|
25
|
+
|
23
26
|
# State or province of the billing 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). For Payouts: This field may be sent only for FDC Compass. ##### CyberSource through VisaNet Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Chase Paymentech Solutions Optional field. #### Credit Mutuel-CIC Optional field. #### OmniPay Direct Optional field. #### SIX Optional field. #### TSYS Acquiring Solutions Required when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`. #### Worldpay VAP Optional field. #### All other processors Not used.
|
24
27
|
attr_accessor :administrative_area
|
25
28
|
|
@@ -49,6 +52,7 @@ module CyberSource
|
|
49
52
|
{
|
50
53
|
:'address1' => :'address1',
|
51
54
|
:'address2' => :'address2',
|
55
|
+
:'address3' => :'address3',
|
52
56
|
:'administrative_area' => :'administrativeArea',
|
53
57
|
:'country' => :'country',
|
54
58
|
:'locality' => :'locality',
|
@@ -65,6 +69,7 @@ module CyberSource
|
|
65
69
|
{
|
66
70
|
:'address1' => :'String',
|
67
71
|
:'address2' => :'String',
|
72
|
+
:'address3' => :'String',
|
68
73
|
:'administrative_area' => :'String',
|
69
74
|
:'country' => :'String',
|
70
75
|
:'locality' => :'String',
|
@@ -92,6 +97,10 @@ module CyberSource
|
|
92
97
|
self.address2 = attributes[:'address2']
|
93
98
|
end
|
94
99
|
|
100
|
+
if attributes.has_key?(:'address3')
|
101
|
+
self.address3 = attributes[:'address3']
|
102
|
+
end
|
103
|
+
|
95
104
|
if attributes.has_key?(:'administrativeArea')
|
96
105
|
self.administrative_area = attributes[:'administrativeArea']
|
97
106
|
end
|
@@ -189,6 +198,12 @@ module CyberSource
|
|
189
198
|
@address2 = address2
|
190
199
|
end
|
191
200
|
|
201
|
+
# Custom attribute writer method with validation
|
202
|
+
# @param [Object] address3 Value to be assigned
|
203
|
+
def address3=(address3)
|
204
|
+
@address3 = address3
|
205
|
+
end
|
206
|
+
|
192
207
|
# Custom attribute writer method with validation
|
193
208
|
# @param [Object] administrative_area Value to be assigned
|
194
209
|
def administrative_area=(administrative_area)
|
@@ -268,6 +283,7 @@ module CyberSource
|
|
268
283
|
self.class == o.class &&
|
269
284
|
address1 == o.address1 &&
|
270
285
|
address2 == o.address2 &&
|
286
|
+
address3 == o.address3 &&
|
271
287
|
administrative_area == o.administrative_area &&
|
272
288
|
country == o.country &&
|
273
289
|
locality == o.locality &&
|
@@ -287,7 +303,7 @@ module CyberSource
|
|
287
303
|
# Calculates hash code according to all attributes.
|
288
304
|
# @return [Fixnum] Hash code
|
289
305
|
def hash
|
290
|
-
[address1, address2, administrative_area, country, locality, first_name, last_name, phone_number, email, postal_code].hash
|
306
|
+
[address1, address2, address3, administrative_area, country, locality, first_name, last_name, phone_number, email, postal_code].hash
|
291
307
|
end
|
292
308
|
|
293
309
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb
CHANGED
@@ -43,6 +43,36 @@ module CyberSource
|
|
43
43
|
# 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
|
44
44
|
attr_accessor :tax_amount
|
45
45
|
|
46
|
+
# Address where item will be shipped
|
47
|
+
attr_accessor :shipping_address1
|
48
|
+
|
49
|
+
# Address where item will be shipped
|
50
|
+
attr_accessor :shipping_address2
|
51
|
+
|
52
|
+
# City where item will be shipped
|
53
|
+
attr_accessor :shipping_city
|
54
|
+
|
55
|
+
# Country where item will be shipped
|
56
|
+
attr_accessor :shipping_country_code
|
57
|
+
|
58
|
+
# Customer's first name
|
59
|
+
attr_accessor :shipping_first_name
|
60
|
+
|
61
|
+
# Customer's last name
|
62
|
+
attr_accessor :shipping_last_name
|
63
|
+
|
64
|
+
# Customer's middle name
|
65
|
+
attr_accessor :shipping_middle_name
|
66
|
+
|
67
|
+
# Phone number where item will be shipped
|
68
|
+
attr_accessor :shipping_phone
|
69
|
+
|
70
|
+
# Postal code where item will be shipped
|
71
|
+
attr_accessor :shipping_postal_code
|
72
|
+
|
73
|
+
# State where item will be shipped
|
74
|
+
attr_accessor :shipping_state
|
75
|
+
|
46
76
|
# Attribute mapping from ruby-style variable name to JSON key.
|
47
77
|
def self.attribute_map
|
48
78
|
{
|
@@ -55,7 +85,17 @@ module CyberSource
|
|
55
85
|
:'product_name' => :'productName',
|
56
86
|
:'passenger' => :'passenger',
|
57
87
|
:'shipping_destination_types' => :'shippingDestinationTypes',
|
58
|
-
:'tax_amount' => :'taxAmount'
|
88
|
+
:'tax_amount' => :'taxAmount',
|
89
|
+
:'shipping_address1' => :'shippingAddress1',
|
90
|
+
:'shipping_address2' => :'shippingAddress2',
|
91
|
+
:'shipping_city' => :'shippingCity',
|
92
|
+
:'shipping_country_code' => :'shippingCountryCode',
|
93
|
+
:'shipping_first_name' => :'shippingFirstName',
|
94
|
+
:'shipping_last_name' => :'shippingLastName',
|
95
|
+
:'shipping_middle_name' => :'shippingMiddleName',
|
96
|
+
:'shipping_phone' => :'shippingPhone',
|
97
|
+
:'shipping_postal_code' => :'shippingPostalCode',
|
98
|
+
:'shipping_state' => :'shippingState'
|
59
99
|
}
|
60
100
|
end
|
61
101
|
|
@@ -71,7 +111,17 @@ module CyberSource
|
|
71
111
|
:'product_name' => :'String',
|
72
112
|
:'passenger' => :'Ptsv2paymentsOrderInformationPassenger',
|
73
113
|
:'shipping_destination_types' => :'String',
|
74
|
-
:'tax_amount' => :'String'
|
114
|
+
:'tax_amount' => :'String',
|
115
|
+
:'shipping_address1' => :'String',
|
116
|
+
:'shipping_address2' => :'String',
|
117
|
+
:'shipping_city' => :'String',
|
118
|
+
:'shipping_country_code' => :'String',
|
119
|
+
:'shipping_first_name' => :'String',
|
120
|
+
:'shipping_last_name' => :'String',
|
121
|
+
:'shipping_middle_name' => :'String',
|
122
|
+
:'shipping_phone' => :'Integer',
|
123
|
+
:'shipping_postal_code' => :'Integer',
|
124
|
+
:'shipping_state' => :'String'
|
75
125
|
}
|
76
126
|
end
|
77
127
|
|
@@ -122,6 +172,46 @@ module CyberSource
|
|
122
172
|
if attributes.has_key?(:'taxAmount')
|
123
173
|
self.tax_amount = attributes[:'taxAmount']
|
124
174
|
end
|
175
|
+
|
176
|
+
if attributes.has_key?(:'shippingAddress1')
|
177
|
+
self.shipping_address1 = attributes[:'shippingAddress1']
|
178
|
+
end
|
179
|
+
|
180
|
+
if attributes.has_key?(:'shippingAddress2')
|
181
|
+
self.shipping_address2 = attributes[:'shippingAddress2']
|
182
|
+
end
|
183
|
+
|
184
|
+
if attributes.has_key?(:'shippingCity')
|
185
|
+
self.shipping_city = attributes[:'shippingCity']
|
186
|
+
end
|
187
|
+
|
188
|
+
if attributes.has_key?(:'shippingCountryCode')
|
189
|
+
self.shipping_country_code = attributes[:'shippingCountryCode']
|
190
|
+
end
|
191
|
+
|
192
|
+
if attributes.has_key?(:'shippingFirstName')
|
193
|
+
self.shipping_first_name = attributes[:'shippingFirstName']
|
194
|
+
end
|
195
|
+
|
196
|
+
if attributes.has_key?(:'shippingLastName')
|
197
|
+
self.shipping_last_name = attributes[:'shippingLastName']
|
198
|
+
end
|
199
|
+
|
200
|
+
if attributes.has_key?(:'shippingMiddleName')
|
201
|
+
self.shipping_middle_name = attributes[:'shippingMiddleName']
|
202
|
+
end
|
203
|
+
|
204
|
+
if attributes.has_key?(:'shippingPhone')
|
205
|
+
self.shipping_phone = attributes[:'shippingPhone']
|
206
|
+
end
|
207
|
+
|
208
|
+
if attributes.has_key?(:'shippingPostalCode')
|
209
|
+
self.shipping_postal_code = attributes[:'shippingPostalCode']
|
210
|
+
end
|
211
|
+
|
212
|
+
if attributes.has_key?(:'shippingState')
|
213
|
+
self.shipping_state = attributes[:'shippingState']
|
214
|
+
end
|
125
215
|
end
|
126
216
|
|
127
217
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -132,14 +222,6 @@ module CyberSource
|
|
132
222
|
invalid_properties.push('invalid value for "unit_price", unit_price cannot be nil.')
|
133
223
|
end
|
134
224
|
|
135
|
-
if !@quantity.nil? && @quantity > 999999999
|
136
|
-
invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
|
137
|
-
end
|
138
|
-
|
139
|
-
if !@quantity.nil? && @quantity < 1
|
140
|
-
invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
|
141
|
-
end
|
142
|
-
|
143
225
|
invalid_properties
|
144
226
|
end
|
145
227
|
|
@@ -147,8 +229,6 @@ module CyberSource
|
|
147
229
|
# @return true if the model is valid
|
148
230
|
def valid?
|
149
231
|
return false if @unit_price.nil?
|
150
|
-
return false if !@quantity.nil? && @quantity > 999999999
|
151
|
-
return false if !@quantity.nil? && @quantity < 1
|
152
232
|
true
|
153
233
|
end
|
154
234
|
|
@@ -171,14 +251,6 @@ module CyberSource
|
|
171
251
|
# Custom attribute writer method with validation
|
172
252
|
# @param [Object] quantity Value to be assigned
|
173
253
|
def quantity=(quantity)
|
174
|
-
if !quantity.nil? && quantity > 999999999
|
175
|
-
fail ArgumentError, 'invalid value for "quantity", must be smaller than or equal to 999999999.'
|
176
|
-
end
|
177
|
-
|
178
|
-
if !quantity.nil? && quantity < 1
|
179
|
-
fail ArgumentError, 'invalid value for "quantity", must be greater than or equal to 1.'
|
180
|
-
end
|
181
|
-
|
182
254
|
@quantity = quantity
|
183
255
|
end
|
184
256
|
|
@@ -206,6 +278,54 @@ module CyberSource
|
|
206
278
|
@tax_amount = tax_amount
|
207
279
|
end
|
208
280
|
|
281
|
+
# Custom attribute writer method with validation
|
282
|
+
# @param [Object] shipping_address1 Value to be assigned
|
283
|
+
def shipping_address1=(shipping_address1)
|
284
|
+
@shipping_address1 = shipping_address1
|
285
|
+
end
|
286
|
+
|
287
|
+
# Custom attribute writer method with validation
|
288
|
+
# @param [Object] shipping_address2 Value to be assigned
|
289
|
+
def shipping_address2=(shipping_address2)
|
290
|
+
@shipping_address2 = shipping_address2
|
291
|
+
end
|
292
|
+
|
293
|
+
# Custom attribute writer method with validation
|
294
|
+
# @param [Object] shipping_city Value to be assigned
|
295
|
+
def shipping_city=(shipping_city)
|
296
|
+
@shipping_city = shipping_city
|
297
|
+
end
|
298
|
+
|
299
|
+
# Custom attribute writer method with validation
|
300
|
+
# @param [Object] shipping_country_code Value to be assigned
|
301
|
+
def shipping_country_code=(shipping_country_code)
|
302
|
+
@shipping_country_code = shipping_country_code
|
303
|
+
end
|
304
|
+
|
305
|
+
# Custom attribute writer method with validation
|
306
|
+
# @param [Object] shipping_first_name Value to be assigned
|
307
|
+
def shipping_first_name=(shipping_first_name)
|
308
|
+
@shipping_first_name = shipping_first_name
|
309
|
+
end
|
310
|
+
|
311
|
+
# Custom attribute writer method with validation
|
312
|
+
# @param [Object] shipping_last_name Value to be assigned
|
313
|
+
def shipping_last_name=(shipping_last_name)
|
314
|
+
@shipping_last_name = shipping_last_name
|
315
|
+
end
|
316
|
+
|
317
|
+
# Custom attribute writer method with validation
|
318
|
+
# @param [Object] shipping_middle_name Value to be assigned
|
319
|
+
def shipping_middle_name=(shipping_middle_name)
|
320
|
+
@shipping_middle_name = shipping_middle_name
|
321
|
+
end
|
322
|
+
|
323
|
+
# Custom attribute writer method with validation
|
324
|
+
# @param [Object] shipping_state Value to be assigned
|
325
|
+
def shipping_state=(shipping_state)
|
326
|
+
@shipping_state = shipping_state
|
327
|
+
end
|
328
|
+
|
209
329
|
# Checks equality by comparing each attribute.
|
210
330
|
# @param [Object] Object to be compared
|
211
331
|
def ==(o)
|
@@ -220,7 +340,17 @@ module CyberSource
|
|
220
340
|
product_name == o.product_name &&
|
221
341
|
passenger == o.passenger &&
|
222
342
|
shipping_destination_types == o.shipping_destination_types &&
|
223
|
-
tax_amount == o.tax_amount
|
343
|
+
tax_amount == o.tax_amount &&
|
344
|
+
shipping_address1 == o.shipping_address1 &&
|
345
|
+
shipping_address2 == o.shipping_address2 &&
|
346
|
+
shipping_city == o.shipping_city &&
|
347
|
+
shipping_country_code == o.shipping_country_code &&
|
348
|
+
shipping_first_name == o.shipping_first_name &&
|
349
|
+
shipping_last_name == o.shipping_last_name &&
|
350
|
+
shipping_middle_name == o.shipping_middle_name &&
|
351
|
+
shipping_phone == o.shipping_phone &&
|
352
|
+
shipping_postal_code == o.shipping_postal_code &&
|
353
|
+
shipping_state == o.shipping_state
|
224
354
|
end
|
225
355
|
|
226
356
|
# @see the `==` method
|
@@ -232,7 +362,7 @@ module CyberSource
|
|
232
362
|
# Calculates hash code according to all attributes.
|
233
363
|
# @return [Fixnum] Hash code
|
234
364
|
def hash
|
235
|
-
[total_amount, unit_price, quantity, gift_card_currency, product_sku, product_description, product_name, passenger, shipping_destination_types, tax_amount].hash
|
365
|
+
[total_amount, unit_price, quantity, gift_card_currency, product_sku, product_description, product_name, passenger, shipping_destination_types, tax_amount, shipping_address1, shipping_address2, shipping_city, shipping_country_code, shipping_first_name, shipping_last_name, shipping_middle_name, shipping_phone, shipping_postal_code, shipping_state].hash
|
236
366
|
end
|
237
367
|
|
238
368
|
# Builds the object from hash
|
@@ -17,7 +17,7 @@ module CyberSource
|
|
17
17
|
# description: The BIN is the first six digits of the card's Primary Account Number (PAN).
|
18
18
|
attr_accessor :bin
|
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
|
# Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`. Leading 0 is required. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) 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 (_type_=039), if there is no expiration date on the card, use `12`. #### FDMS Nashville Required field. #### 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. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response.
|
data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb
CHANGED
@@ -17,7 +17,7 @@ module CyberSource
|
|
17
17
|
# 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.
|
18
18
|
attr_accessor :transaction_type
|
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
|
# One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **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 (`01` through `12`) 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 `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
|
data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb
CHANGED
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Riskv1authenticationsetupsPaymentInformationCard
|
17
|
-
# 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
|
17
|
+
# 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
|
18
18
|
attr_accessor :type
|
19
19
|
|
20
20
|
# Two-digit month in which the payment card expires. Format: `MM`. Valid values: `01` through `12`. Leading 0 is required. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`01` through `12`) 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 (_type_=039), if there is no expiration date on the card, use `12`. #### FDMS Nashville Required field. #### 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. #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response.
|
@@ -17,7 +17,7 @@ module CyberSource
|
|
17
17
|
# 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.
|
18
18
|
attr_accessor :transaction_type
|
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
|
# One of two possible meanings: - The two-digit month in which a token expires. - The two-digit month in which a card expires. Format: `MM` Possible values: `01` through `12` **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 (`01` through `12`) 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 `12`.\\ **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### Samsung Pay and Apple Pay Month in which the token expires. CyberSource includes this field in the reply message when it decrypts the payment blob for the tokenized transaction. For processor-specific information, see the `customer_cc_expmo` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html)
|
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.
|
@@ -164,22 +164,12 @@ module CyberSource
|
|
164
164
|
# @return Array for valid properties with the reasons
|
165
165
|
def list_invalid_properties
|
166
166
|
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
167
|
invalid_properties
|
176
168
|
end
|
177
169
|
|
178
170
|
# Check to see if the all the properties in the model are valid
|
179
171
|
# @return true if the model is valid
|
180
172
|
def valid?
|
181
|
-
return false if !@quantity.nil? && @quantity > 999999999
|
182
|
-
return false if !@quantity.nil? && @quantity < 1
|
183
173
|
true
|
184
174
|
end
|
185
175
|
|
@@ -198,14 +188,6 @@ module CyberSource
|
|
198
188
|
# Custom attribute writer method with validation
|
199
189
|
# @param [Object] quantity Value to be assigned
|
200
190
|
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
191
|
@quantity = quantity
|
210
192
|
end
|
211
193
|
|