first_data_gateway 1.7.1 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +2 -2
- data/docs/AccountVerificationRequest.md +2 -0
- data/docs/AdditionalDetails.md +7 -1
- data/docs/AdditionalTransactionDetails.md +3 -1
- data/docs/ChinaDomestic.md +3 -1
- data/docs/CurrencyConversionResponse.md +19 -0
- data/docs/DecryptedApplePay.md +2 -6
- data/docs/DecryptedGooglePay.md +2 -6
- data/docs/DecryptedSamsungPay.md +2 -6
- data/docs/DisbursementTransactionType.md +1 -2
- data/docs/{ExchangeRateResponseAllOf.md → ExchangeRateDetails.md} +7 -11
- data/docs/ExchangeRateResponse.md +4 -20
- data/docs/FraudOrder.md +3 -1
- data/docs/FraudOrderItems.md +4 -4
- data/docs/FundingTransactionType.md +1 -2
- data/docs/PaymentCardSaleTransaction.md +1 -3
- data/docs/PaymentCardSaleTransactionAllOf.md +1 -3
- data/docs/PaymentTokenizationErrorResponse.md +4 -0
- data/docs/PaymentTokenizationRequest.md +2 -0
- data/docs/PaymentTokenizationResponse.md +5 -1
- data/docs/ProcessorData.md +3 -1
- data/docs/Receipt.md +19 -0
- data/docs/ReceiptRequestInfo.md +21 -0
- data/docs/ScoreOnlyResponse.md +3 -5
- data/docs/ScoreOnlyResponseFraudScore.md +3 -1
- data/docs/Secure3D10AuthenticationRequest.md +1 -2
- data/docs/Secure3D21AuthenticationRequest.md +2 -2
- data/docs/Secure3D21AuthenticationRequestAllOf.md +2 -2
- data/docs/SoftDescriptor.md +5 -1
- data/docs/TeleCheckCBPPaymentMethod.md +1 -2
- data/docs/TransactionErrorResponse.md +2 -0
- data/docs/TransactionResponse.md +3 -1
- data/docs/VoidPreAuthTransactions.md +1 -2
- data/docs/VoidTransaction.md +1 -2
- data/first_data_gateway.gemspec +4 -4
- data/lib/openapi_client.rb +11 -37
- data/lib/openapi_client/api/authentication_api.rb +4 -4
- data/lib/openapi_client/api/currency_conversion_api.rb +4 -4
- data/lib/openapi_client/api/fraud_detect_api.rb +8 -8
- data/lib/openapi_client/api/information_lookup_api.rb +6 -6
- data/lib/openapi_client/api/order_api.rb +6 -6
- data/lib/openapi_client/api/payment_api.rb +7 -7
- data/lib/openapi_client/api/payment_schedules_api.rb +2 -2
- data/lib/openapi_client/api/payment_token_api.rb +2 -2
- data/lib/openapi_client/api/payment_url_api.rb +2 -2
- data/lib/openapi_client/api/verification_api.rb +2 -2
- data/lib/openapi_client/api_client.rb +7 -9
- data/lib/openapi_client/api_error.rb +2 -2
- data/lib/openapi_client/configuration.rb +4 -4
- data/lib/openapi_client/models/access_token_request.rb +3 -9
- data/lib/openapi_client/models/access_token_response.rb +3 -9
- data/lib/openapi_client/models/account_info_lookup_request.rb +3 -9
- data/lib/openapi_client/models/account_updater_response.rb +3 -9
- data/lib/openapi_client/models/account_verification_request.rb +29 -10
- data/lib/openapi_client/models/ach_credit_transaction.rb +4 -10
- data/lib/openapi_client/models/ach_post_auth_transaction.rb +4 -10
- data/lib/openapi_client/models/ach_post_auth_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/ach_pre_auth_transaction.rb +4 -10
- data/lib/openapi_client/models/ach_pre_auth_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/ach_recurring_type.rb +2 -2
- data/lib/openapi_client/models/ach_response.rb +11 -17
- data/lib/openapi_client/models/ach_return_transaction.rb +4 -10
- data/lib/openapi_client/models/ach_sale_transaction.rb +4 -10
- data/lib/openapi_client/models/ach_void_transaction.rb +4 -10
- data/lib/openapi_client/models/acs_response.rb +3 -9
- data/lib/openapi_client/models/additional_amount_rate.rb +3 -9
- data/lib/openapi_client/models/additional_details.rb +88 -13
- data/lib/openapi_client/models/additional_transaction_details.rb +19 -13
- data/lib/openapi_client/models/address.rb +3 -9
- data/lib/openapi_client/models/airline.rb +3 -9
- data/lib/openapi_client/models/airline_ancillary_service_category.rb +3 -9
- data/lib/openapi_client/models/airline_travel_route.rb +3 -9
- data/lib/openapi_client/models/ali_pay.rb +3 -9
- data/lib/openapi_client/models/ali_pay_payment_method.rb +5 -10
- data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/ali_pay_sale_transaction.rb +4 -10
- data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/amount.rb +22 -9
- data/lib/openapi_client/models/amount_components.rb +3 -9
- data/lib/openapi_client/models/authentication_request.rb +3 -9
- data/lib/openapi_client/models/authentication_result.rb +3 -9
- data/lib/openapi_client/models/authentication_update_request.rb +3 -9
- data/lib/openapi_client/models/avs_response.rb +3 -9
- data/lib/openapi_client/models/background.rb +3 -9
- data/lib/openapi_client/models/background_color.rb +3 -9
- data/lib/openapi_client/models/bancontact_qr.rb +3 -9
- data/lib/openapi_client/models/basic_response.rb +3 -9
- data/lib/openapi_client/models/billing.rb +3 -9
- data/lib/openapi_client/models/billing_address.rb +3 -9
- data/lib/openapi_client/models/block_card.rb +3 -9
- data/lib/openapi_client/models/block_domain.rb +3 -9
- data/lib/openapi_client/models/block_ip_address.rb +3 -9
- data/lib/openapi_client/models/block_name.rb +3 -9
- data/lib/openapi_client/models/blocked_card_number.rb +3 -9
- data/lib/openapi_client/models/blocked_items.rb +3 -9
- data/lib/openapi_client/models/body.rb +3 -9
- data/lib/openapi_client/models/borders.rb +3 -9
- data/lib/openapi_client/models/branding_style_configuration_request.rb +3 -9
- data/lib/openapi_client/models/branding_style_configuration_response.rb +4 -11
- data/lib/openapi_client/models/branding_style_configuration_result.rb +3 -9
- data/lib/openapi_client/models/button.rb +3 -9
- data/lib/openapi_client/models/car_rental.rb +3 -9
- data/lib/openapi_client/models/car_rental_extra_charges.rb +3 -9
- data/lib/openapi_client/models/card.rb +3 -9
- data/lib/openapi_client/models/card_function.rb +2 -2
- data/lib/openapi_client/models/card_info.rb +3 -9
- data/lib/openapi_client/models/card_info_lookup_request.rb +3 -9
- data/lib/openapi_client/models/card_info_lookup_response.rb +4 -11
- data/lib/openapi_client/models/card_verification_request.rb +3 -9
- data/lib/openapi_client/models/china_domestic.rb +32 -13
- data/lib/openapi_client/models/china_domestic_payment_method.rb +5 -10
- data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +4 -10
- data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/classic_mode.rb +3 -9
- data/lib/openapi_client/models/clearing_details.rb +3 -9
- data/lib/openapi_client/models/clearing_element.rb +3 -9
- data/lib/openapi_client/models/client_locale.rb +3 -9
- data/lib/openapi_client/models/client_registration.rb +3 -10
- data/lib/openapi_client/models/combined_mode.rb +3 -9
- data/lib/openapi_client/models/connect_mode.rb +2 -2
- data/lib/openapi_client/models/contact.rb +3 -9
- data/lib/openapi_client/models/content.rb +3 -9
- data/lib/openapi_client/models/country_profile.rb +3 -9
- data/lib/openapi_client/models/create_payment_token.rb +3 -9
- data/lib/openapi_client/models/currency_conversion.rb +3 -9
- data/lib/openapi_client/models/{disbursement_transaction_type_all_of.rb → currency_conversion_response.rb} +24 -24
- data/lib/openapi_client/models/customer.rb +3 -9
- data/lib/openapi_client/models/customer_address.rb +3 -10
- data/lib/openapi_client/models/dcc.rb +4 -10
- data/lib/openapi_client/models/dcc_all_of.rb +3 -9
- data/lib/openapi_client/models/dcc_exchange_rate_request.rb +4 -10
- data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +3 -9
- data/lib/openapi_client/models/decrypted_apple_pay.rb +13 -88
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method.rb +4 -10
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/decrypted_google_pay.rb +13 -88
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method.rb +4 -10
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/decrypted_samsung_pay.rb +13 -88
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method.rb +4 -10
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/delete_branding_style_configuration_response.rb +4 -11
- data/lib/openapi_client/models/device.rb +3 -9
- data/lib/openapi_client/models/disbursement.rb +3 -9
- data/lib/openapi_client/models/disbursement_transaction_type.rb +7 -28
- data/lib/openapi_client/models/document.rb +3 -9
- data/lib/openapi_client/models/dynamic_pricing.rb +4 -10
- data/lib/openapi_client/models/dynamic_pricing_all_of.rb +3 -9
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +4 -10
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +3 -9
- data/lib/openapi_client/models/email_notification_data.rb +3 -9
- data/lib/openapi_client/models/encrypted_apple_pay.rb +3 -9
- data/lib/openapi_client/models/encrypted_apple_pay_header.rb +3 -9
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +4 -10
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/encrypted_google_pay.rb +3 -9
- data/lib/openapi_client/models/encrypted_google_pay_data.rb +3 -9
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +4 -10
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/encrypted_samsung_pay.rb +3 -9
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +4 -10
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/endpoint_response.rb +3 -9
- data/lib/openapi_client/models/error.rb +3 -9
- data/lib/openapi_client/models/error_details.rb +3 -9
- data/lib/openapi_client/models/error_message.rb +3 -9
- data/lib/openapi_client/models/error_response.rb +4 -11
- data/lib/openapi_client/models/{exchange_rate_response_all_of.rb → exchange_rate_details.rb} +11 -36
- data/lib/openapi_client/models/exchange_rate_request.rb +3 -9
- data/lib/openapi_client/models/exchange_rate_response.rb +12 -100
- data/lib/openapi_client/models/expiration.rb +5 -11
- data/lib/openapi_client/models/font_face.rb +2 -2
- data/lib/openapi_client/models/font_properties.rb +3 -9
- data/lib/openapi_client/models/font_weight.rb +2 -2
- data/lib/openapi_client/models/footer.rb +3 -9
- data/lib/openapi_client/models/fraud_address.rb +3 -9
- data/lib/openapi_client/models/fraud_order.rb +3 -9
- data/lib/openapi_client/models/fraud_order_items.rb +3 -9
- data/lib/openapi_client/models/fraud_registration.rb +3 -9
- data/lib/openapi_client/models/fraud_registration_card.rb +3 -9
- data/lib/openapi_client/models/fraud_registration_device.rb +3 -9
- data/lib/openapi_client/models/fraud_registration_device_items.rb +3 -9
- data/lib/openapi_client/models/fraud_registration_error.rb +3 -9
- data/lib/openapi_client/models/fraud_registration_response.rb +4 -10
- data/lib/openapi_client/models/fraud_score.rb +3 -9
- data/lib/openapi_client/models/fraud_settings.rb +3 -9
- data/lib/openapi_client/models/fraud_settings_response.rb +4 -11
- data/lib/openapi_client/models/frequency.rb +3 -9
- data/lib/openapi_client/models/funding_transaction_type.rb +7 -28
- data/lib/openapi_client/models/header.rb +3 -9
- data/lib/openapi_client/models/hover.rb +3 -9
- data/lib/openapi_client/models/id_info.rb +3 -9
- data/lib/openapi_client/models/industry_specific_extensions.rb +3 -9
- data/lib/openapi_client/models/initiate_clearing_response.rb +3 -9
- data/lib/openapi_client/models/initiate_clearing_response_all_of.rb +3 -9
- data/lib/openapi_client/models/installment_options.rb +3 -9
- data/lib/openapi_client/models/issuer_response.rb +3 -9
- data/lib/openapi_client/models/items.rb +3 -9
- data/lib/openapi_client/models/location.rb +3 -9
- data/lib/openapi_client/models/lockout_time.rb +3 -9
- data/lib/openapi_client/models/lodging.rb +3 -9
- data/lib/openapi_client/models/lodging_extra_charges.rb +3 -9
- data/lib/openapi_client/models/logo.rb +3 -9
- data/lib/openapi_client/models/loyalty.rb +3 -9
- data/lib/openapi_client/models/masterpass_wallet_payment_method.rb +4 -10
- data/lib/openapi_client/models/masterpass_wallet_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/maximum_purchase_amount.rb +3 -9
- data/lib/openapi_client/models/mcc6012.rb +3 -9
- data/lib/openapi_client/models/merchant.rb +3 -9
- data/lib/openapi_client/models/method.rb +3 -9
- data/lib/openapi_client/models/mobile.rb +3 -9
- data/lib/openapi_client/models/mobile_header_area.rb +3 -9
- data/lib/openapi_client/models/order.rb +3 -9
- data/lib/openapi_client/models/order_error_response.rb +3 -10
- data/lib/openapi_client/models/order_response.rb +4 -11
- data/lib/openapi_client/models/pay_pal.rb +3 -9
- data/lib/openapi_client/models/pay_pal_payment_method.rb +5 -10
- data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/payment.rb +3 -9
- data/lib/openapi_client/models/payment_card.rb +10 -16
- data/lib/openapi_client/models/payment_card_credit_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_card_info_lookup_request.rb +4 -10
- data/lib/openapi_client/models/payment_card_info_lookup_request_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_card_payment_method.rb +5 -10
- data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_card_payment_token_update_request.rb +3 -9
- data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +4 -10
- data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +5 -10
- data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_card_sale_transaction.rb +7 -25
- data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +4 -24
- data/lib/openapi_client/models/payment_card_verification_request.rb +4 -10
- data/lib/openapi_client/models/payment_card_verification_request_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_device.rb +3 -9
- data/lib/openapi_client/models/payment_device_credit_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_device_payment_method.rb +5 -10
- data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +4 -10
- data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_device_sale_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_facilitator.rb +3 -9
- data/lib/openapi_client/models/payment_method_details.rb +3 -9
- data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +4 -10
- data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_method_type.rb +2 -2
- data/lib/openapi_client/models/payment_registration.rb +4 -11
- data/lib/openapi_client/models/payment_schedules_error_response.rb +3 -10
- data/lib/openapi_client/models/payment_schedules_request.rb +3 -9
- data/lib/openapi_client/models/payment_schedules_response.rb +4 -11
- data/lib/openapi_client/models/payment_token_credit_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_token_details.rb +3 -9
- data/lib/openapi_client/models/payment_token_details_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_token_info_lookup_request.rb +4 -10
- data/lib/openapi_client/models/payment_token_info_lookup_request_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_token_payment_method.rb +4 -9
- data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_token_sale_transaction.rb +4 -10
- data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_token_update_response.rb +4 -11
- data/lib/openapi_client/models/payment_token_verification_request.rb +4 -10
- data/lib/openapi_client/models/payment_token_verification_request_all_of.rb +3 -9
- data/lib/openapi_client/models/payment_tokenization_error_response.rb +54 -11
- data/lib/openapi_client/models/payment_tokenization_request.rb +29 -10
- data/lib/openapi_client/models/payment_tokenization_response.rb +58 -15
- data/lib/openapi_client/models/payment_url_detail.rb +3 -9
- data/lib/openapi_client/models/payment_url_detail_response.rb +4 -11
- data/lib/openapi_client/models/payment_url_error_response.rb +3 -10
- data/lib/openapi_client/models/payment_url_request.rb +3 -9
- data/lib/openapi_client/models/payment_url_response.rb +4 -11
- data/lib/openapi_client/models/payment_url_status.rb +2 -2
- data/lib/openapi_client/models/paypal_credit_transaction.rb +4 -10
- data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/phone.rb +3 -9
- data/lib/openapi_client/models/post_auth_transaction.rb +4 -10
- data/lib/openapi_client/models/post_auth_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/primary.rb +3 -9
- data/lib/openapi_client/models/primary_transaction.rb +3 -9
- data/lib/openapi_client/models/processor_data.rb +17 -13
- data/lib/openapi_client/models/properties.rb +3 -9
- data/lib/openapi_client/models/purchase_cards.rb +3 -9
- data/lib/openapi_client/models/purchase_cards_level2.rb +3 -9
- data/lib/openapi_client/models/purchase_cards_level3.rb +3 -9
- data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +3 -9
- data/lib/openapi_client/models/{card_info_lookup_response_all_of.rb → receipt.rb} +42 -37
- data/lib/openapi_client/models/{payment_token_update_response_all_of.rb → receipt_request_info.rb} +44 -43
- data/lib/openapi_client/models/receiver_info.rb +3 -9
- data/lib/openapi_client/models/recurring_payment_details.rb +3 -9
- data/lib/openapi_client/models/recurring_payment_details_response.rb +4 -11
- data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +4 -10
- data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +3 -9
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +4 -10
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +3 -9
- data/lib/openapi_client/models/registration_method.rb +3 -9
- data/lib/openapi_client/models/remove_fraud_blocked_items_response.rb +4 -11
- data/lib/openapi_client/models/response_amount_components.rb +3 -9
- data/lib/openapi_client/models/response_amount_components_all_of.rb +3 -9
- data/lib/openapi_client/models/response_type.rb +2 -2
- data/lib/openapi_client/models/return_transaction.rb +4 -10
- data/lib/openapi_client/models/return_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/score_only_request.rb +3 -9
- data/lib/openapi_client/models/score_only_response.rb +3 -9
- data/lib/openapi_client/models/score_only_response_fraud_score.rb +3 -9
- data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +3 -9
- data/lib/openapi_client/models/secondary_transaction.rb +3 -9
- data/lib/openapi_client/models/secure3_d10_authentication_request.rb +7 -28
- data/lib/openapi_client/models/secure3_d10_authentication_result.rb +4 -10
- data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +3 -9
- data/lib/openapi_client/models/secure3_d10_authentication_update_request.rb +4 -10
- data/lib/openapi_client/models/secure3_d10_authentication_update_request_all_of.rb +3 -9
- data/lib/openapi_client/models/secure3_d21_authentication_request.rb +6 -12
- data/lib/openapi_client/models/secure3_d21_authentication_request_all_of.rb +5 -11
- data/lib/openapi_client/models/secure3_d21_authentication_result.rb +4 -10
- data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +3 -9
- data/lib/openapi_client/models/secure3_d21_authentication_update_request.rb +4 -10
- data/lib/openapi_client/models/secure3_d21_authentication_update_request_all_of.rb +3 -9
- data/lib/openapi_client/models/secure3_d_authentication_response.rb +3 -9
- data/lib/openapi_client/models/secure3_d_authentication_response_params.rb +3 -9
- data/lib/openapi_client/models/secure3_d_authentication_response_secure3d_method.rb +3 -9
- data/lib/openapi_client/models/secure3d_response.rb +3 -9
- data/lib/openapi_client/models/sender_info.rb +3 -9
- data/lib/openapi_client/models/sepa.rb +3 -9
- data/lib/openapi_client/models/sepa_mandate.rb +21 -27
- data/lib/openapi_client/models/sepa_payment_method.rb +4 -9
- data/lib/openapi_client/models/sepa_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/sepa_sale_transaction.rb +4 -10
- data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/shared_secret_configuration_request.rb +3 -9
- data/lib/openapi_client/models/shared_secret_configuration_response.rb +4 -11
- data/lib/openapi_client/models/ship_to_address.rb +3 -9
- data/lib/openapi_client/models/shipping.rb +3 -9
- data/lib/openapi_client/models/soft_descriptor.rb +52 -13
- data/lib/openapi_client/models/split_shipment.rb +3 -9
- data/lib/openapi_client/models/store_branding_style_configuration.rb +3 -9
- data/lib/openapi_client/models/store_email_settings.rb +3 -9
- data/lib/openapi_client/models/store_email_settings_result.rb +3 -9
- data/lib/openapi_client/models/store_fraud_settings.rb +3 -9
- data/lib/openapi_client/models/store_fraud_settings_result.rb +3 -9
- data/lib/openapi_client/models/store_url_configuration.rb +3 -9
- data/lib/openapi_client/models/store_url_configuration_request.rb +3 -9
- data/lib/openapi_client/models/store_url_configuration_response.rb +4 -11
- data/lib/openapi_client/models/store_url_configuration_result.rb +3 -9
- data/lib/openapi_client/models/stored_credential.rb +3 -9
- data/lib/openapi_client/models/sub_merchant_data.rb +3 -9
- data/lib/openapi_client/models/sub_merchant_split.rb +3 -9
- data/lib/openapi_client/models/tele_check_ach_payment_method.rb +3 -9
- data/lib/openapi_client/models/tele_check_ach_payment_method_ach_bill_to.rb +3 -9
- data/lib/openapi_client/models/tele_check_cbp_payment_method.rb +7 -28
- data/lib/openapi_client/models/tele_check_ica_payment_method.rb +4 -10
- data/lib/openapi_client/models/tele_check_ica_payment_method_all_of.rb +3 -9
- data/lib/openapi_client/models/text.rb +3 -9
- data/lib/openapi_client/models/title.rb +3 -9
- data/lib/openapi_client/models/token_identifier.rb +3 -9
- data/lib/openapi_client/models/top_bar.rb +3 -9
- data/lib/openapi_client/models/transaction_error_response.rb +13 -11
- data/lib/openapi_client/models/transaction_origin.rb +2 -2
- data/lib/openapi_client/models/transaction_response.rb +17 -15
- data/lib/openapi_client/models/transaction_type.rb +2 -2
- data/lib/openapi_client/models/union_pay_authentication_request.rb +4 -10
- data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +3 -9
- data/lib/openapi_client/models/union_pay_authentication_update_request.rb +4 -10
- data/lib/openapi_client/models/union_pay_authentication_update_request_all_of.rb +3 -9
- data/lib/openapi_client/models/update_email_settings_request.rb +3 -9
- data/lib/openapi_client/models/update_email_settings_response.rb +4 -11
- data/lib/openapi_client/models/update_fraud_settings_request.rb +3 -9
- data/lib/openapi_client/models/update_fraud_settings_response.rb +4 -11
- data/lib/openapi_client/models/update_payment_token.rb +3 -9
- data/lib/openapi_client/models/use_payment_token.rb +3 -9
- data/lib/openapi_client/models/verification3ds.rb +3 -9
- data/lib/openapi_client/models/verification_avs.rb +3 -9
- data/lib/openapi_client/models/verification_cvv.rb +3 -9
- data/lib/openapi_client/models/void_pre_auth_transactions.rb +7 -28
- data/lib/openapi_client/models/void_transaction.rb +7 -28
- data/lib/openapi_client/models/wallet_payment_method.rb +3 -9
- data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +4 -10
- data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +3 -9
- data/lib/openapi_client/models/wallet_sale_transaction.rb +4 -10
- data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +3 -9
- data/lib/openapi_client/version.rb +3 -3
- data/lib/simple/gateway.rb +5 -4
- metadata +16 -65
- data/docs/BrandingStyleConfigurationResponseAllOf.md +0 -17
- data/docs/CardInfoLookupApi.md +0 -70
- data/docs/CardInfoLookupResponseAllOf.md +0 -19
- data/docs/CardVerificationApi.md +0 -70
- data/docs/ClientRegistrationAllOf.md +0 -17
- data/docs/CustomerAddressAllOf.md +0 -17
- data/docs/DeleteBrandingStyleConfigurationResponseAllOf.md +0 -19
- data/docs/DisbursementTransactionTypeAllOf.md +0 -17
- data/docs/ErrorResponseAllOf.md +0 -17
- data/docs/FraudSettingsResponseAllOf.md +0 -31
- data/docs/FundingTransactionTypeAllOf.md +0 -17
- data/docs/OrderResponseAllOf.md +0 -25
- data/docs/PaymentRegistrationAllOf.md +0 -27
- data/docs/PaymentSchedulesResponseAllOf.md +0 -21
- data/docs/PaymentTokenUpdateResponseAllOf.md +0 -21
- data/docs/PaymentTokenizationResponseAllOf.md +0 -31
- data/docs/PaymentUrlDetailResponseAllOf.md +0 -17
- data/docs/PaymentUrlResponseAllOf.md +0 -23
- data/docs/RecurringPaymentDetailsResponseAllOf.md +0 -17
- data/docs/RemoveFraudBlockedItemsResponseAllOf.md +0 -17
- data/docs/Secure3D10AuthenticationRequestAllOf.md +0 -17
- data/docs/SharedSecretConfigurationResponseAllOf.md +0 -23
- data/docs/StoreUrlConfigurationResponseAllOf.md +0 -17
- data/docs/TeleCheckCBPPaymentMethodAllOf.md +0 -17
- data/docs/TransactionResponseAllOf.md +0 -59
- data/docs/UpdateEmailSettingsResponseAllOf.md +0 -17
- data/docs/UpdateFraudSettingsResponseAllOf.md +0 -17
- data/docs/VoidTransactionAllOf.md +0 -17
- data/first_data_gateway-1.7.0.gem +0 -0
- data/lib/openapi_client/api/card_info_lookup_api.rb +0 -125
- data/lib/openapi_client/api/card_verification_api.rb +0 -125
- data/lib/openapi_client/models/branding_style_configuration_response_all_of.rb +0 -213
- data/lib/openapi_client/models/client_registration_all_of.rb +0 -212
- data/lib/openapi_client/models/customer_address_all_of.rb +0 -211
- data/lib/openapi_client/models/delete_branding_style_configuration_response_all_of.rb +0 -222
- data/lib/openapi_client/models/error_response_all_of.rb +0 -211
- data/lib/openapi_client/models/fraud_settings_response_all_of.rb +0 -291
- data/lib/openapi_client/models/funding_transaction_type_all_of.rb +0 -216
- data/lib/openapi_client/models/order_response_all_of.rb +0 -251
- data/lib/openapi_client/models/payment_registration_all_of.rb +0 -257
- data/lib/openapi_client/models/payment_schedules_response_all_of.rb +0 -265
- data/lib/openapi_client/models/payment_tokenization_response_all_of.rb +0 -313
- data/lib/openapi_client/models/payment_url_detail_response_all_of.rb +0 -214
- data/lib/openapi_client/models/payment_url_response_all_of.rb +0 -276
- data/lib/openapi_client/models/recurring_payment_details_response_all_of.rb +0 -211
- data/lib/openapi_client/models/remove_fraud_blocked_items_response_all_of.rb +0 -212
- data/lib/openapi_client/models/secure3_d10_authentication_request_all_of.rb +0 -216
- data/lib/openapi_client/models/shared_secret_configuration_response_all_of.rb +0 -242
- data/lib/openapi_client/models/store_url_configuration_response_all_of.rb +0 -213
- data/lib/openapi_client/models/tele_check_cbp_payment_method_all_of.rb +0 -216
- data/lib/openapi_client/models/transaction_response_all_of.rb +0 -502
- data/lib/openapi_client/models/update_email_settings_response_all_of.rb +0 -213
- data/lib/openapi_client/models/update_fraud_settings_response_all_of.rb +0 -213
- data/lib/openapi_client/models/void_transaction_all_of.rb +0 -216
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.
|
6
|
+
The version of the OpenAPI document: 6.13.0.20200810.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -42,12 +42,6 @@ module OpenapiClient
|
|
42
42
|
}
|
43
43
|
end
|
44
44
|
|
45
|
-
# List of attributes with nullable: true
|
46
|
-
def self.openapi_nullable
|
47
|
-
Set.new([
|
48
|
-
])
|
49
|
-
end
|
50
|
-
|
51
45
|
# Initializes the object
|
52
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
53
47
|
def initialize(attributes = {})
|
@@ -202,7 +196,7 @@ module OpenapiClient
|
|
202
196
|
|
203
197
|
# Returns the object in the form of hash
|
204
198
|
# @return [Hash] Returns the object in the form of hash
|
205
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
199
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
206
200
|
hash = {}
|
207
201
|
attribute_map.each_pair do |attr, param|
|
208
202
|
value = self.send(attr)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.
|
6
|
+
The version of the OpenAPI document: 6.13.0.20200810.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -37,12 +37,6 @@ module OpenapiClient
|
|
37
37
|
}
|
38
38
|
end
|
39
39
|
|
40
|
-
# List of attributes with nullable: true
|
41
|
-
def self.openapi_nullable
|
42
|
-
Set.new([
|
43
|
-
])
|
44
|
-
end
|
45
|
-
|
46
40
|
# discriminator's property name in OpenAPI v3
|
47
41
|
def self.openapi_discriminator_name
|
48
42
|
:'conversion_type'
|
@@ -224,7 +218,7 @@ module OpenapiClient
|
|
224
218
|
|
225
219
|
# Returns the object in the form of hash
|
226
220
|
# @return [Hash] Returns the object in the form of hash
|
227
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
221
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
228
222
|
hash = {}
|
229
223
|
attribute_map.each_pair do |attr, param|
|
230
224
|
value = self.send(attr)
|
@@ -3,56 +3,60 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.
|
6
|
+
The version of the OpenAPI document: 6.13.0.20200810.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OpenapiClient
|
16
|
-
|
17
|
-
|
16
|
+
# Currency Conversion Response.
|
17
|
+
class CurrencyConversionResponse
|
18
|
+
# Dynamic Currency Conversion Applied.
|
19
|
+
attr_accessor :dcc_applied
|
20
|
+
|
21
|
+
attr_accessor :exchange_rate_details
|
18
22
|
|
19
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
24
|
def self.attribute_map
|
21
25
|
{
|
22
|
-
:'
|
26
|
+
:'dcc_applied' => :'dccApplied',
|
27
|
+
:'exchange_rate_details' => :'exchangeRateDetails'
|
23
28
|
}
|
24
29
|
end
|
25
30
|
|
26
31
|
# Attribute type mapping.
|
27
32
|
def self.openapi_types
|
28
33
|
{
|
29
|
-
:'
|
34
|
+
:'dcc_applied' => :'Boolean',
|
35
|
+
:'exchange_rate_details' => :'ExchangeRateDetails'
|
30
36
|
}
|
31
37
|
end
|
32
38
|
|
33
|
-
# List of attributes with nullable: true
|
34
|
-
def self.openapi_nullable
|
35
|
-
Set.new([
|
36
|
-
])
|
37
|
-
end
|
38
|
-
|
39
39
|
# Initializes the object
|
40
40
|
# @param [Hash] attributes Model attributes in the form of hash
|
41
41
|
def initialize(attributes = {})
|
42
42
|
if (!attributes.is_a?(Hash))
|
43
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::
|
43
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::CurrencyConversionResponse` initialize method"
|
44
44
|
end
|
45
45
|
|
46
46
|
# check to see if the attribute exists and convert string to symbol for hash key
|
47
47
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
48
48
|
if (!self.class.attribute_map.key?(k.to_sym))
|
49
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::
|
49
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::CurrencyConversionResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
50
50
|
end
|
51
51
|
h[k.to_sym] = v
|
52
52
|
}
|
53
53
|
|
54
|
-
if attributes.key?(:'
|
55
|
-
self.
|
54
|
+
if attributes.key?(:'dcc_applied')
|
55
|
+
self.dcc_applied = attributes[:'dcc_applied']
|
56
|
+
end
|
57
|
+
|
58
|
+
if attributes.key?(:'exchange_rate_details')
|
59
|
+
self.exchange_rate_details = attributes[:'exchange_rate_details']
|
56
60
|
end
|
57
61
|
end
|
58
62
|
|
@@ -60,17 +64,12 @@ module OpenapiClient
|
|
60
64
|
# @return Array for valid properties with the reasons
|
61
65
|
def list_invalid_properties
|
62
66
|
invalid_properties = Array.new
|
63
|
-
if @disbursement_type.nil?
|
64
|
-
invalid_properties.push('invalid value for "disbursement_type", disbursement_type cannot be nil.')
|
65
|
-
end
|
66
|
-
|
67
67
|
invalid_properties
|
68
68
|
end
|
69
69
|
|
70
70
|
# Check to see if the all the properties in the model are valid
|
71
71
|
# @return true if the model is valid
|
72
72
|
def valid?
|
73
|
-
return false if @disbursement_type.nil?
|
74
73
|
true
|
75
74
|
end
|
76
75
|
|
@@ -79,7 +78,8 @@ module OpenapiClient
|
|
79
78
|
def ==(o)
|
80
79
|
return true if self.equal?(o)
|
81
80
|
self.class == o.class &&
|
82
|
-
|
81
|
+
dcc_applied == o.dcc_applied &&
|
82
|
+
exchange_rate_details == o.exchange_rate_details
|
83
83
|
end
|
84
84
|
|
85
85
|
# @see the `==` method
|
@@ -91,7 +91,7 @@ module OpenapiClient
|
|
91
91
|
# Calculates hash code according to all attributes.
|
92
92
|
# @return [Integer] Hash code
|
93
93
|
def hash
|
94
|
-
[
|
94
|
+
[dcc_applied, exchange_rate_details].hash
|
95
95
|
end
|
96
96
|
|
97
97
|
# Builds the object from hash
|
@@ -181,7 +181,7 @@ module OpenapiClient
|
|
181
181
|
|
182
182
|
# Returns the object in the form of hash
|
183
183
|
# @return [Hash] Returns the object in the form of hash
|
184
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
184
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
185
185
|
hash = {}
|
186
186
|
attribute_map.each_pair do |attr, param|
|
187
187
|
value = self.send(attr)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.
|
6
|
+
The version of the OpenAPI document: 6.13.0.20200810.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -108,12 +108,6 @@ module OpenapiClient
|
|
108
108
|
}
|
109
109
|
end
|
110
110
|
|
111
|
-
# List of attributes with nullable: true
|
112
|
-
def self.openapi_nullable
|
113
|
-
Set.new([
|
114
|
-
])
|
115
|
-
end
|
116
|
-
|
117
111
|
# Initializes the object
|
118
112
|
# @param [Hash] attributes Model attributes in the form of hash
|
119
113
|
def initialize(attributes = {})
|
@@ -347,7 +341,7 @@ module OpenapiClient
|
|
347
341
|
|
348
342
|
# Returns the object in the form of hash
|
349
343
|
# @return [Hash] Returns the object in the form of hash
|
350
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
344
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
351
345
|
hash = {}
|
352
346
|
attribute_map.each_pair do |attr, param|
|
353
347
|
value = self.send(attr)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.
|
6
|
+
The version of the OpenAPI document: 6.13.0.20200810.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -61,16 +61,9 @@ module OpenapiClient
|
|
61
61
|
}
|
62
62
|
end
|
63
63
|
|
64
|
-
# List of attributes with nullable: true
|
65
|
-
def self.openapi_nullable
|
66
|
-
Set.new([
|
67
|
-
])
|
68
|
-
end
|
69
|
-
|
70
64
|
# List of class defined in allOf (OpenAPI v3)
|
71
65
|
def self.openapi_all_of
|
72
66
|
[
|
73
|
-
:'CustomerAddressAllOf',
|
74
67
|
:'FraudAddress'
|
75
68
|
]
|
76
69
|
end
|
@@ -323,7 +316,7 @@ module OpenapiClient
|
|
323
316
|
|
324
317
|
# Returns the object in the form of hash
|
325
318
|
# @return [Hash] Returns the object in the form of hash
|
326
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
319
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
327
320
|
hash = {}
|
328
321
|
attribute_map.each_pair do |attr, param|
|
329
322
|
value = self.send(attr)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.
|
6
|
+
The version of the OpenAPI document: 6.13.0.20200810.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,12 +32,6 @@ module OpenapiClient
|
|
32
32
|
}
|
33
33
|
end
|
34
34
|
|
35
|
-
# List of attributes with nullable: true
|
36
|
-
def self.openapi_nullable
|
37
|
-
Set.new([
|
38
|
-
])
|
39
|
-
end
|
40
|
-
|
41
35
|
# List of class defined in allOf (OpenAPI v3)
|
42
36
|
def self.openapi_all_of
|
43
37
|
[
|
@@ -195,8 +189,8 @@ module OpenapiClient
|
|
195
189
|
|
196
190
|
# Returns the object in the form of hash
|
197
191
|
# @return [Hash] Returns the object in the form of hash
|
198
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
199
|
-
hash = super(self.class.superclass.attribute_map,
|
192
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
193
|
+
hash = super(self.class.superclass.attribute_map, openapi_nullable)
|
200
194
|
attribute_map.each_pair do |attr, param|
|
201
195
|
value = self.send(attr)
|
202
196
|
if value.nil?
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.
|
6
|
+
The version of the OpenAPI document: 6.13.0.20200810.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -31,12 +31,6 @@ module OpenapiClient
|
|
31
31
|
}
|
32
32
|
end
|
33
33
|
|
34
|
-
# List of attributes with nullable: true
|
35
|
-
def self.openapi_nullable
|
36
|
-
Set.new([
|
37
|
-
])
|
38
|
-
end
|
39
|
-
|
40
34
|
# Initializes the object
|
41
35
|
# @param [Hash] attributes Model attributes in the form of hash
|
42
36
|
def initialize(attributes = {})
|
@@ -182,7 +176,7 @@ module OpenapiClient
|
|
182
176
|
|
183
177
|
# Returns the object in the form of hash
|
184
178
|
# @return [Hash] Returns the object in the form of hash
|
185
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
179
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
186
180
|
hash = {}
|
187
181
|
attribute_map.each_pair do |attr, param|
|
188
182
|
value = self.send(attr)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.
|
6
|
+
The version of the OpenAPI document: 6.13.0.20200810.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,12 +32,6 @@ module OpenapiClient
|
|
32
32
|
}
|
33
33
|
end
|
34
34
|
|
35
|
-
# List of attributes with nullable: true
|
36
|
-
def self.openapi_nullable
|
37
|
-
Set.new([
|
38
|
-
])
|
39
|
-
end
|
40
|
-
|
41
35
|
# List of class defined in allOf (OpenAPI v3)
|
42
36
|
def self.openapi_all_of
|
43
37
|
[
|
@@ -225,8 +219,8 @@ module OpenapiClient
|
|
225
219
|
|
226
220
|
# Returns the object in the form of hash
|
227
221
|
# @return [Hash] Returns the object in the form of hash
|
228
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
229
|
-
hash = super(self.class.superclass.attribute_map,
|
222
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
223
|
+
hash = super(self.class.superclass.attribute_map, openapi_nullable)
|
230
224
|
attribute_map.each_pair do |attr, param|
|
231
225
|
value = self.send(attr)
|
232
226
|
if value.nil?
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.
|
6
|
+
The version of the OpenAPI document: 6.13.0.20200810.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -31,12 +31,6 @@ module OpenapiClient
|
|
31
31
|
}
|
32
32
|
end
|
33
33
|
|
34
|
-
# List of attributes with nullable: true
|
35
|
-
def self.openapi_nullable
|
36
|
-
Set.new([
|
37
|
-
])
|
38
|
-
end
|
39
|
-
|
40
34
|
# Initializes the object
|
41
35
|
# @param [Hash] attributes Model attributes in the form of hash
|
42
36
|
def initialize(attributes = {})
|
@@ -212,7 +206,7 @@ module OpenapiClient
|
|
212
206
|
|
213
207
|
# Returns the object in the form of hash
|
214
208
|
# @return [Hash] Returns the object in the form of hash
|
215
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
209
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
216
210
|
hash = {}
|
217
211
|
attribute_map.each_pair do |attr, param|
|
218
212
|
value = self.send(attr)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.
|
6
|
+
The version of the OpenAPI document: 6.13.0.20200810.001
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 4.1.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -21,12 +21,6 @@ module OpenapiClient
|
|
21
21
|
# Card expiration date in MMYYYY format.
|
22
22
|
attr_accessor :expiration
|
23
23
|
|
24
|
-
# Numeric currency code following ISO 4217 standards.
|
25
|
-
attr_accessor :currency_code
|
26
|
-
|
27
|
-
# Amount total.
|
28
|
-
attr_accessor :amount
|
29
|
-
|
30
24
|
# Name of the cardholder.
|
31
25
|
attr_accessor :cardholder_name
|
32
26
|
|
@@ -44,8 +38,6 @@ module OpenapiClient
|
|
44
38
|
{
|
45
39
|
:'account_number' => :'accountNumber',
|
46
40
|
:'expiration' => :'expiration',
|
47
|
-
:'currency_code' => :'currencyCode',
|
48
|
-
:'amount' => :'amount',
|
49
41
|
:'cardholder_name' => :'cardholderName',
|
50
42
|
:'brand' => :'brand',
|
51
43
|
:'cryptogram' => :'cryptogram',
|
@@ -58,8 +50,6 @@ module OpenapiClient
|
|
58
50
|
{
|
59
51
|
:'account_number' => :'String',
|
60
52
|
:'expiration' => :'String',
|
61
|
-
:'currency_code' => :'String',
|
62
|
-
:'amount' => :'Float',
|
63
53
|
:'cardholder_name' => :'String',
|
64
54
|
:'brand' => :'String',
|
65
55
|
:'cryptogram' => :'String',
|
@@ -67,12 +57,6 @@ module OpenapiClient
|
|
67
57
|
}
|
68
58
|
end
|
69
59
|
|
70
|
-
# List of attributes with nullable: true
|
71
|
-
def self.openapi_nullable
|
72
|
-
Set.new([
|
73
|
-
])
|
74
|
-
end
|
75
|
-
|
76
60
|
# Initializes the object
|
77
61
|
# @param [Hash] attributes Model attributes in the form of hash
|
78
62
|
def initialize(attributes = {})
|
@@ -96,14 +80,6 @@ module OpenapiClient
|
|
96
80
|
self.expiration = attributes[:'expiration']
|
97
81
|
end
|
98
82
|
|
99
|
-
if attributes.key?(:'currency_code')
|
100
|
-
self.currency_code = attributes[:'currency_code']
|
101
|
-
end
|
102
|
-
|
103
|
-
if attributes.key?(:'amount')
|
104
|
-
self.amount = attributes[:'amount']
|
105
|
-
end
|
106
|
-
|
107
83
|
if attributes.key?(:'cardholder_name')
|
108
84
|
self.cardholder_name = attributes[:'cardholder_name']
|
109
85
|
end
|
@@ -143,38 +119,17 @@ module OpenapiClient
|
|
143
119
|
invalid_properties.push("invalid value for \"expiration\", must conform to the pattern #{pattern}.")
|
144
120
|
end
|
145
121
|
|
146
|
-
if
|
147
|
-
invalid_properties.push('invalid value for "currency_code", currency_code cannot be nil.')
|
148
|
-
end
|
149
|
-
|
150
|
-
pattern = Regexp.new(/[0-9]{3}/)
|
151
|
-
if @currency_code !~ pattern
|
152
|
-
invalid_properties.push("invalid value for \"currency_code\", must conform to the pattern #{pattern}.")
|
153
|
-
end
|
154
|
-
|
155
|
-
if @amount.nil?
|
156
|
-
invalid_properties.push('invalid value for "amount", amount cannot be nil.')
|
157
|
-
end
|
158
|
-
|
159
|
-
if @cardholder_name.nil?
|
160
|
-
invalid_properties.push('invalid value for "cardholder_name", cardholder_name cannot be nil.')
|
161
|
-
end
|
162
|
-
|
163
|
-
if @cardholder_name.to_s.length > 96
|
122
|
+
if !@cardholder_name.nil? && @cardholder_name.to_s.length > 96
|
164
123
|
invalid_properties.push('invalid value for "cardholder_name", the character length must be smaller than or equal to 96.')
|
165
124
|
end
|
166
125
|
|
167
126
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
168
|
-
if @cardholder_name !~ pattern
|
127
|
+
if !@cardholder_name.nil? && @cardholder_name !~ pattern
|
169
128
|
invalid_properties.push("invalid value for \"cardholder_name\", must conform to the pattern #{pattern}.")
|
170
129
|
end
|
171
130
|
|
172
|
-
if @brand.nil?
|
173
|
-
invalid_properties.push('invalid value for "brand", brand cannot be nil.')
|
174
|
-
end
|
175
|
-
|
176
131
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
177
|
-
if @brand !~ pattern
|
132
|
+
if !@brand.nil? && @brand !~ pattern
|
178
133
|
invalid_properties.push("invalid value for \"brand\", must conform to the pattern #{pattern}.")
|
179
134
|
end
|
180
135
|
|
@@ -206,14 +161,9 @@ module OpenapiClient
|
|
206
161
|
return false if @account_number !~ Regexp.new(/[0-9]{13,19}/)
|
207
162
|
return false if @expiration.nil?
|
208
163
|
return false if @expiration !~ Regexp.new(/[0-9]{6}/)
|
209
|
-
return false if
|
210
|
-
return false if @
|
211
|
-
return false if
|
212
|
-
return false if @cardholder_name.nil?
|
213
|
-
return false if @cardholder_name.to_s.length > 96
|
214
|
-
return false if @cardholder_name !~ Regexp.new(/^(?!\s*$).+/)
|
215
|
-
return false if @brand.nil?
|
216
|
-
return false if @brand !~ Regexp.new(/^(?!\s*$).+/)
|
164
|
+
return false if !@cardholder_name.nil? && @cardholder_name.to_s.length > 96
|
165
|
+
return false if !@cardholder_name.nil? && @cardholder_name !~ Regexp.new(/^(?!\s*$).+/)
|
166
|
+
return false if !@brand.nil? && @brand !~ Regexp.new(/^(?!\s*$).+/)
|
217
167
|
return false if @cryptogram.nil?
|
218
168
|
return false if @cryptogram !~ Regexp.new(/^(?!\s*$).+/)
|
219
169
|
return false if @eci_indicator.nil?
|
@@ -251,34 +201,15 @@ module OpenapiClient
|
|
251
201
|
@expiration = expiration
|
252
202
|
end
|
253
203
|
|
254
|
-
# Custom attribute writer method with validation
|
255
|
-
# @param [Object] currency_code Value to be assigned
|
256
|
-
def currency_code=(currency_code)
|
257
|
-
if currency_code.nil?
|
258
|
-
fail ArgumentError, 'currency_code cannot be nil'
|
259
|
-
end
|
260
|
-
|
261
|
-
pattern = Regexp.new(/[0-9]{3}/)
|
262
|
-
if currency_code !~ pattern
|
263
|
-
fail ArgumentError, "invalid value for \"currency_code\", must conform to the pattern #{pattern}."
|
264
|
-
end
|
265
|
-
|
266
|
-
@currency_code = currency_code
|
267
|
-
end
|
268
|
-
|
269
204
|
# Custom attribute writer method with validation
|
270
205
|
# @param [Object] cardholder_name Value to be assigned
|
271
206
|
def cardholder_name=(cardholder_name)
|
272
|
-
if cardholder_name.nil?
|
273
|
-
fail ArgumentError, 'cardholder_name cannot be nil'
|
274
|
-
end
|
275
|
-
|
276
|
-
if cardholder_name.to_s.length > 96
|
207
|
+
if !cardholder_name.nil? && cardholder_name.to_s.length > 96
|
277
208
|
fail ArgumentError, 'invalid value for "cardholder_name", the character length must be smaller than or equal to 96.'
|
278
209
|
end
|
279
210
|
|
280
211
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
281
|
-
if cardholder_name !~ pattern
|
212
|
+
if !cardholder_name.nil? && cardholder_name !~ pattern
|
282
213
|
fail ArgumentError, "invalid value for \"cardholder_name\", must conform to the pattern #{pattern}."
|
283
214
|
end
|
284
215
|
|
@@ -288,12 +219,8 @@ module OpenapiClient
|
|
288
219
|
# Custom attribute writer method with validation
|
289
220
|
# @param [Object] brand Value to be assigned
|
290
221
|
def brand=(brand)
|
291
|
-
if brand.nil?
|
292
|
-
fail ArgumentError, 'brand cannot be nil'
|
293
|
-
end
|
294
|
-
|
295
222
|
pattern = Regexp.new(/^(?!\s*$).+/)
|
296
|
-
if brand !~ pattern
|
223
|
+
if !brand.nil? && brand !~ pattern
|
297
224
|
fail ArgumentError, "invalid value for \"brand\", must conform to the pattern #{pattern}."
|
298
225
|
end
|
299
226
|
|
@@ -337,8 +264,6 @@ module OpenapiClient
|
|
337
264
|
self.class == o.class &&
|
338
265
|
account_number == o.account_number &&
|
339
266
|
expiration == o.expiration &&
|
340
|
-
currency_code == o.currency_code &&
|
341
|
-
amount == o.amount &&
|
342
267
|
cardholder_name == o.cardholder_name &&
|
343
268
|
brand == o.brand &&
|
344
269
|
cryptogram == o.cryptogram &&
|
@@ -354,7 +279,7 @@ module OpenapiClient
|
|
354
279
|
# Calculates hash code according to all attributes.
|
355
280
|
# @return [Integer] Hash code
|
356
281
|
def hash
|
357
|
-
[account_number, expiration,
|
282
|
+
[account_number, expiration, cardholder_name, brand, cryptogram, eci_indicator].hash
|
358
283
|
end
|
359
284
|
|
360
285
|
# Builds the object from hash
|
@@ -444,7 +369,7 @@ module OpenapiClient
|
|
444
369
|
|
445
370
|
# Returns the object in the form of hash
|
446
371
|
# @return [Hash] Returns the object in the form of hash
|
447
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
372
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
448
373
|
hash = {}
|
449
374
|
attribute_map.each_pair do |attr, param|
|
450
375
|
value = self.send(attr)
|