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
@@ -32,6 +32,9 @@ module CyberSource
|
|
32
32
|
# The device type at the client side.
|
33
33
|
attr_accessor :device_type
|
34
34
|
|
35
|
+
# This field will contain the deep link that would help the Customer App to wake up.
|
36
|
+
attr_accessor :app_url
|
37
|
+
|
35
38
|
attr_accessor :raw_data
|
36
39
|
|
37
40
|
# Value of the Accept header sent by the customer’s web browser. **Note** If the customer’s browser provides a value, you must include it in your request.
|
@@ -76,6 +79,7 @@ module CyberSource
|
|
76
79
|
:'fingerprint_session_id' => :'fingerprintSessionId',
|
77
80
|
:'use_raw_fingerprint_session_id' => :'useRawFingerprintSessionId',
|
78
81
|
:'device_type' => :'deviceType',
|
82
|
+
:'app_url' => :'appUrl',
|
79
83
|
:'raw_data' => :'rawData',
|
80
84
|
:'http_accept_browser_value' => :'httpAcceptBrowserValue',
|
81
85
|
:'http_accept_content' => :'httpAcceptContent',
|
@@ -100,6 +104,7 @@ module CyberSource
|
|
100
104
|
:'fingerprint_session_id' => :'String',
|
101
105
|
:'use_raw_fingerprint_session_id' => :'BOOLEAN',
|
102
106
|
:'device_type' => :'String',
|
107
|
+
:'app_url' => :'String',
|
103
108
|
:'raw_data' => :'Array<Ptsv2paymentsDeviceInformationRawData>',
|
104
109
|
:'http_accept_browser_value' => :'String',
|
105
110
|
:'http_accept_content' => :'String',
|
@@ -147,6 +152,10 @@ module CyberSource
|
|
147
152
|
self.device_type = attributes[:'deviceType']
|
148
153
|
end
|
149
154
|
|
155
|
+
if attributes.has_key?(:'appUrl')
|
156
|
+
self.app_url = attributes[:'appUrl']
|
157
|
+
end
|
158
|
+
|
150
159
|
if attributes.has_key?(:'rawData')
|
151
160
|
if (value = attributes[:'rawData']).is_a?(Array)
|
152
161
|
self.raw_data = value
|
@@ -294,6 +303,7 @@ module CyberSource
|
|
294
303
|
fingerprint_session_id == o.fingerprint_session_id &&
|
295
304
|
use_raw_fingerprint_session_id == o.use_raw_fingerprint_session_id &&
|
296
305
|
device_type == o.device_type &&
|
306
|
+
app_url == o.app_url &&
|
297
307
|
raw_data == o.raw_data &&
|
298
308
|
http_accept_browser_value == o.http_accept_browser_value &&
|
299
309
|
http_accept_content == o.http_accept_content &&
|
@@ -317,7 +327,7 @@ module CyberSource
|
|
317
327
|
# Calculates hash code according to all attributes.
|
318
328
|
# @return [Fixnum] Hash code
|
319
329
|
def hash
|
320
|
-
[host_name, ip_address, user_agent, fingerprint_session_id, use_raw_fingerprint_session_id, device_type, raw_data, http_accept_browser_value, http_accept_content, http_browser_email, http_browser_language, http_browser_java_enabled, http_browser_java_script_enabled, http_browser_color_depth, http_browser_screen_height, http_browser_screen_width, http_browser_time_difference, user_agent_browser_value].hash
|
330
|
+
[host_name, ip_address, user_agent, fingerprint_session_id, use_raw_fingerprint_session_id, device_type, app_url, raw_data, http_accept_browser_value, http_accept_content, http_browser_email, http_browser_language, http_browser_java_enabled, http_browser_java_script_enabled, http_browser_color_depth, http_browser_screen_height, http_browser_screen_width, http_browser_time_difference, user_agent_browser_value].hash
|
321
331
|
end
|
322
332
|
|
323
333
|
# Builds the object from hash
|
@@ -174,22 +174,12 @@ module CyberSource
|
|
174
174
|
# @return Array for valid properties with the reasons
|
175
175
|
def list_invalid_properties
|
176
176
|
invalid_properties = Array.new
|
177
|
-
if !@sequence.nil? && @sequence > 99
|
178
|
-
invalid_properties.push('invalid value for "sequence", must be smaller than or equal to 99.')
|
179
|
-
end
|
180
|
-
|
181
|
-
if !@total_count.nil? && @total_count > 99
|
182
|
-
invalid_properties.push('invalid value for "total_count", must be smaller than or equal to 99.')
|
183
|
-
end
|
184
|
-
|
185
177
|
invalid_properties
|
186
178
|
end
|
187
179
|
|
188
180
|
# Check to see if the all the properties in the model are valid
|
189
181
|
# @return true if the model is valid
|
190
182
|
def valid?
|
191
|
-
return false if !@sequence.nil? && @sequence > 99
|
192
|
-
return false if !@total_count.nil? && @total_count > 99
|
193
183
|
true
|
194
184
|
end
|
195
185
|
|
@@ -214,10 +204,6 @@ module CyberSource
|
|
214
204
|
# Custom attribute writer method with validation
|
215
205
|
# @param [Object] sequence Value to be assigned
|
216
206
|
def sequence=(sequence)
|
217
|
-
if !sequence.nil? && sequence > 99
|
218
|
-
fail ArgumentError, 'invalid value for "sequence", must be smaller than or equal to 99.'
|
219
|
-
end
|
220
|
-
|
221
207
|
@sequence = sequence
|
222
208
|
end
|
223
209
|
|
@@ -230,10 +216,6 @@ module CyberSource
|
|
230
216
|
# Custom attribute writer method with validation
|
231
217
|
# @param [Object] total_count Value to be assigned
|
232
218
|
def total_count=(total_count)
|
233
|
-
if !total_count.nil? && total_count > 99
|
234
|
-
fail ArgumentError, 'invalid value for "total_count", must be smaller than or equal to 99.'
|
235
|
-
end
|
236
|
-
|
237
219
|
@total_count = total_count
|
238
220
|
end
|
239
221
|
|
@@ -51,6 +51,9 @@ module CyberSource
|
|
51
51
|
# customer would be redirected to this url based on the decision of the transaction
|
52
52
|
attr_accessor :failure_url
|
53
53
|
|
54
|
+
# URL for displaying payment results to the consumer (notifications) after the transaction is processed. Usually this URL belongs to merchant and its behavior is defined by merchant
|
55
|
+
attr_accessor :return_url
|
56
|
+
|
54
57
|
# Use this field only if you are requesting payment with Payer Authentication service together. Your company’s name as you want it to appear to the customer in the issuing bank’s authentication form. This value overrides the value specified by your merchant bank.
|
55
58
|
attr_accessor :merchant_name
|
56
59
|
|
@@ -70,6 +73,7 @@ module CyberSource
|
|
70
73
|
:'cancel_url' => :'cancelUrl',
|
71
74
|
:'success_url' => :'successUrl',
|
72
75
|
:'failure_url' => :'failureUrl',
|
76
|
+
:'return_url' => :'returnUrl',
|
73
77
|
:'merchant_name' => :'merchantName'
|
74
78
|
}
|
75
79
|
end
|
@@ -90,6 +94,7 @@ module CyberSource
|
|
90
94
|
:'cancel_url' => :'String',
|
91
95
|
:'success_url' => :'String',
|
92
96
|
:'failure_url' => :'String',
|
97
|
+
:'return_url' => :'String',
|
93
98
|
:'merchant_name' => :'String'
|
94
99
|
}
|
95
100
|
end
|
@@ -154,6 +159,10 @@ module CyberSource
|
|
154
159
|
self.failure_url = attributes[:'failureUrl']
|
155
160
|
end
|
156
161
|
|
162
|
+
if attributes.has_key?(:'returnUrl')
|
163
|
+
self.return_url = attributes[:'returnUrl']
|
164
|
+
end
|
165
|
+
|
157
166
|
if attributes.has_key?(:'merchantName')
|
158
167
|
self.merchant_name = attributes[:'merchantName']
|
159
168
|
end
|
@@ -163,22 +172,12 @@ module CyberSource
|
|
163
172
|
# @return Array for valid properties with the reasons
|
164
173
|
def list_invalid_properties
|
165
174
|
invalid_properties = Array.new
|
166
|
-
if !@category_code.nil? && @category_code > 9999
|
167
|
-
invalid_properties.push('invalid value for "category_code", must be smaller than or equal to 9999.')
|
168
|
-
end
|
169
|
-
|
170
|
-
if !@category_code_domestic.nil? && @category_code_domestic > 9999
|
171
|
-
invalid_properties.push('invalid value for "category_code_domestic", must be smaller than or equal to 9999.')
|
172
|
-
end
|
173
|
-
|
174
175
|
invalid_properties
|
175
176
|
end
|
176
177
|
|
177
178
|
# Check to see if the all the properties in the model are valid
|
178
179
|
# @return true if the model is valid
|
179
180
|
def valid?
|
180
|
-
return false if !@category_code.nil? && @category_code > 9999
|
181
|
-
return false if !@category_code_domestic.nil? && @category_code_domestic > 9999
|
182
181
|
true
|
183
182
|
end
|
184
183
|
|
@@ -197,20 +196,12 @@ module CyberSource
|
|
197
196
|
# Custom attribute writer method with validation
|
198
197
|
# @param [Object] category_code Value to be assigned
|
199
198
|
def category_code=(category_code)
|
200
|
-
if !category_code.nil? && category_code > 9999
|
201
|
-
fail ArgumentError, 'invalid value for "category_code", must be smaller than or equal to 9999.'
|
202
|
-
end
|
203
|
-
|
204
199
|
@category_code = category_code
|
205
200
|
end
|
206
201
|
|
207
202
|
# Custom attribute writer method with validation
|
208
203
|
# @param [Object] category_code_domestic Value to be assigned
|
209
204
|
def category_code_domestic=(category_code_domestic)
|
210
|
-
if !category_code_domestic.nil? && category_code_domestic > 9999
|
211
|
-
fail ArgumentError, 'invalid value for "category_code_domestic", must be smaller than or equal to 9999.'
|
212
|
-
end
|
213
|
-
|
214
205
|
@category_code_domestic = category_code_domestic
|
215
206
|
end
|
216
207
|
|
@@ -256,6 +247,12 @@ module CyberSource
|
|
256
247
|
@failure_url = failure_url
|
257
248
|
end
|
258
249
|
|
250
|
+
# Custom attribute writer method with validation
|
251
|
+
# @param [Object] return_url Value to be assigned
|
252
|
+
def return_url=(return_url)
|
253
|
+
@return_url = return_url
|
254
|
+
end
|
255
|
+
|
259
256
|
# Custom attribute writer method with validation
|
260
257
|
# @param [Object] merchant_name Value to be assigned
|
261
258
|
def merchant_name=(merchant_name)
|
@@ -280,6 +277,7 @@ module CyberSource
|
|
280
277
|
cancel_url == o.cancel_url &&
|
281
278
|
success_url == o.success_url &&
|
282
279
|
failure_url == o.failure_url &&
|
280
|
+
return_url == o.return_url &&
|
283
281
|
merchant_name == o.merchant_name
|
284
282
|
end
|
285
283
|
|
@@ -292,7 +290,7 @@ module CyberSource
|
|
292
290
|
# Calculates hash code according to all attributes.
|
293
291
|
# @return [Fixnum] Hash code
|
294
292
|
def hash
|
295
|
-
[merchant_descriptor, domain_name, sales_organization_id, category_code, category_code_domestic, tax_id, vat_registration_number, card_acceptor_reference_number, transaction_local_date_time, service_fee_descriptor, cancel_url, success_url, failure_url, merchant_name].hash
|
293
|
+
[merchant_descriptor, domain_name, sales_organization_id, category_code, category_code_domestic, tax_id, vat_registration_number, card_acceptor_reference_number, transaction_local_date_time, service_fee_descriptor, cancel_url, success_url, failure_url, return_url, merchant_name].hash
|
296
294
|
end
|
297
295
|
|
298
296
|
# Builds the object from hash
|
@@ -14,10 +14,10 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsOrderInformationAmountDetailsTaxDetails
|
17
|
-
# Indicates the type of tax data for the _taxDetails_ object. Possible values: - `alternate` - `local` - `national` - `vat` - `other` For processor-specific details, see the `alternate_tax_amount`, `local_tax`, `national_tax` or `vat_tax_amount` field descriptions in [Level II and Level III Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html/)
|
17
|
+
# Indicates the type of tax data for the _taxDetails_ object. Possible values: - `alternate` - `local` - `national` - `vat` - `other` - `green` For processor-specific details, see the `alternate_tax_amount`, `local_tax`, `national_tax` or `vat_tax_amount` field descriptions in [Level II and Level III Processing Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html/)
|
18
18
|
attr_accessor :type
|
19
19
|
|
20
|
-
# Indicates the amount of tax based on the `type` field as described in the table below: | type | type description | | ------------- |:-------------:| | `alternate` | Total amount of alternate tax for the order. | | `local` | Sales tax for the order. | | `national` | National tax for the order. | | `vat` | Total amount of value added tax (VAT) included in the order. | | `other` | Other tax. |
|
20
|
+
# Indicates the amount of tax based on the `type` field as described in the table below: | type | type description | | ------------- |:-------------:| | `alternate` | Total amount of alternate tax for the order. | | `local` | Sales tax for the order. | | `national` | National tax for the order. | | `vat` | Total amount of value added tax (VAT) included in the order. | | `other` | Other tax. | | `green` | Green tax amount for Korean Processing. |
|
21
21
|
attr_accessor :amount
|
22
22
|
|
23
23
|
# Rate of VAT or other tax for the order. Example 0.040 (=4%) Valid range: 0.01 to 0.99 (1% to 99%, with only whole percentage values accepted; values with additional decimal places will be truncated) For processor-specific details, see the `alternate_tax_amount`, `vat_rate`, `vat_tax_rate`, `local_tax`, `national_tax`, `vat_tax_amount` or `other_tax#_rate` field descriptions in the [Level II and Level III Processing Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html/)
|
@@ -52,6 +52,9 @@ module CyberSource
|
|
52
52
|
# Postal code for the billing address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] **Example** `12345-6789` When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] **Example** `A1B 2C3` **Important** It is your responsibility to determine whether a field is required for the transaction you are requesting. #### For Payouts: This field may be sent only for FDC Compass. #### American Express Direct Before sending the postal code to the processor, CyberSource removes all nonalphanumeric characters and, if the remaining value is longer than nine characters, truncates the value starting from the right side. #### Atos This field must not contain colons (:). #### 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. #### FDMS Nashville Required if `pointOfSaleInformation.entryMode=keyed` and the address is in the U.S. or Canada. Optional if `pointOfSaleInformation.entryMode=keyed` and the address is **not** in the U.S. or Canada. Not used if swiped. #### RBS WorldPay Atlanta: For best card-present keyed rates, send the postal code if `pointOfSaleInformation.entryMode=keyed`. #### TSYS Acquiring Solutions Required when `processingInformation.billPaymentOptions.billPayment=true` and `pointOfSaleInformation.entryMode=keyed`. #### All other processors: Optional field.
|
53
53
|
attr_accessor :postal_code
|
54
54
|
|
55
|
+
# U.S. county if available.
|
56
|
+
attr_accessor :county
|
57
|
+
|
55
58
|
# Payment card billing country. Use the two-character [ISO Standard Country Codes](http://apps.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf). #### 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.
|
56
59
|
attr_accessor :country
|
57
60
|
|
@@ -73,6 +76,9 @@ module CyberSource
|
|
73
76
|
# Customer's phone number type. #### For Payouts: This field may be sent only for FDC Compass. Possible Values: * day * home * night * work
|
74
77
|
attr_accessor :phone_type
|
75
78
|
|
79
|
+
# Whether buyer has verified their identity. Used in case of PayPal transactions. Possible Values: * VERIFIED * UNVERIFIED
|
80
|
+
attr_accessor :verification_status
|
81
|
+
|
76
82
|
# Attribute mapping from ruby-style variable name to JSON key.
|
77
83
|
def self.attribute_map
|
78
84
|
{
|
@@ -89,13 +95,15 @@ module CyberSource
|
|
89
95
|
:'locality' => :'locality',
|
90
96
|
:'administrative_area' => :'administrativeArea',
|
91
97
|
:'postal_code' => :'postalCode',
|
98
|
+
:'county' => :'county',
|
92
99
|
:'country' => :'country',
|
93
100
|
:'district' => :'district',
|
94
101
|
:'building_number' => :'buildingNumber',
|
95
102
|
:'email' => :'email',
|
96
103
|
:'email_domain' => :'emailDomain',
|
97
104
|
:'phone_number' => :'phoneNumber',
|
98
|
-
:'phone_type' => :'phoneType'
|
105
|
+
:'phone_type' => :'phoneType',
|
106
|
+
:'verification_status' => :'verificationStatus'
|
99
107
|
}
|
100
108
|
end
|
101
109
|
|
@@ -115,13 +123,15 @@ module CyberSource
|
|
115
123
|
:'locality' => :'String',
|
116
124
|
:'administrative_area' => :'String',
|
117
125
|
:'postal_code' => :'String',
|
126
|
+
:'county' => :'String',
|
118
127
|
:'country' => :'String',
|
119
128
|
:'district' => :'String',
|
120
129
|
:'building_number' => :'String',
|
121
130
|
:'email' => :'String',
|
122
131
|
:'email_domain' => :'String',
|
123
132
|
:'phone_number' => :'String',
|
124
|
-
:'phone_type' => :'String'
|
133
|
+
:'phone_type' => :'String',
|
134
|
+
:'verification_status' => :'String'
|
125
135
|
}
|
126
136
|
end
|
127
137
|
|
@@ -185,6 +195,10 @@ module CyberSource
|
|
185
195
|
self.postal_code = attributes[:'postalCode']
|
186
196
|
end
|
187
197
|
|
198
|
+
if attributes.has_key?(:'county')
|
199
|
+
self.county = attributes[:'county']
|
200
|
+
end
|
201
|
+
|
188
202
|
if attributes.has_key?(:'country')
|
189
203
|
self.country = attributes[:'country']
|
190
204
|
end
|
@@ -212,6 +226,10 @@ module CyberSource
|
|
212
226
|
if attributes.has_key?(:'phoneType')
|
213
227
|
self.phone_type = attributes[:'phoneType']
|
214
228
|
end
|
229
|
+
|
230
|
+
if attributes.has_key?(:'verificationStatus')
|
231
|
+
self.verification_status = attributes[:'verificationStatus']
|
232
|
+
end
|
215
233
|
end
|
216
234
|
|
217
235
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -299,6 +317,12 @@ module CyberSource
|
|
299
317
|
@postal_code = postal_code
|
300
318
|
end
|
301
319
|
|
320
|
+
# Custom attribute writer method with validation
|
321
|
+
# @param [Object] county Value to be assigned
|
322
|
+
def county=(county)
|
323
|
+
@county = county
|
324
|
+
end
|
325
|
+
|
302
326
|
# Custom attribute writer method with validation
|
303
327
|
# @param [Object] country Value to be assigned
|
304
328
|
def country=(country)
|
@@ -353,13 +377,15 @@ module CyberSource
|
|
353
377
|
locality == o.locality &&
|
354
378
|
administrative_area == o.administrative_area &&
|
355
379
|
postal_code == o.postal_code &&
|
380
|
+
county == o.county &&
|
356
381
|
country == o.country &&
|
357
382
|
district == o.district &&
|
358
383
|
building_number == o.building_number &&
|
359
384
|
email == o.email &&
|
360
385
|
email_domain == o.email_domain &&
|
361
386
|
phone_number == o.phone_number &&
|
362
|
-
phone_type == o.phone_type
|
387
|
+
phone_type == o.phone_type &&
|
388
|
+
verification_status == o.verification_status
|
363
389
|
end
|
364
390
|
|
365
391
|
# @see the `==` method
|
@@ -371,7 +397,7 @@ module CyberSource
|
|
371
397
|
# Calculates hash code according to all attributes.
|
372
398
|
# @return [Fixnum] Hash code
|
373
399
|
def hash
|
374
|
-
[first_name, last_name, middle_name, name_suffix, title, company, address1, address2, address3, address4, locality, administrative_area, postal_code, country, district, building_number, email, email_domain, phone_number, phone_type].hash
|
400
|
+
[first_name, last_name, middle_name, name_suffix, title, company, address1, address2, address3, address4, locality, administrative_area, postal_code, county, country, district, building_number, email, email_domain, phone_number, phone_type, verification_status].hash
|
375
401
|
end
|
376
402
|
|
377
403
|
# Builds the object from hash
|
@@ -193,17 +193,12 @@ module CyberSource
|
|
193
193
|
# @return Array for valid properties with the reasons
|
194
194
|
def list_invalid_properties
|
195
195
|
invalid_properties = Array.new
|
196
|
-
if !@sales_slip_number.nil? && @sales_slip_number > 99999
|
197
|
-
invalid_properties.push('invalid value for "sales_slip_number", must be smaller than or equal to 99999.')
|
198
|
-
end
|
199
|
-
|
200
196
|
invalid_properties
|
201
197
|
end
|
202
198
|
|
203
199
|
# Check to see if the all the properties in the model are valid
|
204
200
|
# @return true if the model is valid
|
205
201
|
def valid?
|
206
|
-
return false if !@sales_slip_number.nil? && @sales_slip_number > 99999
|
207
202
|
true
|
208
203
|
end
|
209
204
|
|
@@ -252,10 +247,6 @@ module CyberSource
|
|
252
247
|
# Custom attribute writer method with validation
|
253
248
|
# @param [Object] sales_slip_number Value to be assigned
|
254
249
|
def sales_slip_number=(sales_slip_number)
|
255
|
-
if !sales_slip_number.nil? && sales_slip_number > 99999
|
256
|
-
fail ArgumentError, 'invalid value for "sales_slip_number", must be smaller than or equal to 99999.'
|
257
|
-
end
|
258
|
-
|
259
250
|
@sales_slip_number = sales_slip_number
|
260
251
|
end
|
261
252
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsOrderInformationLineItems
|
17
|
-
# 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.
|
17
|
+
# 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].
|
18
18
|
attr_accessor :product_code
|
19
19
|
|
20
20
|
# 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.
|
@@ -318,22 +318,12 @@ module CyberSource
|
|
318
318
|
# @return Array for valid properties with the reasons
|
319
319
|
def list_invalid_properties
|
320
320
|
invalid_properties = Array.new
|
321
|
-
if !@quantity.nil? && @quantity > 999999999
|
322
|
-
invalid_properties.push('invalid value for "quantity", must be smaller than or equal to 999999999.')
|
323
|
-
end
|
324
|
-
|
325
|
-
if !@quantity.nil? && @quantity < 1
|
326
|
-
invalid_properties.push('invalid value for "quantity", must be greater than or equal to 1.')
|
327
|
-
end
|
328
|
-
|
329
321
|
invalid_properties
|
330
322
|
end
|
331
323
|
|
332
324
|
# Check to see if the all the properties in the model are valid
|
333
325
|
# @return true if the model is valid
|
334
326
|
def valid?
|
335
|
-
return false if !@quantity.nil? && @quantity > 999999999
|
336
|
-
return false if !@quantity.nil? && @quantity < 1
|
337
327
|
true
|
338
328
|
end
|
339
329
|
|
@@ -358,14 +348,6 @@ module CyberSource
|
|
358
348
|
# Custom attribute writer method with validation
|
359
349
|
# @param [Object] quantity Value to be assigned
|
360
350
|
def quantity=(quantity)
|
361
|
-
if !quantity.nil? && quantity > 999999999
|
362
|
-
fail ArgumentError, 'invalid value for "quantity", must be smaller than or equal to 999999999.'
|
363
|
-
end
|
364
|
-
|
365
|
-
if !quantity.nil? && quantity < 1
|
366
|
-
fail ArgumentError, 'invalid value for "quantity", must be greater than or equal to 1.'
|
367
|
-
end
|
368
|
-
|
369
351
|
@quantity = quantity
|
370
352
|
end
|
371
353
|
|
@@ -35,7 +35,7 @@ module CyberSource
|
|
35
35
|
# City of the shipping address. Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
36
36
|
attr_accessor :locality
|
37
37
|
|
38
|
-
# State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf)
|
38
|
+
# State or province of the shipping address. Use the [State, Province, and Territory Codes for the United States and Canada](https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf) (maximum length: 2) Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
39
39
|
attr_accessor :administrative_area
|
40
40
|
|
41
41
|
# Postal code for the shipping address. The postal code must consist of 5 to 9 digits. Required field for authorization if any shipping address information is included in the request and shipping to the U.S. or Canada; otherwise, optional. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 #### American Express Direct Before sending the postal code to the processor, all nonalphanumeric characters are removed and, if the remaining value is longer than nine characters, the value is truncated starting from the right side. #### Tax Calculation Optional field for U.S. and Canadian taxes. Not applicable to international and value added taxes. Billing address objects will be used to determine the cardholder’s location when shipTo objects are not present.
|
@@ -25,13 +25,17 @@ module CyberSource
|
|
25
25
|
# Bank’s SWIFT code. You can use this field only when scoring a direct debit transaction. Required only for crossborder transactions. For all possible values, see the `bank_swiftcode` field description in the _Decision Manager Using the SCMP API Developer Guide_ on the [CyberSource Business Center.](https://ebc2.cybersource.com/ebc2/) Click **Decision Manager** > **Documentation** > **Guides** > _Decision Manager Using the SCMP API Developer Guide_ (PDF link).
|
26
26
|
attr_accessor :swift_code
|
27
27
|
|
28
|
+
# Bank code of the consumer’s account
|
29
|
+
attr_accessor :code
|
30
|
+
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
32
|
def self.attribute_map
|
30
33
|
{
|
31
34
|
:'account' => :'account',
|
32
35
|
:'routing_number' => :'routingNumber',
|
33
36
|
:'iban' => :'iban',
|
34
|
-
:'swift_code' => :'swiftCode'
|
37
|
+
:'swift_code' => :'swiftCode',
|
38
|
+
:'code' => :'code'
|
35
39
|
}
|
36
40
|
end
|
37
41
|
|
@@ -41,7 +45,8 @@ module CyberSource
|
|
41
45
|
:'account' => :'Ptsv2paymentsPaymentInformationBankAccount',
|
42
46
|
:'routing_number' => :'String',
|
43
47
|
:'iban' => :'String',
|
44
|
-
:'swift_code' => :'String'
|
48
|
+
:'swift_code' => :'String',
|
49
|
+
:'code' => :'String'
|
45
50
|
}
|
46
51
|
end
|
47
52
|
|
@@ -68,6 +73,10 @@ module CyberSource
|
|
68
73
|
if attributes.has_key?(:'swiftCode')
|
69
74
|
self.swift_code = attributes[:'swiftCode']
|
70
75
|
end
|
76
|
+
|
77
|
+
if attributes.has_key?(:'code')
|
78
|
+
self.code = attributes[:'code']
|
79
|
+
end
|
71
80
|
end
|
72
81
|
|
73
82
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -95,6 +104,12 @@ module CyberSource
|
|
95
104
|
@iban = iban
|
96
105
|
end
|
97
106
|
|
107
|
+
# Custom attribute writer method with validation
|
108
|
+
# @param [Object] code Value to be assigned
|
109
|
+
def code=(code)
|
110
|
+
@code = code
|
111
|
+
end
|
112
|
+
|
98
113
|
# Checks equality by comparing each attribute.
|
99
114
|
# @param [Object] Object to be compared
|
100
115
|
def ==(o)
|
@@ -103,7 +118,8 @@ module CyberSource
|
|
103
118
|
account == o.account &&
|
104
119
|
routing_number == o.routing_number &&
|
105
120
|
iban == o.iban &&
|
106
|
-
swift_code == o.swift_code
|
121
|
+
swift_code == o.swift_code &&
|
122
|
+
code == o.code
|
107
123
|
end
|
108
124
|
|
109
125
|
# @see the `==` method
|
@@ -115,7 +131,7 @@ module CyberSource
|
|
115
131
|
# Calculates hash code according to all attributes.
|
116
132
|
# @return [Fixnum] Hash code
|
117
133
|
def hash
|
118
|
-
[account, routing_number, iban, swift_code].hash
|
134
|
+
[account, routing_number, iban, swift_code, code].hash
|
119
135
|
end
|
120
136
|
|
121
137
|
# Builds the object from hash
|
@@ -23,7 +23,7 @@ module CyberSource
|
|
23
23
|
# Four-digit year in which the payment card expires. Format: `YYYY`. #### Barclays and Streamline For Maestro (UK Domestic) and Maestro (International) cards on Barclays and Streamline, this must be a valid value (`1900` through `3000`) but is not required to be a valid expiration date. In other words, an expiration date that is in the past does not cause CyberSource to reject your request. However, an invalid expiration date might cause the issuer to reject your request. #### Encoded Account Numbers For encoded account numbers (**_type_**`=039`), if there is no expiration date on the card, use `2021`. #### FDMS Nashville Required field. #### FDC Nashville Global and FDMS South You can send in 2 digits or 4 digits. If you send in 2 digits, they must be the last 2 digits of the year. #### 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.
|
24
24
|
attr_accessor :expiration_year
|
25
25
|
|
26
|
-
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
26
|
+
# Three-digit value that indicates the card type. **IMPORTANT** It is strongly recommended that you include the card type field in request messages even if it is optional for your processor and card type. Omitting the card type can cause the transaction to be processed with the wrong card type. Possible values: - `001`: Visa. For card-present transactions on all processors except SIX, the Visa Electron card type is processed the same way that the Visa debit card is processed. Use card type value `001` for Visa Electron. - `002`: Mastercard, Eurocard[^1], which is a European regional brand of Mastercard. - `003`: American Express - `004`: Discover - `005`: Diners Club - `006`: Carte Blanche[^1] - `007`: JCB[^1] - `014`: Enroute[^1] - `021`: JAL[^1] - `024`: Maestro (UK Domestic)[^1] - `031`: Delta[^1]: Use this value only for Ingenico ePayments. For other processors, use `001` for all Visa card types. - `033`: Visa Electron[^1]. Use this value only for Ingenico ePayments and SIX. For other processors, use `001` for all Visa card types. - `034`: Dankort[^1] - `036`: Cartes Bancaires[^1,4] - `037`: Carta Si[^1] - `039`: Encoded account number[^1] - `040`: UATP[^1] - `042`: Maestro (International)[^1] - `050`: Hipercard[^2,3] - `051`: Aura - `054`: Elo[^3] - `062`: China UnionPay - '070': EFTPOS [^1]: For this card type, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in your request for an authorization or a stand-alone credit. [^2]: For this card type on Cielo 3.0, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. This card type is not supported on Cielo 1.5. [^3]: For this card type on Getnet and Rede, you must include the `paymentInformation.card.type` or `paymentInformation.tokenizedCard.type` field in a request for an authorization or a stand-alone credit. [^4]: For this card type, you must include the `paymentInformation.card.type` in your request for any payer authentication services. #### Used by **Authorization** Required for Carte Blanche and JCB. Optional for all other card types. #### Card Present reply This field is included in the reply message when the client software that is installed on the POS terminal uses the token management service (TMS) to retrieve tokenized payment details. You must contact customer support to have your account enabled to receive these fields in the credit reply message. Returned by the Credit service. This reply field is only supported by the following processors: - American Express Direct - Credit Mutuel-CIC - FDC Nashville Global - OmniPay Direct - SIX #### Google Pay transactions For PAN-based Google Pay transactions, this field is returned in the API response. #### GPX This field only supports transactions from the following card types: - Visa - Mastercard - AMEX - Discover - Diners - JCB - Union Pay International
|
27
27
|
attr_accessor :type
|
28
28
|
|
29
29
|
# Flag that specifies the type of account associated with the card. The cardholder provides this information during the payment process. Possible values: - C: Credit transaction - D: Debit transaction This field is supported only for all card Types on Visa Platform Connect. This field is required for: - Debit transactions on Cielo and Comercio Latino. - Transactions with Brazilian-issued cards on CyberSource through VisaNet. **Note** The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR0 - Position: 51 - Field: Combination Card Transaction Identifier
|
@@ -14,19 +14,15 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsPaymentInformationPaymentType
|
17
|
-
# A Payment Type is an agreed means for a payee to receive legal tender from a payer. The way one pays for a commercial financial transaction. Examples: Card, Bank Transfer, Digital, Direct Debit. Possible values: - `CARD` (use this for a PIN debit transaction) - `CHECK` (use this for all eCheck payment transactions - ECP Debit, ECP Follow-on Credit, ECP StandAlone Credit) - `bankTransfer` (use for Online Bank Transafer for methods such as P24, iDeal, Estonia Bank)
|
17
|
+
# A Payment Type is an agreed means for a payee to receive legal tender from a payer. The way one pays for a commercial financial transaction. Examples: Card, Bank Transfer, Digital, Direct Debit. Possible values: - `CARD` (use this for a PIN debit transaction) - `CHECK` (use this for all eCheck payment transactions - ECP Debit, ECP Follow-on Credit, ECP StandAlone Credit) - `bankTransfer` (use for Online Bank Transafer for methods such as P24, iDeal, Estonia Bank, KCP) - `localCard` (KCP Local card via Altpay) - `carrierBilling` (KCP Carrier Billing via Altpay)
|
18
18
|
attr_accessor :name
|
19
19
|
|
20
|
-
# Detailed information about the Payment Type. Possible values: - `DEBIT`: Use this value to indicate a PIN debit transaction. Examples: For Card, if Credit or Debit or PrePaid. For Bank Transfer, if Online Bank Transfer or Wire Transfers.
|
21
|
-
attr_accessor :sub_type_name
|
22
|
-
|
23
20
|
attr_accessor :method
|
24
21
|
|
25
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
23
|
def self.attribute_map
|
27
24
|
{
|
28
25
|
:'name' => :'name',
|
29
|
-
:'sub_type_name' => :'subTypeName',
|
30
26
|
:'method' => :'method'
|
31
27
|
}
|
32
28
|
end
|
@@ -35,7 +31,6 @@ module CyberSource
|
|
35
31
|
def self.swagger_types
|
36
32
|
{
|
37
33
|
:'name' => :'String',
|
38
|
-
:'sub_type_name' => :'String',
|
39
34
|
:'method' => :'Ptsv2paymentsPaymentInformationPaymentTypeMethod'
|
40
35
|
}
|
41
36
|
end
|
@@ -52,10 +47,6 @@ module CyberSource
|
|
52
47
|
self.name = attributes[:'name']
|
53
48
|
end
|
54
49
|
|
55
|
-
if attributes.has_key?(:'subTypeName')
|
56
|
-
self.sub_type_name = attributes[:'subTypeName']
|
57
|
-
end
|
58
|
-
|
59
50
|
if attributes.has_key?(:'method')
|
60
51
|
self.method = attributes[:'method']
|
61
52
|
end
|
@@ -80,7 +71,6 @@ module CyberSource
|
|
80
71
|
return true if self.equal?(o)
|
81
72
|
self.class == o.class &&
|
82
73
|
name == o.name &&
|
83
|
-
sub_type_name == o.sub_type_name &&
|
84
74
|
method == o.method
|
85
75
|
end
|
86
76
|
|
@@ -93,7 +83,7 @@ module CyberSource
|
|
93
83
|
# Calculates hash code according to all attributes.
|
94
84
|
# @return [Fixnum] Hash code
|
95
85
|
def hash
|
96
|
-
[name,
|
86
|
+
[name, method].hash
|
97
87
|
end
|
98
88
|
|
99
89
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_payment_type_method.rb
CHANGED
@@ -14,20 +14,25 @@ require 'date'
|
|
14
14
|
|
15
15
|
module CyberSource
|
16
16
|
class Ptsv2paymentsPaymentInformationPaymentTypeMethod
|
17
|
-
# A Payment Type is enabled through a Method. Examples: Visa, Master Card, ApplePay, iDeal, 7Eleven, alfamart, etc For Japan Payment Processing Valid Values: - 1 Banking Data - 2 Authorization Data
|
17
|
+
# A Payment Type is enabled through a Method. Examples: Visa, Master Card, ApplePay, iDeal, 7Eleven, alfamart, etc For Japan Payment Processing Valid Values: - 1 Banking Data - 2 Authorization Data #### Via KCP - `KCP` : Local Card, Bank Transfer and Carrier Billing. - `PAYCO` - `KAKAOPAY` - `NAVERPAY`
|
18
18
|
attr_accessor :name
|
19
19
|
|
20
|
+
# The payment channel that facilitates the transactions. This parameter can be used if the payment channels are listed on the merchant’s site, and the payment channel is known. Possible Values: #### Via PPRO - `alfaVa` - `kredivo` - `consumerBarCode` - `merchantQrCode` - `dokuWallet`
|
21
|
+
attr_accessor :type
|
22
|
+
|
20
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
21
24
|
def self.attribute_map
|
22
25
|
{
|
23
|
-
:'name' => :'name'
|
26
|
+
:'name' => :'name',
|
27
|
+
:'type' => :'type'
|
24
28
|
}
|
25
29
|
end
|
26
30
|
|
27
31
|
# Attribute type mapping.
|
28
32
|
def self.swagger_types
|
29
33
|
{
|
30
|
-
:'name' => :'String'
|
34
|
+
:'name' => :'String',
|
35
|
+
:'type' => :'String'
|
31
36
|
}
|
32
37
|
end
|
33
38
|
|
@@ -42,6 +47,10 @@ module CyberSource
|
|
42
47
|
if attributes.has_key?(:'name')
|
43
48
|
self.name = attributes[:'name']
|
44
49
|
end
|
50
|
+
|
51
|
+
if attributes.has_key?(:'type')
|
52
|
+
self.type = attributes[:'type']
|
53
|
+
end
|
45
54
|
end
|
46
55
|
|
47
56
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -62,7 +71,8 @@ module CyberSource
|
|
62
71
|
def ==(o)
|
63
72
|
return true if self.equal?(o)
|
64
73
|
self.class == o.class &&
|
65
|
-
name == o.name
|
74
|
+
name == o.name &&
|
75
|
+
type == o.type
|
66
76
|
end
|
67
77
|
|
68
78
|
# @see the `==` method
|
@@ -74,7 +84,7 @@ module CyberSource
|
|
74
84
|
# Calculates hash code according to all attributes.
|
75
85
|
# @return [Fixnum] Hash code
|
76
86
|
def hash
|
77
|
-
[name].hash
|
87
|
+
[name, type].hash
|
78
88
|
end
|
79
89
|
|
80
90
|
# Builds the object from hash
|