first_data_gateway 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/docs/AirlineTravelRoute.md +1 -1
- data/docs/BancontactQR.md +19 -0
- data/docs/Billing.md +1 -1
- data/docs/BillingAddress.md +1 -1
- data/docs/BlockCard.md +21 -0
- data/docs/BlockDomain.md +17 -0
- data/docs/BlockIPAddress.md +19 -0
- data/docs/BlockName.md +19 -0
- data/docs/BlockedCardNumber.md +19 -0
- data/docs/BlockedItems.md +23 -0
- data/docs/CarRental.md +2 -2
- data/docs/ClientRegistration.md +29 -0
- data/docs/CountryProfile.md +17 -0
- data/docs/CustomerAddress.md +3 -3
- data/docs/DecryptedApplePay.md +31 -0
- data/docs/DecryptedApplePayWalletPaymentMethod.md +17 -0
- data/docs/DecryptedApplePayWalletPaymentMethodAllOf.md +17 -0
- data/docs/DecryptedGooglePay.md +31 -0
- data/docs/DecryptedGooglePayWalletPaymentMethod.md +17 -0
- data/docs/DecryptedGooglePayWalletPaymentMethodAllOf.md +17 -0
- data/docs/DecryptedSamsungPay.md +31 -0
- data/docs/DecryptedSamsungPayWalletPaymentMethod.md +17 -0
- data/docs/DecryptedSamsungPayWalletPaymentMethodAllOf.md +17 -0
- data/docs/Device.md +1 -1
- data/docs/EncryptedSamsungPay.md +19 -0
- data/docs/EncryptedSamsungPayWalletPaymentMethod.md +17 -0
- data/docs/EncryptedSamsungPayWalletPaymentMethodAllOf.md +17 -0
- data/docs/ErrorMessage.md +19 -0
- data/docs/Expiration.md +2 -2
- data/docs/FraudAddress.md +27 -0
- data/docs/FraudDetectApi.md +124 -0
- data/docs/FraudOrder.md +1 -1
- data/docs/FraudRegistration.md +27 -0
- data/docs/FraudRegistrationCard.md +27 -0
- data/docs/FraudRegistrationDevice.md +39 -0
- data/docs/FraudRegistrationDeviceItems.md +27 -0
- data/docs/FraudRegistrationError.md +17 -0
- data/docs/FraudRegistrationResponse.md +27 -0
- data/docs/FraudScore.md +23 -0
- data/docs/FraudSettings.md +23 -0
- data/docs/FraudSettingsResponse.md +37 -0
- data/docs/{PaymentIssuerResponse.md → IssuerResponse.md} +2 -2
- data/docs/{DeviceNetworks.md → Items.md} +2 -2
- data/docs/{MerchantLocation.md → Location.md} +3 -3
- data/docs/LockoutTime.md +19 -0
- data/docs/Lodging.md +2 -2
- data/docs/MaximumPurchaseAmount.md +19 -0
- data/docs/Merchant.md +1 -1
- data/docs/{PaymentPayMethod.md → Method.md} +2 -2
- data/docs/Order.md +3 -1
- data/docs/OrderErrorResponse.md +3 -7
- data/docs/OrderResponse.md +3 -7
- data/docs/Payment.md +6 -6
- data/docs/PaymentApi.md +3 -3
- data/docs/PaymentDevice.md +27 -0
- data/docs/PaymentDeviceCreditTransaction.md +17 -0
- data/docs/PaymentDeviceCreditTransactionAllOf.md +17 -0
- data/docs/PaymentDeviceDisbursementTransaction.md +19 -0
- data/docs/PaymentDeviceDisbursementTransactionAllOf.md +19 -0
- data/docs/PaymentDevicePaymentMethod.md +19 -0
- data/docs/PaymentDevicePaymentMethodAllOf.md +19 -0
- data/docs/PaymentDevicePaymentTokenizationRequest.md +17 -0
- data/docs/PaymentDevicePaymentTokenizationRequestAllOf.md +17 -0
- data/docs/PaymentDevicePreAuthTransaction.md +25 -0
- data/docs/PaymentDevicePreAuthTransactionAllOf.md +25 -0
- data/docs/PaymentDeviceSaleTransaction.md +21 -0
- data/docs/PaymentDeviceSaleTransactionAllOf.md +21 -0
- data/docs/PaymentRegistration.md +39 -0
- data/docs/PaymentSchedulesRequest.md +1 -1
- data/docs/PaymentTokenApi.md +2 -2
- data/docs/PaymentURLApi.md +142 -0
- data/docs/PaymentUrlDetail.md +25 -0
- data/docs/PaymentUrlDetailResponse.md +23 -0
- data/docs/PaymentUrlStatus.md +16 -0
- data/docs/{CustomerAddressPhone.md → Phone.md} +2 -2
- data/docs/ProcessorData.md +5 -1
- data/docs/PurchaseCardsLevel3.md +1 -1
- data/docs/RecurringPaymentDetailsResponse.md +3 -7
- data/docs/RegistrationMethod.md +29 -0
- data/docs/RemoveFraudBlockedItemsResponse.md +23 -0
- data/docs/ScoreOnlyRequest.md +1 -1
- data/docs/SepaMandate.md +1 -1
- data/docs/SharedSecretConfigurationRequest.md +17 -0
- data/docs/SharedSecretConfigurationResponse.md +29 -0
- data/docs/{FraudOrderShipToAddress.md → ShipToAddress.md} +2 -2
- data/docs/StoreFraudSettings.md +19 -0
- data/docs/StoreFraudSettingsResult.md +21 -0
- data/docs/StoreUrlConfiguration.md +31 -0
- data/docs/StoreUrlConfigurationRequest.md +17 -0
- data/docs/StoreUrlConfigurationResponse.md +23 -0
- data/docs/StoreUrlConfigurationResult.md +19 -0
- data/docs/TokenIdentifier.md +17 -0
- data/docs/UpdateFraudSettingsRequest.md +17 -0
- data/docs/UpdateFraudSettingsResponse.md +23 -0
- data/docs/UsePaymentToken.md +5 -1
- data/docs/{PaymentVerification3ds.md → Verification3ds.md} +2 -2
- data/docs/{PaymentVerificationAvs.md → VerificationAvs.md} +2 -2
- data/docs/{PaymentVerificationCvv.md → VerificationCvv.md} +2 -2
- data/lib/openapi_client.rb +34 -1
- data/lib/openapi_client/.DS_Store +0 -0
- data/lib/openapi_client/api/authentication_api.rb +1 -1
- data/lib/openapi_client/api/card_info_lookup_api.rb +1 -1
- data/lib/openapi_client/api/card_verification_api.rb +1 -1
- data/lib/openapi_client/api/currency_conversion_api.rb +1 -1
- data/lib/openapi_client/api/fraud_detect_api.rb +1 -1
- data/lib/openapi_client/api/order_api.rb +1 -1
- data/lib/openapi_client/api/payment_api.rb +1 -1
- data/lib/openapi_client/api/payment_schedules_api.rb +1 -1
- data/lib/openapi_client/api/payment_token_api.rb +1 -1
- data/lib/openapi_client/api/payment_url_api.rb +1 -1
- data/lib/openapi_client/api_client.rb +1 -2
- data/lib/openapi_client/api_error.rb +1 -1
- data/lib/openapi_client/configuration.rb +4 -3
- data/lib/openapi_client/models/access_token_response.rb +1 -1
- data/lib/openapi_client/models/account_updater_response.rb +1 -1
- data/lib/openapi_client/models/additional_amount_rate.rb +1 -1
- data/lib/openapi_client/models/additional_details.rb +1 -1
- data/lib/openapi_client/models/additional_transaction_details.rb +1 -1
- data/lib/openapi_client/models/address.rb +1 -1
- data/lib/openapi_client/models/airline.rb +1 -1
- data/lib/openapi_client/models/airline_ancillary_service_category.rb +1 -1
- data/lib/openapi_client/models/airline_travel_route.rb +1 -1
- data/lib/openapi_client/models/ali_pay.rb +1 -1
- data/lib/openapi_client/models/ali_pay_payment_method.rb +1 -1
- data/lib/openapi_client/models/ali_pay_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/ali_pay_sale_transaction.rb +10 -16
- data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/amount.rb +1 -1
- data/lib/openapi_client/models/amount_components.rb +1 -1
- data/lib/openapi_client/models/authentication.rb +1 -1
- data/lib/openapi_client/models/authentication_redirect.rb +1 -1
- data/lib/openapi_client/models/authentication_redirect_params.rb +1 -1
- data/lib/openapi_client/models/authentication_verification_request.rb +1 -1
- data/lib/openapi_client/models/avs_response.rb +1 -1
- data/lib/openapi_client/models/bancontact_qr.rb +262 -0
- data/lib/openapi_client/models/basic_response.rb +1 -1
- data/lib/openapi_client/models/billing.rb +1 -1
- data/lib/openapi_client/models/billing_address.rb +1 -1
- data/lib/openapi_client/models/block_card.rb +233 -0
- data/lib/openapi_client/models/block_domain.rb +198 -0
- data/lib/openapi_client/models/block_ip_address.rb +208 -0
- data/lib/openapi_client/models/block_name.rb +208 -0
- data/lib/openapi_client/models/blocked_card_number.rb +208 -0
- data/lib/openapi_client/models/blocked_items.rb +224 -0
- data/lib/openapi_client/models/car_rental.rb +1 -1
- data/lib/openapi_client/models/car_rental_extra_charges.rb +1 -1
- data/lib/openapi_client/models/card.rb +1 -1
- data/lib/openapi_client/models/card_function.rb +1 -1
- data/lib/openapi_client/models/card_info.rb +1 -1
- data/lib/openapi_client/models/card_info_lookup_request.rb +1 -1
- data/lib/openapi_client/models/card_info_lookup_response.rb +1 -1
- data/lib/openapi_client/models/card_verification_request.rb +1 -1
- data/lib/openapi_client/models/china_domestic.rb +1 -1
- data/lib/openapi_client/models/china_domestic_payment_method.rb +1 -1
- data/lib/openapi_client/models/china_domestic_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/china_pn_r_sale_transaction.rb +10 -16
- data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/client_locale.rb +1 -1
- data/lib/openapi_client/models/client_registration.rb +1 -1
- data/lib/openapi_client/models/contact.rb +1 -1
- data/lib/openapi_client/models/country_profile.rb +198 -0
- data/lib/openapi_client/models/create_payment_token.rb +1 -1
- data/lib/openapi_client/models/currency_conversion.rb +1 -1
- data/lib/openapi_client/models/customer.rb +1 -1
- data/lib/openapi_client/models/customer_address.rb +1 -1
- data/lib/openapi_client/models/dcc.rb +13 -23
- data/lib/openapi_client/models/dcc_all_of.rb +39 -2
- data/lib/openapi_client/models/dcc_exchange_rate_request.rb +10 -16
- data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +47 -2
- data/lib/openapi_client/models/decrypted_apple_pay.rb +464 -0
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method.rb +224 -0
- data/lib/openapi_client/models/decrypted_apple_pay_wallet_payment_method_all_of.rb +211 -0
- data/lib/openapi_client/models/decrypted_google_pay.rb +464 -0
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method.rb +224 -0
- data/lib/openapi_client/models/decrypted_google_pay_wallet_payment_method_all_of.rb +211 -0
- data/lib/openapi_client/models/decrypted_samsung_pay.rb +464 -0
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method.rb +224 -0
- data/lib/openapi_client/models/decrypted_samsung_pay_wallet_payment_method_all_of.rb +211 -0
- data/lib/openapi_client/models/device.rb +1 -1
- data/lib/openapi_client/models/disbursement.rb +1 -1
- data/lib/openapi_client/models/disbursement_transaction_type.rb +12 -22
- data/lib/openapi_client/models/disbursement_transaction_type_all_of.rb +215 -0
- data/lib/openapi_client/models/document.rb +1 -1
- data/lib/openapi_client/models/dynamic_pricing.rb +13 -23
- data/lib/openapi_client/models/dynamic_pricing_all_of.rb +39 -2
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +10 -16
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +47 -2
- data/lib/openapi_client/models/encrypted_apple_pay.rb +1 -1
- data/lib/openapi_client/models/encrypted_apple_pay_header.rb +1 -1
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method.rb +10 -11
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +12 -2
- data/lib/openapi_client/models/encrypted_google_pay.rb +1 -1
- data/lib/openapi_client/models/encrypted_google_pay_data.rb +1 -1
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb +10 -11
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +12 -2
- data/lib/openapi_client/models/encrypted_samsung_pay.rb +1 -1
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +10 -11
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +12 -2
- data/lib/openapi_client/models/error.rb +1 -1
- data/lib/openapi_client/models/error_details.rb +1 -1
- data/lib/openapi_client/models/error_message.rb +1 -1
- data/lib/openapi_client/models/error_response.rb +1 -1
- data/lib/openapi_client/models/exchange_rate_request.rb +1 -1
- data/lib/openapi_client/models/exchange_rate_response.rb +1 -1
- data/lib/openapi_client/models/expiration.rb +9 -9
- data/lib/openapi_client/models/fraud_address.rb +1 -1
- data/lib/openapi_client/models/fraud_order.rb +1 -1
- data/lib/openapi_client/models/fraud_order_items.rb +1 -1
- data/lib/openapi_client/models/fraud_registration.rb +1 -1
- data/lib/openapi_client/models/fraud_registration_card.rb +1 -1
- data/lib/openapi_client/models/fraud_registration_device.rb +1 -1
- data/lib/openapi_client/models/fraud_registration_device_items.rb +1 -1
- data/lib/openapi_client/models/fraud_registration_error.rb +1 -1
- data/lib/openapi_client/models/fraud_registration_response.rb +1 -1
- data/lib/openapi_client/models/fraud_score.rb +1 -1
- data/lib/openapi_client/models/fraud_settings.rb +226 -0
- data/lib/openapi_client/models/fraud_settings_response.rb +313 -0
- data/lib/openapi_client/models/frequency.rb +1 -1
- data/lib/openapi_client/models/funding_transaction_type.rb +12 -22
- data/lib/openapi_client/models/funding_transaction_type_all_of.rb +215 -0
- data/lib/openapi_client/models/industry_specific_extensions.rb +1 -1
- data/lib/openapi_client/models/installment_options.rb +1 -1
- data/lib/openapi_client/models/issuer_response.rb +1 -1
- data/lib/openapi_client/models/items.rb +1 -1
- data/lib/openapi_client/models/location.rb +1 -1
- data/lib/openapi_client/models/lockout_time.rb +208 -0
- data/lib/openapi_client/models/lodging.rb +1 -1
- data/lib/openapi_client/models/lodging_extra_charges.rb +1 -1
- data/lib/openapi_client/models/loyalty.rb +1 -1
- data/lib/openapi_client/models/maximum_purchase_amount.rb +218 -0
- data/lib/openapi_client/models/merchant.rb +1 -1
- data/lib/openapi_client/models/method.rb +1 -1
- data/lib/openapi_client/models/order.rb +14 -5
- data/lib/openapi_client/models/order_error_response.rb +1 -1
- data/lib/openapi_client/models/order_response.rb +1 -1
- data/lib/openapi_client/models/pay_pal.rb +1 -1
- data/lib/openapi_client/models/pay_pal_payment_method.rb +1 -1
- data/lib/openapi_client/models/pay_pal_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/payment.rb +1 -1
- data/lib/openapi_client/models/payment_card.rb +1 -1
- data/lib/openapi_client/models/payment_card_credit_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_card_payment_method.rb +1 -1
- data/lib/openapi_client/models/payment_card_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_payment_tokenization_request.rb +10 -16
- data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +67 -2
- data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_card_sale_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_device.rb +1 -1
- data/lib/openapi_client/models/payment_device_credit_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_device_payment_method.rb +1 -1
- data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +10 -16
- data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +67 -2
- data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_device_sale_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_facilitator.rb +1 -1
- data/lib/openapi_client/models/payment_method_details.rb +1 -1
- data/lib/openapi_client/models/payment_method_payment_schedules_request.rb +10 -26
- data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +219 -2
- data/lib/openapi_client/models/payment_method_type.rb +1 -1
- data/lib/openapi_client/models/payment_registration.rb +1 -1
- data/lib/openapi_client/models/payment_schedules_error_response.rb +1 -1
- data/lib/openapi_client/models/payment_schedules_request.rb +1 -1
- data/lib/openapi_client/models/payment_schedules_response.rb +1 -1
- data/lib/openapi_client/models/payment_token_credit_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_token_details.rb +1 -1
- data/lib/openapi_client/models/payment_token_details_all_of.rb +36 -2
- data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_token_payment_method.rb +1 -1
- data/lib/openapi_client/models/payment_token_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_pre_auth_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_token_sale_transaction.rb +10 -16
- data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/payment_tokenization_error_response.rb +1 -1
- data/lib/openapi_client/models/payment_tokenization_request.rb +1 -1
- data/lib/openapi_client/models/payment_tokenization_response.rb +1 -1
- data/lib/openapi_client/models/payment_url_detail.rb +1 -1
- data/lib/openapi_client/models/payment_url_detail_response.rb +1 -1
- data/lib/openapi_client/models/payment_url_error_response.rb +1 -1
- data/lib/openapi_client/models/payment_url_request.rb +1 -1
- data/lib/openapi_client/models/payment_url_response.rb +1 -1
- data/lib/openapi_client/models/payment_url_status.rb +1 -1
- data/lib/openapi_client/models/paypal_credit_transaction.rb +10 -16
- data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/phone.rb +1 -1
- data/lib/openapi_client/models/post_auth_transaction.rb +10 -11
- data/lib/openapi_client/models/post_auth_transaction_all_of.rb +47 -2
- data/lib/openapi_client/models/primary_transaction.rb +1 -1
- data/lib/openapi_client/models/processor_data.rb +27 -7
- data/lib/openapi_client/models/purchase_cards.rb +1 -1
- data/lib/openapi_client/models/purchase_cards_level2.rb +1 -1
- data/lib/openapi_client/models/purchase_cards_level3.rb +1 -1
- data/lib/openapi_client/models/purchase_cards_level3_line_items.rb +1 -1
- data/lib/openapi_client/models/receiver_info.rb +1 -1
- data/lib/openapi_client/models/recurring_payment_details.rb +1 -1
- data/lib/openapi_client/models/recurring_payment_details_response.rb +1 -1
- data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +10 -26
- data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +219 -2
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +10 -16
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +67 -2
- data/lib/openapi_client/models/registration_method.rb +1 -1
- data/lib/openapi_client/models/remove_fraud_blocked_items_response.rb +234 -0
- data/lib/openapi_client/models/response_amount_components.rb +1 -1
- data/lib/openapi_client/models/response_amount_components_all_of.rb +62 -2
- data/lib/openapi_client/models/response_type.rb +1 -1
- data/lib/openapi_client/models/return_transaction.rb +10 -11
- data/lib/openapi_client/models/return_transaction_all_of.rb +47 -2
- data/lib/openapi_client/models/score_only_request.rb +1 -1
- data/lib/openapi_client/models/score_only_response.rb +1 -1
- data/lib/openapi_client/models/score_only_response_fraud_score.rb +13 -3
- data/lib/openapi_client/models/score_only_response_fraud_score_explanations.rb +1 -1
- data/lib/openapi_client/models/secondary_transaction.rb +1 -1
- data/lib/openapi_client/models/secure3_d10_authentication_result.rb +10 -11
- data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +12 -2
- data/lib/openapi_client/models/secure3_d21_authentication_result.rb +10 -11
- data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +12 -2
- data/lib/openapi_client/models/secure3d_authentication_request.rb +12 -12
- data/lib/openapi_client/models/secure3d_authentication_request_all_of.rb +197 -0
- data/lib/openapi_client/models/secure3d_authentication_verification_request.rb +10 -11
- data/lib/openapi_client/models/secure3d_authentication_verification_request_all_of.rb +56 -2
- data/lib/openapi_client/models/secure3d_response.rb +1 -1
- data/lib/openapi_client/models/sender_info.rb +1 -1
- data/lib/openapi_client/models/sepa.rb +1 -1
- data/lib/openapi_client/models/sepa_mandate.rb +1 -1
- data/lib/openapi_client/models/sepa_payment_method.rb +1 -1
- data/lib/openapi_client/models/sepa_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/sepa_sale_transaction.rb +10 -16
- data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/shared_secret_configuration_request.rb +224 -0
- data/lib/openapi_client/models/shared_secret_configuration_response.rb +264 -0
- data/lib/openapi_client/models/ship_to_address.rb +1 -1
- data/lib/openapi_client/models/shipping.rb +1 -1
- data/lib/openapi_client/models/soft_descriptor.rb +1 -1
- data/lib/openapi_client/models/split_shipment.rb +1 -1
- data/lib/openapi_client/models/store_fraud_settings.rb +217 -0
- data/lib/openapi_client/models/store_fraud_settings_result.rb +217 -0
- data/lib/openapi_client/models/store_url_configuration.rb +272 -0
- data/lib/openapi_client/models/store_url_configuration_request.rb +199 -0
- data/lib/openapi_client/models/store_url_configuration_response.rb +235 -0
- data/lib/openapi_client/models/store_url_configuration_result.rb +207 -0
- data/lib/openapi_client/models/stored_credential.rb +1 -1
- data/lib/openapi_client/models/sub_merchant_data.rb +1 -1
- data/lib/openapi_client/models/sub_merchant_split.rb +1 -1
- data/lib/openapi_client/models/token_identifier.rb +198 -0
- data/lib/openapi_client/models/transaction_error_response.rb +1 -1
- data/lib/openapi_client/models/transaction_origin.rb +1 -1
- data/lib/openapi_client/models/transaction_response.rb +1 -1
- data/lib/openapi_client/models/transaction_type.rb +1 -1
- data/lib/openapi_client/models/union_pay_authentication_request.rb +10 -11
- data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +12 -2
- data/lib/openapi_client/models/union_pay_authentication_verification_request.rb +10 -11
- data/lib/openapi_client/models/union_pay_authentication_verification_request_all_of.rb +56 -2
- data/lib/openapi_client/models/update_fraud_settings_request.rb +199 -0
- data/lib/openapi_client/models/update_fraud_settings_response.rb +235 -0
- data/lib/openapi_client/models/use_payment_token.rb +14 -5
- data/lib/openapi_client/models/verification3ds.rb +1 -1
- data/lib/openapi_client/models/verification_avs.rb +1 -1
- data/lib/openapi_client/models/verification_cvv.rb +1 -1
- data/lib/openapi_client/models/void_transaction.rb +12 -12
- data/lib/openapi_client/models/void_transaction_all_of.rb +232 -0
- data/lib/openapi_client/models/wallet_payment_method.rb +2 -2
- data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +10 -16
- data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +89 -2
- data/lib/openapi_client/models/wallet_sale_transaction.rb +10 -16
- data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +89 -2
- data/lib/openapi_client/version.rb +2 -2
- data/lib/simple/client_context.rb +2 -2
- data/lib/simple/gateway.rb +2 -2
- data/spec/api/authentication_api_spec.rb +1 -1
- data/spec/api/card_info_lookup_api_spec.rb +1 -1
- data/spec/api/card_verification_api_spec.rb +1 -1
- data/spec/api/currency_conversion_api_spec.rb +1 -1
- data/spec/api/fraud_detect_api_spec.rb +37 -1
- data/spec/api/order_api_spec.rb +1 -1
- data/spec/api/payment_api_spec.rb +3 -3
- data/spec/api/payment_schedules_api_spec.rb +1 -1
- data/spec/api/payment_token_api_spec.rb +2 -2
- data/spec/api/payment_url_api_spec.rb +46 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/access_token_response_spec.rb +1 -1
- data/spec/models/account_updater_response_spec.rb +1 -1
- data/spec/models/additional_amount_rate_spec.rb +1 -1
- data/spec/models/additional_details_spec.rb +1 -1
- data/spec/models/additional_transaction_details_spec.rb +2 -2
- data/spec/models/address_spec.rb +1 -1
- data/spec/models/airline_ancillary_service_category_spec.rb +1 -1
- data/spec/models/airline_spec.rb +1 -1
- data/spec/models/airline_travel_route_spec.rb +1 -1
- data/spec/models/ali_pay_payment_method_all_of_spec.rb +1 -1
- data/spec/models/ali_pay_payment_method_spec.rb +1 -1
- data/spec/models/ali_pay_sale_transaction_all_of_spec.rb +1 -1
- data/spec/models/ali_pay_sale_transaction_spec.rb +1 -1
- data/spec/models/ali_pay_spec.rb +1 -1
- data/spec/models/amount_components_spec.rb +1 -1
- data/spec/models/amount_spec.rb +1 -1
- data/spec/models/authentication_redirect_params_spec.rb +1 -1
- data/spec/models/authentication_redirect_spec.rb +1 -1
- data/spec/models/authentication_spec.rb +1 -1
- data/spec/models/authentication_verification_request_spec.rb +1 -1
- data/spec/models/avs_response_spec.rb +1 -1
- data/spec/models/bancontact_qr_spec.rb +51 -0
- data/spec/models/basic_response_spec.rb +1 -1
- data/spec/models/billing_address_spec.rb +1 -1
- data/spec/models/billing_spec.rb +1 -1
- data/spec/models/block_card_spec.rb +53 -0
- data/spec/models/block_domain_spec.rb +41 -0
- data/spec/models/{customer_address_phone_spec.rb → block_ip_address_spec.rb} +9 -9
- data/spec/models/block_name_spec.rb +47 -0
- data/spec/models/blocked_card_number_spec.rb +47 -0
- data/spec/models/blocked_items_spec.rb +59 -0
- data/spec/models/car_rental_extra_charges_spec.rb +1 -1
- data/spec/models/car_rental_spec.rb +1 -1
- data/spec/models/card_function_spec.rb +1 -1
- data/spec/models/card_info_lookup_request_spec.rb +1 -1
- data/spec/models/card_info_lookup_response_spec.rb +1 -1
- data/spec/models/card_info_spec.rb +1 -1
- data/spec/models/card_spec.rb +1 -1
- data/spec/models/card_verification_request_spec.rb +1 -1
- data/spec/models/china_domestic_payment_method_all_of_spec.rb +1 -1
- data/spec/models/china_domestic_payment_method_spec.rb +1 -1
- data/spec/models/china_domestic_spec.rb +1 -1
- data/spec/models/china_pn_r_sale_transaction_all_of_spec.rb +1 -1
- data/spec/models/china_pn_r_sale_transaction_spec.rb +1 -1
- data/spec/models/client_locale_spec.rb +1 -1
- data/spec/models/client_registration_spec.rb +77 -0
- data/spec/models/contact_spec.rb +1 -1
- data/spec/models/country_profile_spec.rb +41 -0
- data/spec/models/create_payment_token_spec.rb +1 -1
- data/spec/models/currency_conversion_spec.rb +1 -1
- data/spec/models/customer_address_spec.rb +3 -3
- data/spec/models/customer_spec.rb +1 -1
- data/spec/models/dcc_all_of_spec.rb +1 -1
- data/spec/models/dcc_exchange_rate_request_all_of_spec.rb +1 -1
- data/spec/models/dcc_exchange_rate_request_spec.rb +1 -1
- data/spec/models/dcc_spec.rb +1 -1
- data/spec/models/decrypted_apple_pay_spec.rb +83 -0
- data/spec/models/decrypted_apple_pay_wallet_payment_method_all_of_spec.rb +41 -0
- data/spec/models/decrypted_apple_pay_wallet_payment_method_spec.rb +41 -0
- data/spec/models/decrypted_google_pay_spec.rb +83 -0
- data/spec/models/decrypted_google_pay_wallet_payment_method_all_of_spec.rb +41 -0
- data/spec/models/decrypted_google_pay_wallet_payment_method_spec.rb +41 -0
- data/spec/models/decrypted_samsung_pay_spec.rb +83 -0
- data/spec/models/decrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +41 -0
- data/spec/models/decrypted_samsung_pay_wallet_payment_method_spec.rb +41 -0
- data/spec/models/device_spec.rb +1 -1
- data/spec/models/disbursement_spec.rb +1 -1
- data/spec/models/disbursement_transaction_type_spec.rb +1 -1
- data/spec/models/document_spec.rb +1 -1
- data/spec/models/dynamic_pricing_all_of_spec.rb +1 -1
- data/spec/models/dynamic_pricing_exchange_rate_request_all_of_spec.rb +1 -1
- data/spec/models/dynamic_pricing_exchange_rate_request_spec.rb +1 -1
- data/spec/models/dynamic_pricing_spec.rb +1 -1
- data/spec/models/encrypted_apple_pay_header_spec.rb +1 -1
- data/spec/models/encrypted_apple_pay_spec.rb +1 -1
- data/spec/models/encrypted_apple_pay_wallet_payment_method_all_of_spec.rb +1 -1
- data/spec/models/encrypted_apple_pay_wallet_payment_method_spec.rb +1 -1
- data/spec/models/encrypted_google_pay_data_spec.rb +1 -1
- data/spec/models/encrypted_google_pay_spec.rb +1 -1
- data/spec/models/encrypted_google_pay_wallet_payment_method_all_of_spec.rb +1 -1
- data/spec/models/encrypted_google_pay_wallet_payment_method_spec.rb +1 -1
- data/spec/models/encrypted_samsung_pay_spec.rb +47 -0
- data/spec/models/encrypted_samsung_pay_wallet_payment_method_all_of_spec.rb +41 -0
- data/spec/models/encrypted_samsung_pay_wallet_payment_method_spec.rb +41 -0
- data/spec/models/error_details_spec.rb +1 -1
- data/spec/models/error_message_spec.rb +47 -0
- data/spec/models/error_response_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/exchange_rate_request_spec.rb +1 -1
- data/spec/models/exchange_rate_response_spec.rb +1 -1
- data/spec/models/expiration_spec.rb +1 -1
- data/spec/models/{merchant_location_merchant_address_spec.rb → fraud_address_spec.rb} +7 -7
- data/spec/models/fraud_order_items_spec.rb +1 -1
- data/spec/models/fraud_order_spec.rb +1 -1
- data/spec/models/fraud_registration_card_spec.rb +71 -0
- data/spec/models/fraud_registration_device_items_spec.rb +75 -0
- data/spec/models/{transaction_spec.rb → fraud_registration_device_spec.rb} +21 -25
- data/spec/models/fraud_registration_error_spec.rb +41 -0
- data/spec/models/fraud_registration_response_spec.rb +75 -0
- data/spec/models/fraud_registration_spec.rb +71 -0
- data/spec/models/fraud_score_spec.rb +59 -0
- data/spec/models/fraud_settings_response_spec.rb +101 -0
- data/spec/models/fraud_settings_spec.rb +59 -0
- data/spec/models/frequency_spec.rb +1 -1
- data/spec/models/funding_transaction_type_spec.rb +1 -1
- data/spec/models/industry_specific_extensions_spec.rb +1 -1
- data/spec/models/installment_options_spec.rb +1 -1
- data/spec/models/{payment_issuer_response_spec.rb → issuer_response_spec.rb} +7 -7
- data/spec/models/{device_networks_spec.rb → items_spec.rb} +7 -7
- data/spec/models/{merchant_location_spec.rb → location_spec.rb} +7 -7
- data/spec/models/lockout_time_spec.rb +47 -0
- data/spec/models/lodging_extra_charges_spec.rb +1 -1
- data/spec/models/lodging_spec.rb +1 -1
- data/spec/models/loyalty_spec.rb +1 -1
- data/spec/models/maximum_purchase_amount_spec.rb +47 -0
- data/spec/models/merchant_spec.rb +1 -1
- data/spec/models/{payment_pay_method_spec.rb → method_spec.rb} +7 -7
- data/spec/models/order_error_response_spec.rb +2 -14
- data/spec/models/order_response_spec.rb +2 -14
- data/spec/models/order_spec.rb +7 -1
- data/spec/models/pay_pal_payment_method_all_of_spec.rb +1 -1
- data/spec/models/pay_pal_payment_method_spec.rb +1 -1
- data/spec/models/pay_pal_spec.rb +1 -1
- data/spec/models/payment_card_credit_transaction_spec.rb +1 -1
- data/spec/models/payment_card_disbursement_transaction_all_of_spec.rb +1 -1
- data/spec/models/payment_card_disbursement_transaction_spec.rb +1 -1
- data/spec/models/payment_card_forced_ticket_transaction_all_of_spec.rb +1 -1
- data/spec/models/payment_card_forced_ticket_transaction_spec.rb +1 -1
- data/spec/models/payment_card_payer_auth_transaction_all_of_spec.rb +1 -1
- data/spec/models/payment_card_payer_auth_transaction_spec.rb +1 -1
- data/spec/models/payment_card_payment_method_all_of_spec.rb +1 -1
- data/spec/models/payment_card_payment_method_spec.rb +1 -1
- data/spec/models/payment_card_payment_tokenization_request_all_of_spec.rb +1 -1
- data/spec/models/payment_card_payment_tokenization_request_spec.rb +1 -1
- data/spec/models/payment_card_pre_auth_transaction_all_of_spec.rb +1 -1
- data/spec/models/payment_card_pre_auth_transaction_spec.rb +1 -1
- data/spec/models/payment_card_sale_transaction_all_of_spec.rb +1 -1
- data/spec/models/payment_card_sale_transaction_spec.rb +1 -1
- data/spec/models/payment_card_spec.rb +1 -1
- data/spec/models/payment_device_credit_transaction_all_of_spec.rb +41 -0
- data/spec/models/payment_device_credit_transaction_spec.rb +41 -0
- data/spec/models/payment_device_disbursement_transaction_all_of_spec.rb +47 -0
- data/spec/models/payment_device_disbursement_transaction_spec.rb +47 -0
- data/spec/models/payment_device_payment_method_all_of_spec.rb +47 -0
- data/spec/models/payment_device_payment_method_spec.rb +47 -0
- data/spec/models/payment_device_payment_tokenization_request_all_of_spec.rb +41 -0
- data/spec/models/payment_device_payment_tokenization_request_spec.rb +41 -0
- data/spec/models/payment_device_pre_auth_transaction_all_of_spec.rb +65 -0
- data/spec/models/payment_device_pre_auth_transaction_spec.rb +65 -0
- data/spec/models/payment_device_sale_transaction_all_of_spec.rb +53 -0
- data/spec/models/payment_device_sale_transaction_spec.rb +53 -0
- data/spec/models/payment_device_spec.rb +75 -0
- data/spec/models/payment_facilitator_spec.rb +1 -1
- data/spec/models/payment_method_details_spec.rb +1 -1
- data/spec/models/payment_method_payment_schedules_request_all_of_spec.rb +1 -1
- data/spec/models/payment_method_payment_schedules_request_spec.rb +1 -1
- data/spec/models/payment_method_type_spec.rb +1 -1
- data/spec/models/payment_registration_spec.rb +107 -0
- data/spec/models/payment_schedules_error_response_spec.rb +1 -1
- data/spec/models/payment_schedules_request_spec.rb +1 -1
- data/spec/models/payment_schedules_response_spec.rb +1 -1
- data/spec/models/payment_spec.rb +3 -3
- data/spec/models/payment_token_credit_transaction_all_of_spec.rb +1 -1
- data/spec/models/payment_token_credit_transaction_spec.rb +1 -1
- data/spec/models/payment_token_details_all_of_spec.rb +1 -1
- data/spec/models/payment_token_details_spec.rb +1 -1
- data/spec/models/payment_token_disbursement_transaction_all_of_spec.rb +1 -1
- data/spec/models/payment_token_disbursement_transaction_spec.rb +1 -1
- data/spec/models/payment_token_payment_method_all_of_spec.rb +1 -1
- data/spec/models/payment_token_payment_method_spec.rb +1 -1
- data/spec/models/payment_token_pre_auth_transaction_all_of_spec.rb +1 -1
- data/spec/models/payment_token_pre_auth_transaction_spec.rb +1 -1
- data/spec/models/payment_token_sale_transaction_all_of_spec.rb +1 -1
- data/spec/models/payment_token_sale_transaction_spec.rb +1 -1
- data/spec/models/payment_tokenization_error_response_spec.rb +1 -1
- data/spec/models/payment_tokenization_request_spec.rb +1 -1
- data/spec/models/payment_tokenization_response_spec.rb +1 -1
- data/spec/models/payment_url_detail_response_spec.rb +59 -0
- data/spec/models/payment_url_detail_spec.rb +65 -0
- data/spec/models/payment_url_error_response_spec.rb +1 -1
- data/spec/models/payment_url_request_spec.rb +1 -1
- data/spec/models/payment_url_response_spec.rb +1 -1
- data/spec/models/payment_url_status_spec.rb +35 -0
- data/spec/models/paypal_credit_transaction_all_of_spec.rb +1 -1
- data/spec/models/paypal_credit_transaction_spec.rb +1 -1
- data/spec/models/{billing_address_phone_spec.rb → phone_spec.rb} +7 -7
- data/spec/models/post_auth_transaction_all_of_spec.rb +1 -1
- data/spec/models/post_auth_transaction_spec.rb +1 -1
- data/spec/models/primary_transaction_spec.rb +1 -1
- data/spec/models/processor_data_spec.rb +14 -2
- data/spec/models/purchase_cards_level2_spec.rb +1 -1
- data/spec/models/purchase_cards_level3_line_items_spec.rb +1 -1
- data/spec/models/purchase_cards_level3_spec.rb +1 -1
- data/spec/models/purchase_cards_spec.rb +1 -1
- data/spec/models/receiver_info_spec.rb +1 -1
- data/spec/models/recurring_payment_details_response_spec.rb +2 -14
- data/spec/models/recurring_payment_details_spec.rb +1 -1
- data/spec/models/referenced_order_payment_schedules_request_all_of_spec.rb +1 -1
- data/spec/models/referenced_order_payment_schedules_request_spec.rb +1 -1
- data/spec/models/referenced_order_payment_tokenization_request_all_of_spec.rb +1 -1
- data/spec/models/referenced_order_payment_tokenization_request_spec.rb +1 -1
- data/spec/models/registration_method_spec.rb +81 -0
- data/spec/models/remove_fraud_blocked_items_response_spec.rb +59 -0
- data/spec/models/response_amount_components_all_of_spec.rb +1 -1
- data/spec/models/response_amount_components_spec.rb +1 -1
- data/spec/models/response_type_spec.rb +1 -1
- data/spec/models/return_transaction_all_of_spec.rb +1 -1
- data/spec/models/return_transaction_spec.rb +1 -1
- data/spec/models/score_only_request_spec.rb +1 -5
- data/spec/models/score_only_response_fraud_score_explanations_spec.rb +1 -1
- data/spec/models/score_only_response_fraud_score_spec.rb +1 -1
- data/spec/models/score_only_response_spec.rb +1 -1
- data/spec/models/secondary_transaction_spec.rb +1 -1
- data/spec/models/secure3_d10_authentication_result_all_of_spec.rb +1 -1
- data/spec/models/secure3_d10_authentication_result_spec.rb +1 -1
- data/spec/models/secure3_d21_authentication_result_all_of_spec.rb +1 -1
- data/spec/models/secure3_d21_authentication_result_spec.rb +1 -1
- data/spec/models/secure3d_authentication_request_spec.rb +1 -1
- data/spec/models/secure3d_authentication_verification_request_all_of_spec.rb +1 -1
- data/spec/models/secure3d_authentication_verification_request_spec.rb +1 -1
- data/spec/models/secure3d_response_spec.rb +1 -1
- data/spec/models/sender_info_spec.rb +1 -1
- data/spec/models/sepa_mandate_spec.rb +1 -1
- data/spec/models/sepa_payment_method_all_of_spec.rb +1 -1
- data/spec/models/sepa_payment_method_spec.rb +1 -1
- data/spec/models/sepa_sale_transaction_all_of_spec.rb +1 -1
- data/spec/models/sepa_sale_transaction_spec.rb +1 -1
- data/spec/models/sepa_spec.rb +1 -1
- data/spec/models/shared_secret_configuration_request_spec.rb +41 -0
- data/spec/models/shared_secret_configuration_response_spec.rb +77 -0
- data/spec/models/{fraud_order_ship_to_address_spec.rb → ship_to_address_spec.rb} +7 -7
- data/spec/models/shipping_spec.rb +1 -1
- data/spec/models/soft_descriptor_spec.rb +1 -1
- data/spec/models/split_shipment_spec.rb +1 -1
- data/spec/models/store_fraud_settings_result_spec.rb +53 -0
- data/spec/models/store_fraud_settings_spec.rb +47 -0
- data/spec/models/store_url_configuration_request_spec.rb +41 -0
- data/spec/models/store_url_configuration_response_spec.rb +59 -0
- data/spec/models/store_url_configuration_result_spec.rb +47 -0
- data/spec/models/store_url_configuration_spec.rb +83 -0
- data/spec/models/stored_credential_spec.rb +1 -1
- data/spec/models/sub_merchant_data_spec.rb +1 -1
- data/spec/models/sub_merchant_split_spec.rb +1 -1
- data/spec/models/token_identifier_spec.rb +41 -0
- data/spec/models/transaction_error_response_spec.rb +1 -1
- data/spec/models/transaction_origin_spec.rb +1 -1
- data/spec/models/transaction_response_spec.rb +1 -1
- data/spec/models/transaction_type_spec.rb +1 -1
- data/spec/models/union_pay_authentication_request_all_of_spec.rb +1 -1
- data/spec/models/union_pay_authentication_request_spec.rb +1 -1
- data/spec/models/union_pay_authentication_verification_request_all_of_spec.rb +1 -1
- data/spec/models/union_pay_authentication_verification_request_spec.rb +1 -1
- data/spec/models/update_fraud_settings_request_spec.rb +41 -0
- data/spec/models/update_fraud_settings_response_spec.rb +59 -0
- data/spec/models/use_payment_token_spec.rb +13 -1
- data/spec/models/{payment_verification_avs_spec.rb → verification3ds_spec.rb} +7 -7
- data/spec/models/{payment_verification_cvv_spec.rb → verification_avs_spec.rb} +7 -7
- data/spec/models/{payment_verification3ds_spec.rb → verification_cvv_spec.rb} +7 -7
- data/spec/models/void_transaction_spec.rb +1 -1
- data/spec/models/wallet_payment_method_spec.rb +1 -1
- data/spec/models/wallet_pre_auth_transaction_all_of_spec.rb +1 -1
- data/spec/models/wallet_pre_auth_transaction_spec.rb +1 -1
- data/spec/models/wallet_sale_transaction_all_of_spec.rb +1 -1
- data/spec/models/wallet_sale_transaction_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +259 -39
- data/Gemfile.lock +0 -79
- data/docs/BillingAddressPhone.md +0 -19
- data/docs/MerchantLocationMerchantAddress.md +0 -27
- data/docs/Transaction.md +0 -39
|
@@ -3,7 +3,7 @@
|
|
|
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.9.1.20191223.002
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: unset
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module OpenapiClient
|
|
16
16
|
# Request to create pre-auth transaction using decrypted card details from payment device. The transaction origin will be fixed as PHONE when data is manually entered into the device and as RETAIL when data is entered into the device via swipe.
|
|
17
|
-
class PaymentDevicePreAuthTransaction
|
|
17
|
+
class PaymentDevicePreAuthTransaction < PrimaryTransaction
|
|
18
18
|
# Object name of the primary transaction request.
|
|
19
19
|
attr_accessor :request_type
|
|
20
20
|
|
|
@@ -98,6 +98,9 @@ module OpenapiClient
|
|
|
98
98
|
h[k.to_sym] = v
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
# call parent's initialize
|
|
102
|
+
super(attributes)
|
|
103
|
+
|
|
101
104
|
if attributes.key?(:'request_type')
|
|
102
105
|
self.request_type = attributes[:'request_type']
|
|
103
106
|
end
|
|
@@ -148,15 +151,7 @@ module OpenapiClient
|
|
|
148
151
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
149
152
|
# @return Array for valid properties with the reasons
|
|
150
153
|
def list_invalid_properties
|
|
151
|
-
invalid_properties =
|
|
152
|
-
if @request_type.nil?
|
|
153
|
-
invalid_properties.push('invalid value for "request_type", request_type cannot be nil.')
|
|
154
|
-
end
|
|
155
|
-
|
|
156
|
-
if @transaction_amount.nil?
|
|
157
|
-
invalid_properties.push('invalid value for "transaction_amount", transaction_amount cannot be nil.')
|
|
158
|
-
end
|
|
159
|
-
|
|
154
|
+
invalid_properties = super
|
|
160
155
|
if !@store_id.nil? && @store_id.to_s.length > 20
|
|
161
156
|
invalid_properties.push('invalid value for "store_id", the character length must be smaller than or equal to 20.')
|
|
162
157
|
end
|
|
@@ -175,12 +170,10 @@ module OpenapiClient
|
|
|
175
170
|
# Check to see if the all the properties in the model are valid
|
|
176
171
|
# @return true if the model is valid
|
|
177
172
|
def valid?
|
|
178
|
-
return false if @request_type.nil?
|
|
179
|
-
return false if @transaction_amount.nil?
|
|
180
173
|
return false if !@store_id.nil? && @store_id.to_s.length > 20
|
|
181
174
|
return false if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
|
|
182
175
|
return false if @payment_method.nil?
|
|
183
|
-
true
|
|
176
|
+
true && super
|
|
184
177
|
end
|
|
185
178
|
|
|
186
179
|
# Custom attribute writer method with validation
|
|
@@ -218,7 +211,7 @@ module OpenapiClient
|
|
|
218
211
|
create_token == o.create_token &&
|
|
219
212
|
settlement_split == o.settlement_split &&
|
|
220
213
|
stored_credentials == o.stored_credentials &&
|
|
221
|
-
split_shipment == o.split_shipment
|
|
214
|
+
split_shipment == o.split_shipment && super(o)
|
|
222
215
|
end
|
|
223
216
|
|
|
224
217
|
# @see the `==` method
|
|
@@ -245,6 +238,7 @@ module OpenapiClient
|
|
|
245
238
|
# @return [Object] Returns the model itself
|
|
246
239
|
def build_from_hash(attributes)
|
|
247
240
|
return nil unless attributes.is_a?(Hash)
|
|
241
|
+
super(attributes)
|
|
248
242
|
self.class.openapi_types.each_pair do |key, type|
|
|
249
243
|
if type =~ /\AArray<(.*)>/i
|
|
250
244
|
# check to ensure the input is an array given that the attribute
|
|
@@ -316,7 +310,7 @@ module OpenapiClient
|
|
|
316
310
|
# Returns the object in the form of hash
|
|
317
311
|
# @return [Hash] Returns the object in the form of hash
|
|
318
312
|
def to_hash
|
|
319
|
-
hash =
|
|
313
|
+
hash = super
|
|
320
314
|
self.class.attribute_map.each_pair do |attr, param|
|
|
321
315
|
value = self.send(attr)
|
|
322
316
|
next if value.nil?
|
|
@@ -3,7 +3,7 @@
|
|
|
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.9.1.20191223.002
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: unset
|
|
@@ -14,6 +14,21 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module OpenapiClient
|
|
16
16
|
class PaymentDevicePreAuthTransactionAllOf
|
|
17
|
+
# Object name of the primary transaction request.
|
|
18
|
+
attr_accessor :request_type
|
|
19
|
+
|
|
20
|
+
attr_accessor :transaction_amount
|
|
21
|
+
|
|
22
|
+
# An optional outlet ID for clients that support multiple stores in the same app.
|
|
23
|
+
attr_accessor :store_id
|
|
24
|
+
|
|
25
|
+
# The unique merchant transaction ID from the request header, if supplied.
|
|
26
|
+
attr_accessor :merchant_transaction_id
|
|
27
|
+
|
|
28
|
+
attr_accessor :transaction_origin
|
|
29
|
+
|
|
30
|
+
attr_accessor :order
|
|
31
|
+
|
|
17
32
|
attr_accessor :payment_method
|
|
18
33
|
|
|
19
34
|
attr_accessor :create_token
|
|
@@ -28,6 +43,12 @@ module OpenapiClient
|
|
|
28
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
44
|
def self.attribute_map
|
|
30
45
|
{
|
|
46
|
+
:'request_type' => :'requestType',
|
|
47
|
+
:'transaction_amount' => :'transactionAmount',
|
|
48
|
+
:'store_id' => :'storeId',
|
|
49
|
+
:'merchant_transaction_id' => :'merchantTransactionId',
|
|
50
|
+
:'transaction_origin' => :'transactionOrigin',
|
|
51
|
+
:'order' => :'order',
|
|
31
52
|
:'payment_method' => :'paymentMethod',
|
|
32
53
|
:'create_token' => :'createToken',
|
|
33
54
|
:'settlement_split' => :'settlementSplit',
|
|
@@ -39,6 +60,12 @@ module OpenapiClient
|
|
|
39
60
|
# Attribute type mapping.
|
|
40
61
|
def self.openapi_types
|
|
41
62
|
{
|
|
63
|
+
:'request_type' => :'String',
|
|
64
|
+
:'transaction_amount' => :'Amount',
|
|
65
|
+
:'store_id' => :'String',
|
|
66
|
+
:'merchant_transaction_id' => :'String',
|
|
67
|
+
:'transaction_origin' => :'TransactionOrigin',
|
|
68
|
+
:'order' => :'Order',
|
|
42
69
|
:'payment_method' => :'PaymentDevicePaymentMethod',
|
|
43
70
|
:'create_token' => :'CreatePaymentToken',
|
|
44
71
|
:'settlement_split' => :'Array<SubMerchantSplit>',
|
|
@@ -62,6 +89,30 @@ module OpenapiClient
|
|
|
62
89
|
h[k.to_sym] = v
|
|
63
90
|
}
|
|
64
91
|
|
|
92
|
+
if attributes.key?(:'request_type')
|
|
93
|
+
self.request_type = attributes[:'request_type']
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
if attributes.key?(:'transaction_amount')
|
|
97
|
+
self.transaction_amount = attributes[:'transaction_amount']
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
if attributes.key?(:'store_id')
|
|
101
|
+
self.store_id = attributes[:'store_id']
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
if attributes.key?(:'merchant_transaction_id')
|
|
105
|
+
self.merchant_transaction_id = attributes[:'merchant_transaction_id']
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
if attributes.key?(:'transaction_origin')
|
|
109
|
+
self.transaction_origin = attributes[:'transaction_origin']
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
if attributes.key?(:'order')
|
|
113
|
+
self.order = attributes[:'order']
|
|
114
|
+
end
|
|
115
|
+
|
|
65
116
|
if attributes.key?(:'payment_method')
|
|
66
117
|
self.payment_method = attributes[:'payment_method']
|
|
67
118
|
end
|
|
@@ -89,6 +140,14 @@ module OpenapiClient
|
|
|
89
140
|
# @return Array for valid properties with the reasons
|
|
90
141
|
def list_invalid_properties
|
|
91
142
|
invalid_properties = Array.new
|
|
143
|
+
if !@store_id.nil? && @store_id.to_s.length > 20
|
|
144
|
+
invalid_properties.push('invalid value for "store_id", the character length must be smaller than or equal to 20.')
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
|
|
148
|
+
invalid_properties.push('invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.')
|
|
149
|
+
end
|
|
150
|
+
|
|
92
151
|
if @payment_method.nil?
|
|
93
152
|
invalid_properties.push('invalid value for "payment_method", payment_method cannot be nil.')
|
|
94
153
|
end
|
|
@@ -99,15 +158,43 @@ module OpenapiClient
|
|
|
99
158
|
# Check to see if the all the properties in the model are valid
|
|
100
159
|
# @return true if the model is valid
|
|
101
160
|
def valid?
|
|
161
|
+
return false if !@store_id.nil? && @store_id.to_s.length > 20
|
|
162
|
+
return false if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
|
|
102
163
|
return false if @payment_method.nil?
|
|
103
164
|
true
|
|
104
165
|
end
|
|
105
166
|
|
|
167
|
+
# Custom attribute writer method with validation
|
|
168
|
+
# @param [Object] store_id Value to be assigned
|
|
169
|
+
def store_id=(store_id)
|
|
170
|
+
if !store_id.nil? && store_id.to_s.length > 20
|
|
171
|
+
fail ArgumentError, 'invalid value for "store_id", the character length must be smaller than or equal to 20.'
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
@store_id = store_id
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Custom attribute writer method with validation
|
|
178
|
+
# @param [Object] merchant_transaction_id Value to be assigned
|
|
179
|
+
def merchant_transaction_id=(merchant_transaction_id)
|
|
180
|
+
if !merchant_transaction_id.nil? && merchant_transaction_id.to_s.length > 40
|
|
181
|
+
fail ArgumentError, 'invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.'
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
@merchant_transaction_id = merchant_transaction_id
|
|
185
|
+
end
|
|
186
|
+
|
|
106
187
|
# Checks equality by comparing each attribute.
|
|
107
188
|
# @param [Object] Object to be compared
|
|
108
189
|
def ==(o)
|
|
109
190
|
return true if self.equal?(o)
|
|
110
191
|
self.class == o.class &&
|
|
192
|
+
request_type == o.request_type &&
|
|
193
|
+
transaction_amount == o.transaction_amount &&
|
|
194
|
+
store_id == o.store_id &&
|
|
195
|
+
merchant_transaction_id == o.merchant_transaction_id &&
|
|
196
|
+
transaction_origin == o.transaction_origin &&
|
|
197
|
+
order == o.order &&
|
|
111
198
|
payment_method == o.payment_method &&
|
|
112
199
|
create_token == o.create_token &&
|
|
113
200
|
settlement_split == o.settlement_split &&
|
|
@@ -124,7 +211,7 @@ module OpenapiClient
|
|
|
124
211
|
# Calculates hash code according to all attributes.
|
|
125
212
|
# @return [Integer] Hash code
|
|
126
213
|
def hash
|
|
127
|
-
[payment_method, create_token, settlement_split, stored_credentials, split_shipment].hash
|
|
214
|
+
[request_type, transaction_amount, store_id, merchant_transaction_id, transaction_origin, order, payment_method, create_token, settlement_split, stored_credentials, split_shipment].hash
|
|
128
215
|
end
|
|
129
216
|
|
|
130
217
|
# Builds the object from hash
|
|
@@ -3,7 +3,7 @@
|
|
|
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.9.1.20191223.002
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: unset
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module OpenapiClient
|
|
16
16
|
# Request to create sale transaction using decrypted card details from payment device. The transaction origin will be fixed as PHONE when data is manually entered into the device and as RETAIL when data is entered into the device via swipe.
|
|
17
|
-
class PaymentDeviceSaleTransaction
|
|
17
|
+
class PaymentDeviceSaleTransaction < PrimaryTransaction
|
|
18
18
|
# Object name of the primary transaction request.
|
|
19
19
|
attr_accessor :request_type
|
|
20
20
|
|
|
@@ -89,6 +89,9 @@ module OpenapiClient
|
|
|
89
89
|
h[k.to_sym] = v
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
# call parent's initialize
|
|
93
|
+
super(attributes)
|
|
94
|
+
|
|
92
95
|
if attributes.key?(:'request_type')
|
|
93
96
|
self.request_type = attributes[:'request_type']
|
|
94
97
|
end
|
|
@@ -129,15 +132,7 @@ module OpenapiClient
|
|
|
129
132
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
130
133
|
# @return Array for valid properties with the reasons
|
|
131
134
|
def list_invalid_properties
|
|
132
|
-
invalid_properties =
|
|
133
|
-
if @request_type.nil?
|
|
134
|
-
invalid_properties.push('invalid value for "request_type", request_type cannot be nil.')
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
if @transaction_amount.nil?
|
|
138
|
-
invalid_properties.push('invalid value for "transaction_amount", transaction_amount cannot be nil.')
|
|
139
|
-
end
|
|
140
|
-
|
|
135
|
+
invalid_properties = super
|
|
141
136
|
if !@store_id.nil? && @store_id.to_s.length > 20
|
|
142
137
|
invalid_properties.push('invalid value for "store_id", the character length must be smaller than or equal to 20.')
|
|
143
138
|
end
|
|
@@ -156,12 +151,10 @@ module OpenapiClient
|
|
|
156
151
|
# Check to see if the all the properties in the model are valid
|
|
157
152
|
# @return true if the model is valid
|
|
158
153
|
def valid?
|
|
159
|
-
return false if @request_type.nil?
|
|
160
|
-
return false if @transaction_amount.nil?
|
|
161
154
|
return false if !@store_id.nil? && @store_id.to_s.length > 20
|
|
162
155
|
return false if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
|
|
163
156
|
return false if @payment_method.nil?
|
|
164
|
-
true
|
|
157
|
+
true && super
|
|
165
158
|
end
|
|
166
159
|
|
|
167
160
|
# Custom attribute writer method with validation
|
|
@@ -197,7 +190,7 @@ module OpenapiClient
|
|
|
197
190
|
order == o.order &&
|
|
198
191
|
payment_method == o.payment_method &&
|
|
199
192
|
create_token == o.create_token &&
|
|
200
|
-
stored_credentials == o.stored_credentials
|
|
193
|
+
stored_credentials == o.stored_credentials && super(o)
|
|
201
194
|
end
|
|
202
195
|
|
|
203
196
|
# @see the `==` method
|
|
@@ -224,6 +217,7 @@ module OpenapiClient
|
|
|
224
217
|
# @return [Object] Returns the model itself
|
|
225
218
|
def build_from_hash(attributes)
|
|
226
219
|
return nil unless attributes.is_a?(Hash)
|
|
220
|
+
super(attributes)
|
|
227
221
|
self.class.openapi_types.each_pair do |key, type|
|
|
228
222
|
if type =~ /\AArray<(.*)>/i
|
|
229
223
|
# check to ensure the input is an array given that the attribute
|
|
@@ -295,7 +289,7 @@ module OpenapiClient
|
|
|
295
289
|
# Returns the object in the form of hash
|
|
296
290
|
# @return [Hash] Returns the object in the form of hash
|
|
297
291
|
def to_hash
|
|
298
|
-
hash =
|
|
292
|
+
hash = super
|
|
299
293
|
self.class.attribute_map.each_pair do |attr, param|
|
|
300
294
|
value = self.send(attr)
|
|
301
295
|
next if value.nil?
|
|
@@ -3,7 +3,7 @@
|
|
|
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.9.1.20191223.002
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: unset
|
|
@@ -14,6 +14,21 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module OpenapiClient
|
|
16
16
|
class PaymentDeviceSaleTransactionAllOf
|
|
17
|
+
# Object name of the primary transaction request.
|
|
18
|
+
attr_accessor :request_type
|
|
19
|
+
|
|
20
|
+
attr_accessor :transaction_amount
|
|
21
|
+
|
|
22
|
+
# An optional outlet ID for clients that support multiple stores in the same app.
|
|
23
|
+
attr_accessor :store_id
|
|
24
|
+
|
|
25
|
+
# The unique merchant transaction ID from the request header, if supplied.
|
|
26
|
+
attr_accessor :merchant_transaction_id
|
|
27
|
+
|
|
28
|
+
attr_accessor :transaction_origin
|
|
29
|
+
|
|
30
|
+
attr_accessor :order
|
|
31
|
+
|
|
17
32
|
attr_accessor :payment_method
|
|
18
33
|
|
|
19
34
|
attr_accessor :create_token
|
|
@@ -23,6 +38,12 @@ module OpenapiClient
|
|
|
23
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
39
|
def self.attribute_map
|
|
25
40
|
{
|
|
41
|
+
:'request_type' => :'requestType',
|
|
42
|
+
:'transaction_amount' => :'transactionAmount',
|
|
43
|
+
:'store_id' => :'storeId',
|
|
44
|
+
:'merchant_transaction_id' => :'merchantTransactionId',
|
|
45
|
+
:'transaction_origin' => :'transactionOrigin',
|
|
46
|
+
:'order' => :'order',
|
|
26
47
|
:'payment_method' => :'paymentMethod',
|
|
27
48
|
:'create_token' => :'createToken',
|
|
28
49
|
:'stored_credentials' => :'storedCredentials'
|
|
@@ -32,6 +53,12 @@ module OpenapiClient
|
|
|
32
53
|
# Attribute type mapping.
|
|
33
54
|
def self.openapi_types
|
|
34
55
|
{
|
|
56
|
+
:'request_type' => :'String',
|
|
57
|
+
:'transaction_amount' => :'Amount',
|
|
58
|
+
:'store_id' => :'String',
|
|
59
|
+
:'merchant_transaction_id' => :'String',
|
|
60
|
+
:'transaction_origin' => :'TransactionOrigin',
|
|
61
|
+
:'order' => :'Order',
|
|
35
62
|
:'payment_method' => :'PaymentDevicePaymentMethod',
|
|
36
63
|
:'create_token' => :'CreatePaymentToken',
|
|
37
64
|
:'stored_credentials' => :'StoredCredential'
|
|
@@ -53,6 +80,30 @@ module OpenapiClient
|
|
|
53
80
|
h[k.to_sym] = v
|
|
54
81
|
}
|
|
55
82
|
|
|
83
|
+
if attributes.key?(:'request_type')
|
|
84
|
+
self.request_type = attributes[:'request_type']
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.key?(:'transaction_amount')
|
|
88
|
+
self.transaction_amount = attributes[:'transaction_amount']
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
if attributes.key?(:'store_id')
|
|
92
|
+
self.store_id = attributes[:'store_id']
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes.key?(:'merchant_transaction_id')
|
|
96
|
+
self.merchant_transaction_id = attributes[:'merchant_transaction_id']
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
if attributes.key?(:'transaction_origin')
|
|
100
|
+
self.transaction_origin = attributes[:'transaction_origin']
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
if attributes.key?(:'order')
|
|
104
|
+
self.order = attributes[:'order']
|
|
105
|
+
end
|
|
106
|
+
|
|
56
107
|
if attributes.key?(:'payment_method')
|
|
57
108
|
self.payment_method = attributes[:'payment_method']
|
|
58
109
|
end
|
|
@@ -70,6 +121,14 @@ module OpenapiClient
|
|
|
70
121
|
# @return Array for valid properties with the reasons
|
|
71
122
|
def list_invalid_properties
|
|
72
123
|
invalid_properties = Array.new
|
|
124
|
+
if !@store_id.nil? && @store_id.to_s.length > 20
|
|
125
|
+
invalid_properties.push('invalid value for "store_id", the character length must be smaller than or equal to 20.')
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
|
|
129
|
+
invalid_properties.push('invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.')
|
|
130
|
+
end
|
|
131
|
+
|
|
73
132
|
if @payment_method.nil?
|
|
74
133
|
invalid_properties.push('invalid value for "payment_method", payment_method cannot be nil.')
|
|
75
134
|
end
|
|
@@ -80,15 +139,43 @@ module OpenapiClient
|
|
|
80
139
|
# Check to see if the all the properties in the model are valid
|
|
81
140
|
# @return true if the model is valid
|
|
82
141
|
def valid?
|
|
142
|
+
return false if !@store_id.nil? && @store_id.to_s.length > 20
|
|
143
|
+
return false if !@merchant_transaction_id.nil? && @merchant_transaction_id.to_s.length > 40
|
|
83
144
|
return false if @payment_method.nil?
|
|
84
145
|
true
|
|
85
146
|
end
|
|
86
147
|
|
|
148
|
+
# Custom attribute writer method with validation
|
|
149
|
+
# @param [Object] store_id Value to be assigned
|
|
150
|
+
def store_id=(store_id)
|
|
151
|
+
if !store_id.nil? && store_id.to_s.length > 20
|
|
152
|
+
fail ArgumentError, 'invalid value for "store_id", the character length must be smaller than or equal to 20.'
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
@store_id = store_id
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# Custom attribute writer method with validation
|
|
159
|
+
# @param [Object] merchant_transaction_id Value to be assigned
|
|
160
|
+
def merchant_transaction_id=(merchant_transaction_id)
|
|
161
|
+
if !merchant_transaction_id.nil? && merchant_transaction_id.to_s.length > 40
|
|
162
|
+
fail ArgumentError, 'invalid value for "merchant_transaction_id", the character length must be smaller than or equal to 40.'
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
@merchant_transaction_id = merchant_transaction_id
|
|
166
|
+
end
|
|
167
|
+
|
|
87
168
|
# Checks equality by comparing each attribute.
|
|
88
169
|
# @param [Object] Object to be compared
|
|
89
170
|
def ==(o)
|
|
90
171
|
return true if self.equal?(o)
|
|
91
172
|
self.class == o.class &&
|
|
173
|
+
request_type == o.request_type &&
|
|
174
|
+
transaction_amount == o.transaction_amount &&
|
|
175
|
+
store_id == o.store_id &&
|
|
176
|
+
merchant_transaction_id == o.merchant_transaction_id &&
|
|
177
|
+
transaction_origin == o.transaction_origin &&
|
|
178
|
+
order == o.order &&
|
|
92
179
|
payment_method == o.payment_method &&
|
|
93
180
|
create_token == o.create_token &&
|
|
94
181
|
stored_credentials == o.stored_credentials
|
|
@@ -103,7 +190,7 @@ module OpenapiClient
|
|
|
103
190
|
# Calculates hash code according to all attributes.
|
|
104
191
|
# @return [Integer] Hash code
|
|
105
192
|
def hash
|
|
106
|
-
[payment_method, create_token, stored_credentials].hash
|
|
193
|
+
[request_type, transaction_amount, store_id, merchant_transaction_id, transaction_origin, order, payment_method, create_token, stored_credentials].hash
|
|
107
194
|
end
|
|
108
195
|
|
|
109
196
|
# Builds the object from hash
|