cybersource_rest_client 0.0.62 → 0.0.64
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/cybersource_rest_client/api/bin_lookup_api.rb +93 -0
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +6 -6
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +3 -3
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +3 -3
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +4 -4
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +2 -2
- data/lib/cybersource_rest_client/api_client.rb +28 -26
- data/lib/cybersource_rest_client/models/accountupdaterv1batches_included_tokens.rb +3 -3
- data/lib/cybersource_rest_client/models/{tss_v2_transactions_post400_response.rb → bin_lookupv400_response.rb} +224 -224
- data/lib/cybersource_rest_client/models/binv1binlookup_client_reference_information.rb +222 -0
- data/lib/cybersource_rest_client/models/binv1binlookup_payment_information.rb +219 -0
- data/lib/cybersource_rest_client/models/binv1binlookup_payment_information_card.rb +196 -0
- data/lib/cybersource_rest_client/models/binv1binlookup_processing_information.rb +200 -0
- data/lib/cybersource_rest_client/models/binv1binlookup_processing_information_payout_options.rb +213 -0
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_options_funding_options_initiator.rb → binv1binlookup_token_information.rb} +207 -196
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_oauth2.rb +3 -3
- data/lib/cybersource_rest_client/models/boardingv1registrations_integration_information_tenant_configurations.rb +3 -3
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +3 -3
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_address.rb +9 -9
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_business_contact.rb +12 -12
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_kyc_deposit_bank_account.rb +9 -9
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_owners.rb +15 -15
- data/lib/cybersource_rest_client/models/case_management_comments_request.rb +3 -3
- data/lib/cybersource_rest_client/models/create_bin_lookup_request.rb +219 -0
- data/lib/cybersource_rest_client/models/create_report_subscription_request.rb +6 -6
- data/lib/cybersource_rest_client/models/e_check_config_common.rb +9 -9
- data/lib/cybersource_rest_client/models/e_check_config_common_processors.rb +3 -3
- data/lib/cybersource_rest_client/models/get_all_plans_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/inline_response_200_2.rb +253 -253
- data/lib/cybersource_rest_client/models/inline_response_201_1.rb +248 -315
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_aggregator_information.rb → inline_response_201_1_issuer_information.rb} +264 -223
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information.rb +209 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_card.rb +277 -0
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_merchant_defined_information.rb → inline_response_201_1_payment_account_information_card_brands.rb} +213 -213
- data/lib/cybersource_rest_client/models/inline_response_201_1_payment_account_information_features.rb +320 -0
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_options_funding_options.rb → inline_response_201_1_payment_account_information_network.rb} +190 -189
- data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information.rb +216 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_pull_funds.rb +213 -0
- data/lib/cybersource_rest_client/models/inline_response_201_1_payout_information_push_funds.rb +417 -0
- data/lib/cybersource_rest_client/models/inline_response_201_2.rb +315 -222
- data/lib/cybersource_rest_client/models/{inline_response_201_1_integration_information.rb → inline_response_201_2_integration_information.rb} +192 -192
- data/lib/cybersource_rest_client/models/{inline_response_201_1_integration_information_tenant_configurations.rb → inline_response_201_2_integration_information_tenant_configurations.rb} +286 -286
- data/lib/cybersource_rest_client/models/{inline_response_201_1_organization_information.rb → inline_response_201_2_organization_information.rb} +217 -217
- data/lib/cybersource_rest_client/models/{inline_response_201_1_product_information_setups.rb → inline_response_201_2_product_information_setups.rb} +214 -214
- data/lib/cybersource_rest_client/models/{inline_response_201_1_registration_information.rb → inline_response_201_2_registration_information.rb} +256 -256
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups.rb → inline_response_201_2_setups.rb} +219 -219
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_commerce_solutions.rb → inline_response_201_2_setups_commerce_solutions.rb} +209 -209
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments.rb → inline_response_201_2_setups_payments.rb} +349 -349
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing.rb → inline_response_201_2_setups_payments_card_processing.rb} +199 -199
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing_configuration_status.rb → inline_response_201_2_setups_payments_card_processing_configuration_status.rb} +299 -299
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_card_processing_subscription_status.rb → inline_response_201_2_setups_payments_card_processing_subscription_status.rb} +278 -278
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_payments_digital_payments.rb → inline_response_201_2_setups_payments_digital_payments.rb} +189 -189
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_risk.rb → inline_response_201_2_setups_risk.rb} +199 -199
- data/lib/cybersource_rest_client/models/{inline_response_201_1_setups_value_added_services.rb → inline_response_201_2_setups_value_added_services.rb} +199 -199
- data/lib/cybersource_rest_client/models/inline_response_201_3.rb +222 -347
- data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information.rb → inline_response_201_3_key_information.rb} +300 -300
- data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information_error_information.rb → inline_response_201_3_key_information_error_information.rb} +202 -202
- data/lib/cybersource_rest_client/models/{inline_response_201_2_key_information_error_information_details.rb → inline_response_201_3_key_information_error_information_details.rb} +201 -201
- data/lib/cybersource_rest_client/models/inline_response_201_4.rb +347 -222
- data/lib/cybersource_rest_client/models/inline_response_201_5.rb +222 -0
- data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response_invoice_settings_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +248 -248
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +270 -270
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response_transaction_details.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +258 -258
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb +235 -235
- data/lib/cybersource_rest_client/models/invoicingv2invoice_settings_invoice_settings_information.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information_company.rb +1 -1
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_freight.rb +225 -225
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_amount_details_tax_details.rb +225 -225
- data/lib/cybersource_rest_client/models/invoicingv2invoices_order_information_line_items.rb +333 -333
- data/lib/cybersource_rest_client/models/kmsv2keyssym_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/merchant_initiated_transaction_object.rb +241 -241
- data/lib/cybersource_rest_client/models/patch_instrument_identifier_request.rb +2 -2
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_processor_account.rb +3 -3
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pullfunds.rb +6 -6
- data/lib/cybersource_rest_client/models/payments_products_payouts_configuration_information_configurations_pushfunds.rb +3 -3
- data/lib/cybersource_rest_client/models/post_instrument_identifier_enrollment_request.rb +2 -2
- data/lib/cybersource_rest_client/models/post_instrument_identifier_request.rb +2 -2
- data/lib/cybersource_rest_client/models/predefined_subscription_request_bean.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_credit_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response_processing_information_bank_transfer_options.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +284 -284
- data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_buyer_information_personal_identification.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_order_post201_response_processor_information.rb +233 -233
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_1_processor_information.rb +249 -249
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_2_processor_information.rb +264 -264
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +765 -765
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_installment_information.rb +609 -609
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_issuer_information.rb +264 -264
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +309 -309
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information.rb +199 -189
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_processing_information_recurring_options.rb → pts_v2_payments_post201_response_payment_insights_information_orchestration.rb} +192 -190
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_insights_information_response_insights.rb +230 -230
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb +223 -223
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +217 -217
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information_bank_transfer_options.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +736 -736
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_ach_verification.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_electronic_verification_results.rb +5 -5
- data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information_merchant_advice.rb +230 -230
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response_refund_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_issuer_information.rb +196 -196
- data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response_reversal_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response_void_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information.rb +5 -32
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_order_information_amount_details.rb +74 -13
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information.rb +232 -310
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_information_payouts_options.rb +41 -23
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information.rb +18 -43
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_payment_information_card.rb +28 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_recipient_information_personal_identification.rb +33 -7
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information.rb +27 -26
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb +10 -1
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_payment_information_card.rb +41 -5
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_personal_identification.rb +33 -7
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_aggregator_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_buyer_information.rb +247 -247
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_installment_information.rb +326 -326
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information.rb +285 -285
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_merchant_information_merchant_descriptor.rb +241 -241
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2billingagreements_payment_information_tokenized_card.rb +275 -275
- data/lib/cybersource_rest_client/models/ptsv2billingagreementsid_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2credits_installment_information.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +453 -453
- data/lib/cybersource_rest_client/models/ptsv2credits_processing_information_bank_transfer_options.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_line_items.rb +361 -361
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_order_information_ship_to.rb +485 -485
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentreferences_payment_information_card.rb +275 -275
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_aggregator_information_sub_merchant.rb +366 -366
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information.rb +4 -4
- data/lib/cybersource_rest_client/models/ptsv2payments_buyer_information_personal_identification.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +1075 -1075
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication.rb +308 -308
- data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information_strong_authentication_issuer_information.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2payments_installment_information.rb +416 -416
- data/lib/cybersource_rest_client/models/ptsv2payments_issuer_information.rb +196 -196
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_defined_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information.rb +464 -464
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +405 -405
- data/lib/cybersource_rest_client/models/ptsv2payments_merchant_initiated_transaction.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +641 -624
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_amex_additional_amounts.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_order.rb +332 -332
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details_tax_details.rb +286 -286
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_bill_to_company.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_invoice_details.rb +444 -444
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_line_items.rb +699 -699
- data/lib/cybersource_rest_client/models/ptsv2payments_order_information_ship_to.rb +496 -496
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information.rb +346 -336
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_bank_account.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +428 -428
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/{ptsv1pushfundstransfer_order_information_surcharge.rb → ptsv2payments_payment_information_payment_account_reference.rb} +196 -196
- data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +377 -377
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +633 -633
- data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information_emv.rb +257 -257
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +704 -704
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_authorization_options_initiator.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_bank_transfer_options.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_loan_options.rb +213 -213
- data/lib/cybersource_rest_client/models/ptsv2payments_processing_information_recurring_options.rb +205 -205
- data/lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb +315 -315
- data/lib/cybersource_rest_client/models/ptsv2payments_token_information.rb +15 -5
- data/lib/cybersource_rest_client/models/{tms_embedded_instrument_identifier_token_provisioning_information.rb → ptsv2payments_token_information_token_provisioning_information.rb} +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsid_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_aggregator_information_sub_merchant.rb +332 -332
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_buyer_information_personal_identification.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_installment_information.rb +604 -604
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_merchant_information.rb +267 -267
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_amount_details.rb +5 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_order_information_invoice_details.rb +287 -287
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_point_of_sale_information.rb +206 -206
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +362 -362
- data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information_authorization_options.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_merchant_information.rb +257 -257
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_order_information_line_items.rb +502 -502
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information.rb +299 -289
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank.rb +3 -3
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_bank_account.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +377 -377
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +342 -342
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information_recurring_options.rb +192 -192
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_order_information_line_items.rb +213 -213
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +287 -287
- data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_reversal_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information.rb +234 -234
- data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +286 -286
- data/lib/cybersource_rest_client/models/ptsv2payouts_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/ptsv2payouts_processing_information.rb +301 -301
- data/lib/cybersource_rest_client/models/ptsv2payouts_recipient_information.rb +5 -39
- data/lib/cybersource_rest_client/models/ptsv2refreshpaymentstatusid_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/ptsv2voids_processing_information.rb +190 -196
- data/lib/cybersource_rest_client/models/push_funds201_response_order_information_amount_details.rb +4 -4
- data/lib/cybersource_rest_client/models/push_funds201_response_processor_information.rb +3 -37
- data/lib/cybersource_rest_client/models/push_funds400_response.rb +1 -1
- data/lib/cybersource_rest_client/models/push_funds_request.rb +5 -60
- data/lib/cybersource_rest_client/models/rbsv1plans_order_information_amount_details.rb +7 -7
- data/lib/cybersource_rest_client/models/rbsv1plans_plan_information.rb +3 -3
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_payment_information_customer.rb +3 -3
- data/lib/cybersource_rest_client/models/rbsv1subscriptions_subscription_information.rb +3 -3
- data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response_consumer_authentication_information.rb +543 -543
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_consumer_authentication_information.rb +4 -4
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_order_information_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response_payment_information.rb +5 -5
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_bill_to.rb +12 -12
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_line_items.rb +290 -290
- data/lib/cybersource_rest_client/models/riskv1addressverifications_order_information_ship_to.rb +6 -6
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_order_information_amount_details.rb +2 -2
- data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +258 -258
- data/lib/cybersource_rest_client/models/riskv1authentications_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_amount_details.rb +8 -8
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_bill_to.rb +22 -22
- data/lib/cybersource_rest_client/models/riskv1authentications_order_information_line_items.rb +497 -497
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +9 -9
- data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +351 -351
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +9 -9
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +299 -299
- data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +213 -213
- data/lib/cybersource_rest_client/models/riskv1decisions_buyer_information.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1decisions_consumer_authentication_information.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_amount_details.rb +223 -223
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1decisions_order_information_line_items.rb +416 -416
- data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +259 -259
- data/lib/cybersource_rest_client/models/riskv1decisions_processor_information_card_verification.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_bill_to.rb +16 -16
- data/lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb +314 -314
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb +3 -3
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_line_items.rb +196 -196
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier.rb +2 -2
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_bank_account.rb +207 -207
- data/lib/cybersource_rest_client/models/tms_embedded_instrument_identifier_tokenized_card.rb +12 -1
- data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info.rb +200 -200
- data/lib/cybersource_rest_client/models/tms_payment_instrument_processing_info_bank_transfer_options.rb +196 -196
- data/lib/cybersource_rest_client/models/tmsv2customers__embedded_default_payment_instrument_buyer_information.rb +236 -236
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_bill_to.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_line_items.rb +292 -292
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_ship_to.rb +349 -349
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank.rb +5 -5
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_bank_account.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +365 -365
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_customer.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +3 -3
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options_initiator.rb +222 -222
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +383 -383
- data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information_electronic_verification_results.rb +4 -4
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_consumer_authentication_information.rb +2 -2
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +1 -1
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +241 -241
- data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_risk_information_providers_fingerprint.rb +231 -231
- data/lib/cybersource_rest_client/models/tssv2transactionsemv_tag_details_emv_details_list.rb +6 -6
- data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response_void_amount_details.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_buyer_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client/models/vasv2tax_merchant_information.rb +196 -196
- data/lib/cybersource_rest_client/models/vasv2tax_order_information_line_items.rb +403 -403
- data/lib/cybersource_rest_client/models/vasv2taxid_client_reference_information.rb +1 -1
- data/lib/cybersource_rest_client.rb +39 -30
- metadata +42 -33
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_aggregator_information_sub_merchant.rb +0 -332
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information.rb +0 -234
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_merchant_information_merchant_descriptor.rb +0 -298
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_point_of_service_information.rb +0 -246
- data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_processing_options.rb +0 -189
@@ -13,33 +13,33 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv1pushfundstransferProcessingInformationPayoutsOptions
|
16
|
-
#
|
17
|
-
attr_accessor :
|
16
|
+
# Use a 3-character alpha currency code for source currency of the funds transfer. Yellow Pepper Supported for cross border funds transfers. ISO standard currencies: http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf
|
17
|
+
attr_accessor :source_currency
|
18
18
|
|
19
|
-
#
|
20
|
-
attr_accessor :
|
19
|
+
# Use a 3-character alpha currency code for destination currency of the funds transfer. Yellow Pepper Supported for cross border funds transfers. ISO standard currencies: http://apps.cybersource.com/library/documentation/sbc/quickref/currencies.pdf
|
20
|
+
attr_accessor :destination_currency
|
21
21
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
23
|
def self.attribute_map
|
24
24
|
{
|
25
|
-
:'
|
26
|
-
:'
|
25
|
+
:'source_currency' => :'sourceCurrency',
|
26
|
+
:'destination_currency' => :'destinationCurrency'
|
27
27
|
}
|
28
28
|
end
|
29
29
|
|
30
30
|
# Attribute mapping from JSON key to ruby-style variable name.
|
31
31
|
def self.json_map
|
32
32
|
{
|
33
|
-
:'
|
34
|
-
:'
|
33
|
+
:'source_currency' => :'source_currency',
|
34
|
+
:'destination_currency' => :'destination_currency'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
38
38
|
# Attribute type mapping.
|
39
39
|
def self.swagger_types
|
40
40
|
{
|
41
|
-
:'
|
42
|
-
:'
|
41
|
+
:'source_currency' => :'String',
|
42
|
+
:'destination_currency' => :'String'
|
43
43
|
}
|
44
44
|
end
|
45
45
|
|
@@ -51,12 +51,12 @@ module CyberSource
|
|
51
51
|
# convert string to symbol for hash key
|
52
52
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
53
53
|
|
54
|
-
if attributes.has_key?(:'
|
55
|
-
self.
|
54
|
+
if attributes.has_key?(:'sourceCurrency')
|
55
|
+
self.source_currency = attributes[:'sourceCurrency']
|
56
56
|
end
|
57
57
|
|
58
|
-
if attributes.has_key?(:'
|
59
|
-
self.
|
58
|
+
if attributes.has_key?(:'destinationCurrency')
|
59
|
+
self.destination_currency = attributes[:'destinationCurrency']
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
@@ -64,25 +64,43 @@ module CyberSource
|
|
64
64
|
# @return Array for valid properties with the reasons
|
65
65
|
def list_invalid_properties
|
66
66
|
invalid_properties = Array.new
|
67
|
+
#if !@source_currency.nil? && @source_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
68
|
+
#invalid_properties.push('invalid value for "source_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
|
69
|
+
#end
|
70
|
+
|
71
|
+
#if !@destination_currency.nil? && @destination_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
72
|
+
#invalid_properties.push('invalid value for "destination_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
|
73
|
+
#end
|
74
|
+
|
67
75
|
invalid_properties
|
68
76
|
end
|
69
77
|
|
70
78
|
# Check to see if the all the properties in the model are valid
|
71
79
|
# @return true if the model is valid
|
72
80
|
def valid?
|
81
|
+
#return false if !@source_currency.nil? && @source_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
82
|
+
#return false if !@destination_currency.nil? && @destination_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
73
83
|
true
|
74
84
|
end
|
75
85
|
|
76
86
|
# Custom attribute writer method with validation
|
77
|
-
# @param [Object]
|
78
|
-
def
|
79
|
-
|
87
|
+
# @param [Object] source_currency Value to be assigned
|
88
|
+
def source_currency=(source_currency)
|
89
|
+
#if !source_currency.nil? && source_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
90
|
+
#fail ArgumentError, 'invalid value for "source_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
|
91
|
+
#end
|
92
|
+
|
93
|
+
@source_currency = source_currency
|
80
94
|
end
|
81
95
|
|
82
96
|
# Custom attribute writer method with validation
|
83
|
-
# @param [Object]
|
84
|
-
def
|
85
|
-
|
97
|
+
# @param [Object] destination_currency Value to be assigned
|
98
|
+
def destination_currency=(destination_currency)
|
99
|
+
#if !destination_currency.nil? && destination_currency !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
100
|
+
#fail ArgumentError, 'invalid value for "destination_currency", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
|
101
|
+
#end
|
102
|
+
|
103
|
+
@destination_currency = destination_currency
|
86
104
|
end
|
87
105
|
|
88
106
|
# Checks equality by comparing each attribute.
|
@@ -90,8 +108,8 @@ module CyberSource
|
|
90
108
|
def ==(o)
|
91
109
|
return true if self.equal?(o)
|
92
110
|
self.class == o.class &&
|
93
|
-
|
94
|
-
|
111
|
+
source_currency == o.source_currency &&
|
112
|
+
destination_currency == o.destination_currency
|
95
113
|
end
|
96
114
|
|
97
115
|
# @see the `==` method
|
@@ -103,7 +121,7 @@ module CyberSource
|
|
103
121
|
# Calculates hash code according to all attributes.
|
104
122
|
# @return [Fixnum] Hash code
|
105
123
|
def hash
|
106
|
-
[
|
124
|
+
[source_currency, destination_currency].hash
|
107
125
|
end
|
108
126
|
|
109
127
|
# Builds the object from hash
|
@@ -15,39 +15,33 @@ module CyberSource
|
|
15
15
|
class Ptsv1pushfundstransferRecipientInformation
|
16
16
|
attr_accessor :payment_information
|
17
17
|
|
18
|
-
# First line of the recipient's address.
|
18
|
+
# First line of the recipient's address. Required for card payments
|
19
19
|
attr_accessor :address1
|
20
20
|
|
21
|
-
# Second line of the recipient's address
|
21
|
+
# Second line of the recipient's address
|
22
22
|
attr_accessor :address2
|
23
23
|
|
24
|
-
# Recipient city.
|
24
|
+
# Recipient city.
|
25
25
|
attr_accessor :locality
|
26
26
|
|
27
|
-
# Recipient postal code.
|
27
|
+
# Recipient postal code. For USA, this must be a valid value of 5 digits or 5 digits hyphen 4 digits, for example '63368', '63368-5555'. For other regions, this can be alphanumeric, length 1-10. Mandatory for card payments.
|
28
28
|
attr_accessor :postal_code
|
29
29
|
|
30
|
-
# The recipient's province, state or territory. Conditional, required if recipient's country is USA or CAN. Must be an ISO 3166-2 uppercase alpha 2 or 3 character country subdivision code. For example, Missouri is MO.
|
30
|
+
# The recipient's province, state or territory. Conditional, required if recipient's country is USA or CAN. Must be an ISO 3166-2 uppercase alpha 2 or 3 character country subdivision code. For example, Missouri is MO. See https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf Required for card payments.
|
31
31
|
attr_accessor :administrative_area
|
32
32
|
|
33
|
-
# Recipient country code. Use the ISO Standard Alpha Country Codes. https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf
|
33
|
+
# Recipient country code. Use the ISO Standard Alpha Country Codes. https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf
|
34
34
|
attr_accessor :country
|
35
35
|
|
36
|
-
# First name of recipient.
|
36
|
+
# First name of recipient.
|
37
37
|
attr_accessor :first_name
|
38
38
|
|
39
39
|
# Sender's middle name. This field is a passthrough, which means that CyberSource does not verify the value or modify it in any way before sending it to the processor. If the field is not required for the transaction, CyberSource does not forward it to the processor.
|
40
40
|
attr_accessor :middle_name
|
41
41
|
|
42
|
-
#
|
43
|
-
attr_accessor :middle_initial
|
44
|
-
|
45
|
-
# Last name of recipient. Visa Platform Connect (14) Paymentech (30) Mastercard Send (40) This field is required for Mastercard Send.
|
42
|
+
# Last name of recipient.
|
46
43
|
attr_accessor :last_name
|
47
44
|
|
48
|
-
# Recipient date of birth in YYYYMMDD format.
|
49
|
-
attr_accessor :date_of_birth
|
50
|
-
|
51
45
|
# Recipient phone number. This field is supported by FDC Compass. Mastercard Send: Max length is 15 with no dashes or spaces.
|
52
46
|
attr_accessor :phone_number
|
53
47
|
|
@@ -65,9 +59,7 @@ module CyberSource
|
|
65
59
|
:'country' => :'country',
|
66
60
|
:'first_name' => :'firstName',
|
67
61
|
:'middle_name' => :'middleName',
|
68
|
-
:'middle_initial' => :'middleInitial',
|
69
62
|
:'last_name' => :'lastName',
|
70
|
-
:'date_of_birth' => :'dateOfBirth',
|
71
63
|
:'phone_number' => :'phoneNumber',
|
72
64
|
:'personal_identification' => :'personalIdentification'
|
73
65
|
}
|
@@ -85,9 +77,7 @@ module CyberSource
|
|
85
77
|
:'country' => :'country',
|
86
78
|
:'first_name' => :'first_name',
|
87
79
|
:'middle_name' => :'middle_name',
|
88
|
-
:'middle_initial' => :'middle_initial',
|
89
80
|
:'last_name' => :'last_name',
|
90
|
-
:'date_of_birth' => :'date_of_birth',
|
91
81
|
:'phone_number' => :'phone_number',
|
92
82
|
:'personal_identification' => :'personal_identification'
|
93
83
|
}
|
@@ -105,9 +95,7 @@ module CyberSource
|
|
105
95
|
:'country' => :'String',
|
106
96
|
:'first_name' => :'String',
|
107
97
|
:'middle_name' => :'String',
|
108
|
-
:'middle_initial' => :'String',
|
109
98
|
:'last_name' => :'String',
|
110
|
-
:'date_of_birth' => :'String',
|
111
99
|
:'phone_number' => :'String',
|
112
100
|
:'personal_identification' => :'Ptsv1pushfundstransferRecipientInformationPersonalIdentification'
|
113
101
|
}
|
@@ -157,18 +145,10 @@ module CyberSource
|
|
157
145
|
self.middle_name = attributes[:'middleName']
|
158
146
|
end
|
159
147
|
|
160
|
-
if attributes.has_key?(:'middleInitial')
|
161
|
-
self.middle_initial = attributes[:'middleInitial']
|
162
|
-
end
|
163
|
-
|
164
148
|
if attributes.has_key?(:'lastName')
|
165
149
|
self.last_name = attributes[:'lastName']
|
166
150
|
end
|
167
151
|
|
168
|
-
if attributes.has_key?(:'dateOfBirth')
|
169
|
-
self.date_of_birth = attributes[:'dateOfBirth']
|
170
|
-
end
|
171
|
-
|
172
152
|
if attributes.has_key?(:'phoneNumber')
|
173
153
|
self.phone_number = attributes[:'phoneNumber']
|
174
154
|
end
|
@@ -182,12 +162,17 @@ module CyberSource
|
|
182
162
|
# @return Array for valid properties with the reasons
|
183
163
|
def list_invalid_properties
|
184
164
|
invalid_properties = Array.new
|
165
|
+
#if !@country.nil? && @country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
166
|
+
#invalid_properties.push('invalid value for "country", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
|
167
|
+
#end
|
168
|
+
|
185
169
|
invalid_properties
|
186
170
|
end
|
187
171
|
|
188
172
|
# Check to see if the all the properties in the model are valid
|
189
173
|
# @return true if the model is valid
|
190
174
|
def valid?
|
175
|
+
#return false if !@country.nil? && @country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
191
176
|
true
|
192
177
|
end
|
193
178
|
|
@@ -224,6 +209,10 @@ module CyberSource
|
|
224
209
|
# Custom attribute writer method with validation
|
225
210
|
# @param [Object] country Value to be assigned
|
226
211
|
def country=(country)
|
212
|
+
#if !country.nil? && country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
213
|
+
#fail ArgumentError, 'invalid value for "country", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
|
214
|
+
#end
|
215
|
+
|
227
216
|
@country = country
|
228
217
|
end
|
229
218
|
|
@@ -239,24 +228,12 @@ module CyberSource
|
|
239
228
|
@middle_name = middle_name
|
240
229
|
end
|
241
230
|
|
242
|
-
# Custom attribute writer method with validation
|
243
|
-
# @param [Object] middle_initial Value to be assigned
|
244
|
-
def middle_initial=(middle_initial)
|
245
|
-
@middle_initial = middle_initial
|
246
|
-
end
|
247
|
-
|
248
231
|
# Custom attribute writer method with validation
|
249
232
|
# @param [Object] last_name Value to be assigned
|
250
233
|
def last_name=(last_name)
|
251
234
|
@last_name = last_name
|
252
235
|
end
|
253
236
|
|
254
|
-
# Custom attribute writer method with validation
|
255
|
-
# @param [Object] date_of_birth Value to be assigned
|
256
|
-
def date_of_birth=(date_of_birth)
|
257
|
-
@date_of_birth = date_of_birth
|
258
|
-
end
|
259
|
-
|
260
237
|
# Custom attribute writer method with validation
|
261
238
|
# @param [Object] phone_number Value to be assigned
|
262
239
|
def phone_number=(phone_number)
|
@@ -277,9 +254,7 @@ module CyberSource
|
|
277
254
|
country == o.country &&
|
278
255
|
first_name == o.first_name &&
|
279
256
|
middle_name == o.middle_name &&
|
280
|
-
middle_initial == o.middle_initial &&
|
281
257
|
last_name == o.last_name &&
|
282
|
-
date_of_birth == o.date_of_birth &&
|
283
258
|
phone_number == o.phone_number &&
|
284
259
|
personal_identification == o.personal_identification
|
285
260
|
end
|
@@ -293,7 +268,7 @@ module CyberSource
|
|
293
268
|
# Calculates hash code according to all attributes.
|
294
269
|
# @return [Fixnum] Hash code
|
295
270
|
def hash
|
296
|
-
[payment_information, address1, address2, locality, postal_code, administrative_area, country, first_name, middle_name,
|
271
|
+
[payment_information, address1, address2, locality, postal_code, administrative_area, country, first_name, middle_name, last_name, phone_number, personal_identification].hash
|
297
272
|
end
|
298
273
|
|
299
274
|
# Builds the object from hash
|
@@ -13,7 +13,7 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv1pushfundstransferRecipientInformationPaymentInformationCard
|
16
|
-
# Three-digit value that indicates the card type.
|
16
|
+
# Three-digit value that indicates the card type. Possible values: Visa Platform Connect - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. - `033`: Visa Electron - `024`: Maestro Mastercard Send: - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. FDC Compass: - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. Chase Paymentech: - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. Yellow Pepper: - `001`: Visa - `002`: Mastercard, Eurocard, which is a European regional brand of Mastercard. - `005`: Diners Club - `033`: Visa Electron - `024`: Intl Maestro
|
17
17
|
attr_accessor :type
|
18
18
|
|
19
19
|
# 3-digit value that indicates the cardCvv2Value. Values can be 0-9.
|
@@ -121,30 +121,57 @@ module CyberSource
|
|
121
121
|
# @return Array for valid properties with the reasons
|
122
122
|
def list_invalid_properties
|
123
123
|
invalid_properties = Array.new
|
124
|
+
#if !@type.nil? && @type !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
125
|
+
#invalid_properties.push('invalid value for "type", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
|
126
|
+
#end
|
127
|
+
|
128
|
+
#if !@security_code.nil? && @security_code !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
129
|
+
#invalid_properties.push('invalid value for "security_code", must conform to the pattern /^(\\s{0,3}|.{3})$/.')
|
130
|
+
#end
|
131
|
+
|
132
|
+
#if !@number.nil? && @number !~ Regexp.new(/^(\\s{0,19}|.{13,19})$/)
|
133
|
+
#invalid_properties.push('invalid value for "number", must conform to the pattern /^(\\s{0,19}|.{13,19})$/.')
|
134
|
+
#end
|
135
|
+
|
124
136
|
invalid_properties
|
125
137
|
end
|
126
138
|
|
127
139
|
# Check to see if the all the properties in the model are valid
|
128
140
|
# @return true if the model is valid
|
129
141
|
def valid?
|
142
|
+
#return false if !@type.nil? && @type !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
143
|
+
#return false if !@security_code.nil? && @security_code !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
144
|
+
#return false if !@number.nil? && @number !~ Regexp.new(/^(\\s{0,19}|.{13,19})$/)
|
130
145
|
true
|
131
146
|
end
|
132
147
|
|
133
148
|
# Custom attribute writer method with validation
|
134
149
|
# @param [Object] type Value to be assigned
|
135
150
|
def type=(type)
|
151
|
+
#if !type.nil? && type !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
152
|
+
#fail ArgumentError, 'invalid value for "type", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
|
153
|
+
#end
|
154
|
+
|
136
155
|
@type = type
|
137
156
|
end
|
138
157
|
|
139
158
|
# Custom attribute writer method with validation
|
140
159
|
# @param [Object] security_code Value to be assigned
|
141
160
|
def security_code=(security_code)
|
161
|
+
#if !security_code.nil? && security_code !~ Regexp.new(/^(\\s{0,3}|.{3})$/)
|
162
|
+
#fail ArgumentError, 'invalid value for "security_code", must conform to the pattern /^(\\s{0,3}|.{3})$/.'
|
163
|
+
#end
|
164
|
+
|
142
165
|
@security_code = security_code
|
143
166
|
end
|
144
167
|
|
145
168
|
# Custom attribute writer method with validation
|
146
169
|
# @param [Object] number Value to be assigned
|
147
170
|
def number=(number)
|
171
|
+
#if !number.nil? && number !~ Regexp.new(/^(\\s{0,19}|.{13,19})$/)
|
172
|
+
#fail ArgumentError, 'invalid value for "number", must conform to the pattern /^(\\s{0,19}|.{13,19})$/.'
|
173
|
+
#end
|
174
|
+
|
148
175
|
@number = number
|
149
176
|
end
|
150
177
|
|
@@ -13,17 +13,21 @@ require 'date'
|
|
13
13
|
|
14
14
|
module CyberSource
|
15
15
|
class Ptsv1pushfundstransferRecipientInformationPersonalIdentification
|
16
|
-
# The ID number/value.
|
16
|
+
# The ID number/value. Processor(35)
|
17
17
|
attr_accessor :id
|
18
18
|
|
19
|
-
# This tag will contain the type of sender identification.
|
19
|
+
# This tag will contain the type of sender identification.
|
20
20
|
attr_accessor :type
|
21
21
|
|
22
|
+
# Issuing country of the identification. The field format should be a 2 character ISO 3166-1 alpha-2 country code.
|
23
|
+
attr_accessor :issuing_country
|
24
|
+
|
22
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
26
|
def self.attribute_map
|
24
27
|
{
|
25
28
|
:'id' => :'id',
|
26
|
-
:'type' => :'type'
|
29
|
+
:'type' => :'type',
|
30
|
+
:'issuing_country' => :'issuingCountry'
|
27
31
|
}
|
28
32
|
end
|
29
33
|
|
@@ -31,7 +35,8 @@ module CyberSource
|
|
31
35
|
def self.json_map
|
32
36
|
{
|
33
37
|
:'id' => :'id',
|
34
|
-
:'type' => :'type'
|
38
|
+
:'type' => :'type',
|
39
|
+
:'issuing_country' => :'issuing_country'
|
35
40
|
}
|
36
41
|
end
|
37
42
|
|
@@ -39,7 +44,8 @@ module CyberSource
|
|
39
44
|
def self.swagger_types
|
40
45
|
{
|
41
46
|
:'id' => :'String',
|
42
|
-
:'type' => :'String'
|
47
|
+
:'type' => :'String',
|
48
|
+
:'issuing_country' => :'String'
|
43
49
|
}
|
44
50
|
end
|
45
51
|
|
@@ -58,18 +64,27 @@ module CyberSource
|
|
58
64
|
if attributes.has_key?(:'type')
|
59
65
|
self.type = attributes[:'type']
|
60
66
|
end
|
67
|
+
|
68
|
+
if attributes.has_key?(:'issuingCountry')
|
69
|
+
self.issuing_country = attributes[:'issuingCountry']
|
70
|
+
end
|
61
71
|
end
|
62
72
|
|
63
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
64
74
|
# @return Array for valid properties with the reasons
|
65
75
|
def list_invalid_properties
|
66
76
|
invalid_properties = Array.new
|
77
|
+
#if !@issuing_country.nil? && @issuing_country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
78
|
+
#invalid_properties.push('invalid value for "issuing_country", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
|
79
|
+
#end
|
80
|
+
|
67
81
|
invalid_properties
|
68
82
|
end
|
69
83
|
|
70
84
|
# Check to see if the all the properties in the model are valid
|
71
85
|
# @return true if the model is valid
|
72
86
|
def valid?
|
87
|
+
#return false if !@issuing_country.nil? && @issuing_country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
73
88
|
true
|
74
89
|
end
|
75
90
|
|
@@ -85,13 +100,24 @@ module CyberSource
|
|
85
100
|
@type = type
|
86
101
|
end
|
87
102
|
|
103
|
+
# Custom attribute writer method with validation
|
104
|
+
# @param [Object] issuing_country Value to be assigned
|
105
|
+
def issuing_country=(issuing_country)
|
106
|
+
#if !issuing_country.nil? && issuing_country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
107
|
+
#fail ArgumentError, 'invalid value for "issuing_country", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
|
108
|
+
#end
|
109
|
+
|
110
|
+
@issuing_country = issuing_country
|
111
|
+
end
|
112
|
+
|
88
113
|
# Checks equality by comparing each attribute.
|
89
114
|
# @param [Object] Object to be compared
|
90
115
|
def ==(o)
|
91
116
|
return true if self.equal?(o)
|
92
117
|
self.class == o.class &&
|
93
118
|
id == o.id &&
|
94
|
-
type == o.type
|
119
|
+
type == o.type &&
|
120
|
+
issuing_country == o.issuing_country
|
95
121
|
end
|
96
122
|
|
97
123
|
# @see the `==` method
|
@@ -103,7 +129,7 @@ module CyberSource
|
|
103
129
|
# Calculates hash code according to all attributes.
|
104
130
|
# @return [Fixnum] Hash code
|
105
131
|
def hash
|
106
|
-
[id, type].hash
|
132
|
+
[id, type, issuing_country].hash
|
107
133
|
end
|
108
134
|
|
109
135
|
# Builds the object from hash
|
@@ -16,36 +16,33 @@ module CyberSource
|
|
16
16
|
# Name of sender. Funds Disbursement This value is the name of the originator sending the funds disbursement.
|
17
17
|
attr_accessor :name
|
18
18
|
|
19
|
-
# This field contains the first name of the entity funding the transaction
|
19
|
+
# This field contains the first name of the entity funding the transaction Mandatory for card payments
|
20
20
|
attr_accessor :first_name
|
21
21
|
|
22
|
-
# This field contains the last name of the entity funding the transaction
|
22
|
+
# This field contains the last name of the entity funding the transaction Mandatory for card payments
|
23
23
|
attr_accessor :last_name
|
24
24
|
|
25
|
-
#
|
25
|
+
# This field contains the middle name of the entity funding the transaction
|
26
26
|
attr_accessor :middle_name
|
27
27
|
|
28
28
|
# Sender's postal code. For USA, this must be a valid value of 5 digits or 5 digits hyphen 4 digits, for example '63368', '63368-5555'. For other regions, this can be alphanumeric, length 1-10. Required for FDCCompass.
|
29
29
|
attr_accessor :postal_code
|
30
30
|
|
31
|
-
# Street address of sender. Funds Disbursement This value is the address of the originator sending the funds disbursement.
|
31
|
+
# Street address of sender. Funds Disbursement This value is the address of the originator sending the funds disbursement. Required for card transactions
|
32
32
|
attr_accessor :address1
|
33
33
|
|
34
|
-
# Used for additional address information. For example: Attention: Accounts Payable
|
34
|
+
# Used for additional address information. For example: Attention: Accounts Payable Optional field.
|
35
35
|
attr_accessor :address2
|
36
36
|
|
37
|
-
# The sender's city
|
37
|
+
# The sender's city Mandatory for card payments
|
38
38
|
attr_accessor :locality
|
39
39
|
|
40
|
-
# Sender's state. Use the State, Province, and Territory Codes for the United States and Canada.The sender's province, state or territory. Conditional, required if sender's country is USA or CAN. Must be uppercase alpha 2 or 3 character country subdivision code. See https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf
|
40
|
+
# Sender's state. Use the State, Province, and Territory Codes for the United States and Canada.The sender's province, state or territory. Conditional, required if sender's country is USA or CAN. Must be uppercase alpha 2 or 3 character country subdivision code. See https://developer.cybersource.com/library/documentation/sbc/quickref/states_and_provinces.pdf Mandatory for card payments
|
41
41
|
attr_accessor :administrative_area
|
42
42
|
|
43
|
-
# Sender's country code. Use ISO Standard Alpha Country Codes. https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf
|
43
|
+
# Sender's country code. Use ISO Standard Alpha Country Codes. https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf
|
44
44
|
attr_accessor :country
|
45
45
|
|
46
|
-
# Customer's government-assigned tax identification number.
|
47
|
-
attr_accessor :vat_registration_number
|
48
|
-
|
49
46
|
# Sender's date of birth in YYYYMMDD format.
|
50
47
|
attr_accessor :date_of_birth
|
51
48
|
|
@@ -74,7 +71,6 @@ module CyberSource
|
|
74
71
|
:'locality' => :'locality',
|
75
72
|
:'administrative_area' => :'administrativeArea',
|
76
73
|
:'country' => :'country',
|
77
|
-
:'vat_registration_number' => :'vatRegistrationNumber',
|
78
74
|
:'date_of_birth' => :'dateOfBirth',
|
79
75
|
:'phone_number' => :'phoneNumber',
|
80
76
|
:'payment_information' => :'paymentInformation',
|
@@ -97,7 +93,6 @@ module CyberSource
|
|
97
93
|
:'locality' => :'locality',
|
98
94
|
:'administrative_area' => :'administrative_area',
|
99
95
|
:'country' => :'country',
|
100
|
-
:'vat_registration_number' => :'vat_registration_number',
|
101
96
|
:'date_of_birth' => :'date_of_birth',
|
102
97
|
:'phone_number' => :'phone_number',
|
103
98
|
:'payment_information' => :'payment_information',
|
@@ -120,7 +115,6 @@ module CyberSource
|
|
120
115
|
:'locality' => :'String',
|
121
116
|
:'administrative_area' => :'String',
|
122
117
|
:'country' => :'String',
|
123
|
-
:'vat_registration_number' => :'String',
|
124
118
|
:'date_of_birth' => :'String',
|
125
119
|
:'phone_number' => :'String',
|
126
120
|
:'payment_information' => :'Ptsv1pushfundstransferSenderInformationPaymentInformation',
|
@@ -178,10 +172,6 @@ module CyberSource
|
|
178
172
|
self.country = attributes[:'country']
|
179
173
|
end
|
180
174
|
|
181
|
-
if attributes.has_key?(:'vatRegistrationNumber')
|
182
|
-
self.vat_registration_number = attributes[:'vatRegistrationNumber']
|
183
|
-
end
|
184
|
-
|
185
175
|
if attributes.has_key?(:'dateOfBirth')
|
186
176
|
self.date_of_birth = attributes[:'dateOfBirth']
|
187
177
|
end
|
@@ -211,12 +201,22 @@ module CyberSource
|
|
211
201
|
# @return Array for valid properties with the reasons
|
212
202
|
def list_invalid_properties
|
213
203
|
invalid_properties = Array.new
|
204
|
+
#if !@country.nil? && @country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
205
|
+
#invalid_properties.push('invalid value for "country", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
|
206
|
+
#end
|
207
|
+
|
208
|
+
#if !@date_of_birth.nil? && @date_of_birth !~ Regexp.new(/^(\\s{0,8}|.{8})$/)
|
209
|
+
#invalid_properties.push('invalid value for "date_of_birth", must conform to the pattern /^(\\s{0,8}|.{8})$/.')
|
210
|
+
#end
|
211
|
+
|
214
212
|
invalid_properties
|
215
213
|
end
|
216
214
|
|
217
215
|
# Check to see if the all the properties in the model are valid
|
218
216
|
# @return true if the model is valid
|
219
217
|
def valid?
|
218
|
+
#return false if !@country.nil? && @country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
219
|
+
#return false if !@date_of_birth.nil? && @date_of_birth !~ Regexp.new(/^(\\s{0,8}|.{8})$/)
|
220
220
|
true
|
221
221
|
end
|
222
222
|
|
@@ -277,18 +277,20 @@ module CyberSource
|
|
277
277
|
# Custom attribute writer method with validation
|
278
278
|
# @param [Object] country Value to be assigned
|
279
279
|
def country=(country)
|
280
|
-
|
281
|
-
|
280
|
+
#if !country.nil? && country !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
281
|
+
#fail ArgumentError, 'invalid value for "country", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
|
282
|
+
#end
|
282
283
|
|
283
|
-
|
284
|
-
# @param [Object] vat_registration_number Value to be assigned
|
285
|
-
def vat_registration_number=(vat_registration_number)
|
286
|
-
@vat_registration_number = vat_registration_number
|
284
|
+
@country = country
|
287
285
|
end
|
288
286
|
|
289
287
|
# Custom attribute writer method with validation
|
290
288
|
# @param [Object] date_of_birth Value to be assigned
|
291
289
|
def date_of_birth=(date_of_birth)
|
290
|
+
#if !date_of_birth.nil? && date_of_birth !~ Regexp.new(/^(\\s{0,8}|.{8})$/)
|
291
|
+
#fail ArgumentError, 'invalid value for "date_of_birth", must conform to the pattern /^(\\s{0,8}|.{8})$/.'
|
292
|
+
#end
|
293
|
+
|
292
294
|
@date_of_birth = date_of_birth
|
293
295
|
end
|
294
296
|
|
@@ -319,7 +321,6 @@ module CyberSource
|
|
319
321
|
locality == o.locality &&
|
320
322
|
administrative_area == o.administrative_area &&
|
321
323
|
country == o.country &&
|
322
|
-
vat_registration_number == o.vat_registration_number &&
|
323
324
|
date_of_birth == o.date_of_birth &&
|
324
325
|
phone_number == o.phone_number &&
|
325
326
|
payment_information == o.payment_information &&
|
@@ -337,7 +338,7 @@ module CyberSource
|
|
337
338
|
# Calculates hash code according to all attributes.
|
338
339
|
# @return [Fixnum] Hash code
|
339
340
|
def hash
|
340
|
-
[name, first_name, last_name, middle_name, postal_code, address1, address2, locality, administrative_area, country,
|
341
|
+
[name, first_name, last_name, middle_name, postal_code, address1, address2, locality, administrative_area, country, date_of_birth, phone_number, payment_information, reference_number, account, personal_identification].hash
|
341
342
|
end
|
342
343
|
|
343
344
|
# Builds the object from hash
|
data/lib/cybersource_rest_client/models/ptsv1pushfundstransfer_sender_information_account.rb
CHANGED
@@ -16,7 +16,7 @@ module CyberSource
|
|
16
16
|
# Source of funds. Possible values: Chase Paymentech, FDC Compass, Visa Platform Connect: - `01`: Credit card - `02`: Debit card - `03`: Prepaid card Chase Paymentech, Visa Platform Connect: - `04`: Cash - `05`: Debit or deposit account that is not linked to a Visa card. Includes checking accounts, savings accounts, and proprietary debit or ATM cards. - `06`: Credit account that is not linked to a Visa card. Includes credit cards and proprietary lines of credit. FDC Compass: - `04`: Deposit Account Funds Disbursement This value is most likely 05 to identify that the originator used a deposit account to fund the disbursement. Credit Card Bill Payment This value must be 02, 03, 04, or 05.
|
17
17
|
attr_accessor :funds_source
|
18
18
|
|
19
|
-
# The account number of the entity funding the transaction. It is the sender's account number. It can be a debit/credit card account number or bank account number. Funds disbursements This field is optional. All other transactions This field is required when the sender funds the transaction with a financial instrument, for example debit card. Length:
|
19
|
+
# The account number of the entity funding the transaction. It is the sender's account number. It can be a debit/credit card account number or bank account number. Funds disbursements This field is optional. All other transactions This field is required when the sender funds the transaction with a financial instrument, for example debit card. Length:
|
20
20
|
attr_accessor :number
|
21
21
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -64,18 +64,27 @@ module CyberSource
|
|
64
64
|
# @return Array for valid properties with the reasons
|
65
65
|
def list_invalid_properties
|
66
66
|
invalid_properties = Array.new
|
67
|
+
#if !@funds_source.nil? && @funds_source !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
68
|
+
#invalid_properties.push('invalid value for "funds_source", must conform to the pattern /^(\\s{0,2}|.{2})$/.')
|
69
|
+
#end
|
70
|
+
|
67
71
|
invalid_properties
|
68
72
|
end
|
69
73
|
|
70
74
|
# Check to see if the all the properties in the model are valid
|
71
75
|
# @return true if the model is valid
|
72
76
|
def valid?
|
77
|
+
#return false if !@funds_source.nil? && @funds_source !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
73
78
|
true
|
74
79
|
end
|
75
80
|
|
76
81
|
# Custom attribute writer method with validation
|
77
82
|
# @param [Object] funds_source Value to be assigned
|
78
83
|
def funds_source=(funds_source)
|
84
|
+
#if !funds_source.nil? && funds_source !~ Regexp.new(/^(\\s{0,2}|.{2})$/)
|
85
|
+
#fail ArgumentError, 'invalid value for "funds_source", must conform to the pattern /^(\\s{0,2}|.{2})$/.'
|
86
|
+
#end
|
87
|
+
|
79
88
|
@funds_source = funds_source
|
80
89
|
end
|
81
90
|
|