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
|
|
@@ -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
|
# Initializes the object
|
42
36
|
# @param [Hash] attributes Model attributes in the form of hash
|
43
37
|
def initialize(attributes = {})
|
@@ -185,7 +179,7 @@ module OpenapiClient
|
|
185
179
|
|
186
180
|
# Returns the object in the form of hash
|
187
181
|
# @return [Hash] Returns the object in the form of hash
|
188
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
182
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
189
183
|
hash = {}
|
190
184
|
attribute_map.each_pair do |attr, param|
|
191
185
|
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
|
|
@@ -69,12 +69,6 @@ module OpenapiClient
|
|
69
69
|
}
|
70
70
|
end
|
71
71
|
|
72
|
-
# List of attributes with nullable: true
|
73
|
-
def self.openapi_nullable
|
74
|
-
Set.new([
|
75
|
-
])
|
76
|
-
end
|
77
|
-
|
78
72
|
# Initializes the object
|
79
73
|
# @param [Hash] attributes Model attributes in the form of hash
|
80
74
|
def initialize(attributes = {})
|
@@ -330,7 +324,7 @@ module OpenapiClient
|
|
330
324
|
|
331
325
|
# Returns the object in the form of hash
|
332
326
|
# @return [Hash] Returns the object in the form of hash
|
333
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
327
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
334
328
|
hash = {}
|
335
329
|
attribute_map.each_pair do |attr, param|
|
336
330
|
value = self.send(attr)
|
@@ -3,22 +3,23 @@
|
|
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
|
-
|
18
|
-
|
16
|
+
# Provides POS receipt data.
|
17
|
+
class Receipt
|
18
|
+
# Defines the consumer of the receipt (e.g. cardholder, merchant).
|
19
|
+
attr_accessor :type
|
19
20
|
|
20
|
-
#
|
21
|
-
attr_accessor :
|
21
|
+
# Array of formatted lines that represents the actual receipt data, that can be printed out.
|
22
|
+
attr_accessor :data
|
22
23
|
|
23
24
|
class EnumAttributeValidator
|
24
25
|
attr_reader :datatype
|
@@ -45,48 +46,42 @@ module OpenapiClient
|
|
45
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
46
47
|
def self.attribute_map
|
47
48
|
{
|
48
|
-
:'
|
49
|
-
:'
|
49
|
+
:'type' => :'type',
|
50
|
+
:'data' => :'data'
|
50
51
|
}
|
51
52
|
end
|
52
53
|
|
53
54
|
# Attribute type mapping.
|
54
55
|
def self.openapi_types
|
55
56
|
{
|
56
|
-
:'
|
57
|
-
:'
|
57
|
+
:'type' => :'String',
|
58
|
+
:'data' => :'Array<String>'
|
58
59
|
}
|
59
60
|
end
|
60
61
|
|
61
|
-
# List of attributes with nullable: true
|
62
|
-
def self.openapi_nullable
|
63
|
-
Set.new([
|
64
|
-
])
|
65
|
-
end
|
66
|
-
|
67
62
|
# Initializes the object
|
68
63
|
# @param [Hash] attributes Model attributes in the form of hash
|
69
64
|
def initialize(attributes = {})
|
70
65
|
if (!attributes.is_a?(Hash))
|
71
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::
|
66
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::Receipt` initialize method"
|
72
67
|
end
|
73
68
|
|
74
69
|
# check to see if the attribute exists and convert string to symbol for hash key
|
75
70
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
76
71
|
if (!self.class.attribute_map.key?(k.to_sym))
|
77
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::
|
72
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::Receipt`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
78
73
|
end
|
79
74
|
h[k.to_sym] = v
|
80
75
|
}
|
81
76
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
|
84
|
-
self.card_details = value
|
85
|
-
end
|
77
|
+
if attributes.key?(:'type')
|
78
|
+
self.type = attributes[:'type']
|
86
79
|
end
|
87
80
|
|
88
|
-
if attributes.key?(:'
|
89
|
-
|
81
|
+
if attributes.key?(:'data')
|
82
|
+
if (value = attributes[:'data']).is_a?(Array)
|
83
|
+
self.data = value
|
84
|
+
end
|
90
85
|
end
|
91
86
|
end
|
92
87
|
|
@@ -94,25 +89,35 @@ module OpenapiClient
|
|
94
89
|
# @return Array for valid properties with the reasons
|
95
90
|
def list_invalid_properties
|
96
91
|
invalid_properties = Array.new
|
92
|
+
if @type.nil?
|
93
|
+
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
94
|
+
end
|
95
|
+
|
96
|
+
if @data.nil?
|
97
|
+
invalid_properties.push('invalid value for "data", data cannot be nil.')
|
98
|
+
end
|
99
|
+
|
97
100
|
invalid_properties
|
98
101
|
end
|
99
102
|
|
100
103
|
# Check to see if the all the properties in the model are valid
|
101
104
|
# @return true if the model is valid
|
102
105
|
def valid?
|
103
|
-
|
104
|
-
|
106
|
+
return false if @type.nil?
|
107
|
+
type_validator = EnumAttributeValidator.new('String', ["cardholder", "merchant"])
|
108
|
+
return false unless type_validator.valid?(@type)
|
109
|
+
return false if @data.nil?
|
105
110
|
true
|
106
111
|
end
|
107
112
|
|
108
113
|
# Custom attribute writer method checking allowed values (enum).
|
109
|
-
# @param [Object]
|
110
|
-
def
|
111
|
-
validator = EnumAttributeValidator.new('String', ["
|
112
|
-
unless validator.valid?(
|
113
|
-
fail ArgumentError, "invalid value for \"
|
114
|
+
# @param [Object] type Object to be assigned
|
115
|
+
def type=(type)
|
116
|
+
validator = EnumAttributeValidator.new('String', ["cardholder", "merchant"])
|
117
|
+
unless validator.valid?(type)
|
118
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
114
119
|
end
|
115
|
-
@
|
120
|
+
@type = type
|
116
121
|
end
|
117
122
|
|
118
123
|
# Checks equality by comparing each attribute.
|
@@ -120,8 +125,8 @@ module OpenapiClient
|
|
120
125
|
def ==(o)
|
121
126
|
return true if self.equal?(o)
|
122
127
|
self.class == o.class &&
|
123
|
-
|
124
|
-
|
128
|
+
type == o.type &&
|
129
|
+
data == o.data
|
125
130
|
end
|
126
131
|
|
127
132
|
# @see the `==` method
|
@@ -133,7 +138,7 @@ module OpenapiClient
|
|
133
138
|
# Calculates hash code according to all attributes.
|
134
139
|
# @return [Integer] Hash code
|
135
140
|
def hash
|
136
|
-
[
|
141
|
+
[type, data].hash
|
137
142
|
end
|
138
143
|
|
139
144
|
# Builds the object from hash
|
@@ -223,7 +228,7 @@ module OpenapiClient
|
|
223
228
|
|
224
229
|
# Returns the object in the form of hash
|
225
230
|
# @return [Hash] Returns the object in the form of hash
|
226
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
231
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
227
232
|
hash = {}
|
228
233
|
attribute_map.each_pair do |attr, param|
|
229
234
|
value = self.send(attr)
|
data/lib/openapi_client/models/{payment_token_update_response_all_of.rb → receipt_request_info.rb}
RENAMED
@@ -3,24 +3,26 @@
|
|
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
|
-
|
18
|
-
|
16
|
+
# Defines receipt related parameters that are necessary to generate a receipt.
|
17
|
+
class ReceiptRequestInfo
|
18
|
+
# Defines the consumer of the receipt (e.g. cardholder, merchant).
|
19
|
+
attr_accessor :type
|
19
20
|
|
20
|
-
#
|
21
|
-
attr_accessor :
|
21
|
+
# The locale of the receipt. The format has to be a well-formed BCP 47 language tag.
|
22
|
+
attr_accessor :locale
|
22
23
|
|
23
|
-
|
24
|
+
# The line width of the receipt. Default will be 32 characters.
|
25
|
+
attr_accessor :linewidth
|
24
26
|
|
25
27
|
class EnumAttributeValidator
|
26
28
|
attr_reader :datatype
|
@@ -47,54 +49,48 @@ module OpenapiClient
|
|
47
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
50
|
def self.attribute_map
|
49
51
|
{
|
50
|
-
:'
|
51
|
-
:'
|
52
|
-
:'
|
52
|
+
:'type' => :'type',
|
53
|
+
:'locale' => :'locale',
|
54
|
+
:'linewidth' => :'linewidth'
|
53
55
|
}
|
54
56
|
end
|
55
57
|
|
56
58
|
# Attribute type mapping.
|
57
59
|
def self.openapi_types
|
58
60
|
{
|
59
|
-
:'
|
60
|
-
:'
|
61
|
-
:'
|
61
|
+
:'type' => :'String',
|
62
|
+
:'locale' => :'String',
|
63
|
+
:'linewidth' => :'Integer'
|
62
64
|
}
|
63
65
|
end
|
64
66
|
|
65
|
-
# List of attributes with nullable: true
|
66
|
-
def self.openapi_nullable
|
67
|
-
Set.new([
|
68
|
-
])
|
69
|
-
end
|
70
|
-
|
71
67
|
# Initializes the object
|
72
68
|
# @param [Hash] attributes Model attributes in the form of hash
|
73
69
|
def initialize(attributes = {})
|
74
70
|
if (!attributes.is_a?(Hash))
|
75
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::
|
71
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::ReceiptRequestInfo` initialize method"
|
76
72
|
end
|
77
73
|
|
78
74
|
# check to see if the attribute exists and convert string to symbol for hash key
|
79
75
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
80
76
|
if (!self.class.attribute_map.key?(k.to_sym))
|
81
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::
|
77
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::ReceiptRequestInfo`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
82
78
|
end
|
83
79
|
h[k.to_sym] = v
|
84
80
|
}
|
85
81
|
|
86
|
-
if attributes.key?(:'
|
87
|
-
self.
|
82
|
+
if attributes.key?(:'type')
|
83
|
+
self.type = attributes[:'type']
|
88
84
|
end
|
89
85
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
86
|
+
if attributes.key?(:'locale')
|
87
|
+
self.locale = attributes[:'locale']
|
92
88
|
end
|
93
89
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
|
96
|
-
|
97
|
-
|
90
|
+
if attributes.key?(:'linewidth')
|
91
|
+
self.linewidth = attributes[:'linewidth']
|
92
|
+
else
|
93
|
+
self.linewidth = 32
|
98
94
|
end
|
99
95
|
end
|
100
96
|
|
@@ -102,25 +98,30 @@ module OpenapiClient
|
|
102
98
|
# @return Array for valid properties with the reasons
|
103
99
|
def list_invalid_properties
|
104
100
|
invalid_properties = Array.new
|
101
|
+
if @type.nil?
|
102
|
+
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
103
|
+
end
|
104
|
+
|
105
105
|
invalid_properties
|
106
106
|
end
|
107
107
|
|
108
108
|
# Check to see if the all the properties in the model are valid
|
109
109
|
# @return true if the model is valid
|
110
110
|
def valid?
|
111
|
-
|
112
|
-
|
111
|
+
return false if @type.nil?
|
112
|
+
type_validator = EnumAttributeValidator.new('String', ["cardholder", "merchant"])
|
113
|
+
return false unless type_validator.valid?(@type)
|
113
114
|
true
|
114
115
|
end
|
115
116
|
|
116
117
|
# Custom attribute writer method checking allowed values (enum).
|
117
|
-
# @param [Object]
|
118
|
-
def
|
119
|
-
validator = EnumAttributeValidator.new('String', ["
|
120
|
-
unless validator.valid?(
|
121
|
-
fail ArgumentError, "invalid value for \"
|
118
|
+
# @param [Object] type Object to be assigned
|
119
|
+
def type=(type)
|
120
|
+
validator = EnumAttributeValidator.new('String', ["cardholder", "merchant"])
|
121
|
+
unless validator.valid?(type)
|
122
|
+
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
122
123
|
end
|
123
|
-
@
|
124
|
+
@type = type
|
124
125
|
end
|
125
126
|
|
126
127
|
# Checks equality by comparing each attribute.
|
@@ -128,9 +129,9 @@ module OpenapiClient
|
|
128
129
|
def ==(o)
|
129
130
|
return true if self.equal?(o)
|
130
131
|
self.class == o.class &&
|
131
|
-
|
132
|
-
|
133
|
-
|
132
|
+
type == o.type &&
|
133
|
+
locale == o.locale &&
|
134
|
+
linewidth == o.linewidth
|
134
135
|
end
|
135
136
|
|
136
137
|
# @see the `==` method
|
@@ -142,7 +143,7 @@ module OpenapiClient
|
|
142
143
|
# Calculates hash code according to all attributes.
|
143
144
|
# @return [Integer] Hash code
|
144
145
|
def hash
|
145
|
-
[
|
146
|
+
[type, locale, linewidth].hash
|
146
147
|
end
|
147
148
|
|
148
149
|
# Builds the object from hash
|
@@ -232,7 +233,7 @@ module OpenapiClient
|
|
232
233
|
|
233
234
|
# Returns the object in the form of hash
|
234
235
|
# @return [Hash] Returns the object in the form of hash
|
235
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
236
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
236
237
|
hash = {}
|
237
238
|
attribute_map.each_pair do |attr, param|
|
238
239
|
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
|
|
@@ -72,12 +72,6 @@ module OpenapiClient
|
|
72
72
|
}
|
73
73
|
end
|
74
74
|
|
75
|
-
# List of attributes with nullable: true
|
76
|
-
def self.openapi_nullable
|
77
|
-
Set.new([
|
78
|
-
])
|
79
|
-
end
|
80
|
-
|
81
75
|
# Initializes the object
|
82
76
|
# @param [Hash] attributes Model attributes in the form of hash
|
83
77
|
def initialize(attributes = {})
|
@@ -537,7 +531,7 @@ module OpenapiClient
|
|
537
531
|
|
538
532
|
# Returns the object in the form of hash
|
539
533
|
# @return [Hash] Returns the object in the form of hash
|
540
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
534
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
541
535
|
hash = {}
|
542
536
|
attribute_map.each_pair do |attr, param|
|
543
537
|
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
|
|
@@ -111,12 +111,6 @@ module OpenapiClient
|
|
111
111
|
}
|
112
112
|
end
|
113
113
|
|
114
|
-
# List of attributes with nullable: true
|
115
|
-
def self.openapi_nullable
|
116
|
-
Set.new([
|
117
|
-
])
|
118
|
-
end
|
119
|
-
|
120
114
|
# Initializes the object
|
121
115
|
# @param [Hash] attributes Model attributes in the form of hash
|
122
116
|
def initialize(attributes = {})
|
@@ -392,7 +386,7 @@ module OpenapiClient
|
|
392
386
|
|
393
387
|
# Returns the object in the form of hash
|
394
388
|
# @return [Hash] Returns the object in the form of hash
|
395
|
-
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable =
|
389
|
+
def to_hash(attribute_map = self.class.attribute_map, openapi_nullable = Set.new([]))
|
396
390
|
hash = {}
|
397
391
|
attribute_map.each_pair do |attr, param|
|
398
392
|
value = self.send(attr)
|