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
|
|
@@ -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
|
|
@@ -41,6 +41,12 @@ module OpenapiClient
|
|
|
41
41
|
# Code to map merchant advice code to ISO specification.
|
|
42
42
|
attr_accessor :merchant_advice_code_indicator
|
|
43
43
|
|
|
44
|
+
# Indicates whether the transaction was routed through the payment card's own network or through a different network.
|
|
45
|
+
attr_accessor :response_indicator
|
|
46
|
+
|
|
47
|
+
# Receipt number from debit network provider.
|
|
48
|
+
attr_accessor :debit_receipt_number
|
|
49
|
+
|
|
44
50
|
class EnumAttributeValidator
|
|
45
51
|
attr_reader :datatype
|
|
46
52
|
attr_reader :allowable_values
|
|
@@ -74,7 +80,9 @@ module OpenapiClient
|
|
|
74
80
|
:'response_message' => :'responseMessage',
|
|
75
81
|
:'avs_response' => :'avsResponse',
|
|
76
82
|
:'security_code_response' => :'securityCodeResponse',
|
|
77
|
-
:'merchant_advice_code_indicator' => :'merchantAdviceCodeIndicator'
|
|
83
|
+
:'merchant_advice_code_indicator' => :'merchantAdviceCodeIndicator',
|
|
84
|
+
:'response_indicator' => :'responseIndicator',
|
|
85
|
+
:'debit_receipt_number' => :'debitReceiptNumber'
|
|
78
86
|
}
|
|
79
87
|
end
|
|
80
88
|
|
|
@@ -89,7 +97,9 @@ module OpenapiClient
|
|
|
89
97
|
:'response_message' => :'String',
|
|
90
98
|
:'avs_response' => :'AVSResponse',
|
|
91
99
|
:'security_code_response' => :'String',
|
|
92
|
-
:'merchant_advice_code_indicator' => :'String'
|
|
100
|
+
:'merchant_advice_code_indicator' => :'String',
|
|
101
|
+
:'response_indicator' => :'String',
|
|
102
|
+
:'debit_receipt_number' => :'String'
|
|
93
103
|
}
|
|
94
104
|
end
|
|
95
105
|
|
|
@@ -143,6 +153,14 @@ module OpenapiClient
|
|
|
143
153
|
if attributes.key?(:'merchant_advice_code_indicator')
|
|
144
154
|
self.merchant_advice_code_indicator = attributes[:'merchant_advice_code_indicator']
|
|
145
155
|
end
|
|
156
|
+
|
|
157
|
+
if attributes.key?(:'response_indicator')
|
|
158
|
+
self.response_indicator = attributes[:'response_indicator']
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
if attributes.key?(:'debit_receipt_number')
|
|
162
|
+
self.debit_receipt_number = attributes[:'debit_receipt_number']
|
|
163
|
+
end
|
|
146
164
|
end
|
|
147
165
|
|
|
148
166
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -160,7 +178,7 @@ module OpenapiClient
|
|
|
160
178
|
# Check to see if the all the properties in the model are valid
|
|
161
179
|
# @return true if the model is valid
|
|
162
180
|
def valid?
|
|
163
|
-
security_code_response_validator = EnumAttributeValidator.new('String', ["MATCHED", "NOT_MATCHED", "NOT_PROCESSED", "NOT_PRESENT", "NOT_CERTIFIED"])
|
|
181
|
+
security_code_response_validator = EnumAttributeValidator.new('String', ["MATCHED", "NOT_MATCHED", "NOT_PROCESSED", "NOT_PRESENT", "NOT_CERTIFIED", "NOT_CHECKED"])
|
|
164
182
|
return false unless security_code_response_validator.valid?(@security_code_response)
|
|
165
183
|
return false if !@merchant_advice_code_indicator.nil? && @merchant_advice_code_indicator !~ Regexp.new(/[0-9]{2}/)
|
|
166
184
|
true
|
|
@@ -169,7 +187,7 @@ module OpenapiClient
|
|
|
169
187
|
# Custom attribute writer method checking allowed values (enum).
|
|
170
188
|
# @param [Object] security_code_response Object to be assigned
|
|
171
189
|
def security_code_response=(security_code_response)
|
|
172
|
-
validator = EnumAttributeValidator.new('String', ["MATCHED", "NOT_MATCHED", "NOT_PROCESSED", "NOT_PRESENT", "NOT_CERTIFIED"])
|
|
190
|
+
validator = EnumAttributeValidator.new('String', ["MATCHED", "NOT_MATCHED", "NOT_PROCESSED", "NOT_PRESENT", "NOT_CERTIFIED", "NOT_CHECKED"])
|
|
173
191
|
unless validator.valid?(security_code_response)
|
|
174
192
|
fail ArgumentError, "invalid value for \"security_code_response\", must be one of #{validator.allowable_values}."
|
|
175
193
|
end
|
|
@@ -200,7 +218,9 @@ module OpenapiClient
|
|
|
200
218
|
response_message == o.response_message &&
|
|
201
219
|
avs_response == o.avs_response &&
|
|
202
220
|
security_code_response == o.security_code_response &&
|
|
203
|
-
merchant_advice_code_indicator == o.merchant_advice_code_indicator
|
|
221
|
+
merchant_advice_code_indicator == o.merchant_advice_code_indicator &&
|
|
222
|
+
response_indicator == o.response_indicator &&
|
|
223
|
+
debit_receipt_number == o.debit_receipt_number
|
|
204
224
|
end
|
|
205
225
|
|
|
206
226
|
# @see the `==` method
|
|
@@ -212,7 +232,7 @@ module OpenapiClient
|
|
|
212
232
|
# Calculates hash code according to all attributes.
|
|
213
233
|
# @return [Integer] Hash code
|
|
214
234
|
def hash
|
|
215
|
-
[reference_number, authorization_code, response_code, network, association_response_code, response_message, avs_response, security_code_response, merchant_advice_code_indicator].hash
|
|
235
|
+
[reference_number, authorization_code, response_code, network, association_response_code, response_message, avs_response, security_code_response, merchant_advice_code_indicator, response_indicator, debit_receipt_number].hash
|
|
216
236
|
end
|
|
217
237
|
|
|
218
238
|
# 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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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 a new payment schedule using a referenced order ID.
|
|
17
|
-
class ReferencedOrderPaymentSchedulesRequest
|
|
17
|
+
class ReferencedOrderPaymentSchedulesRequest < PaymentSchedulesRequest
|
|
18
18
|
# Object name of the payment schedules request.
|
|
19
19
|
attr_accessor :request_type
|
|
20
20
|
|
|
@@ -129,6 +129,9 @@ module OpenapiClient
|
|
|
129
129
|
h[k.to_sym] = v
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
# call parent's initialize
|
|
133
|
+
super(attributes)
|
|
134
|
+
|
|
132
135
|
if attributes.key?(:'request_type')
|
|
133
136
|
self.request_type = attributes[:'request_type']
|
|
134
137
|
end
|
|
@@ -201,19 +204,11 @@ module OpenapiClient
|
|
|
201
204
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
202
205
|
# @return Array for valid properties with the reasons
|
|
203
206
|
def list_invalid_properties
|
|
204
|
-
invalid_properties =
|
|
205
|
-
if @request_type.nil?
|
|
206
|
-
invalid_properties.push('invalid value for "request_type", request_type cannot be nil.')
|
|
207
|
-
end
|
|
208
|
-
|
|
207
|
+
invalid_properties = super
|
|
209
208
|
if !@store_id.nil? && @store_id.to_s.length > 20
|
|
210
209
|
invalid_properties.push('invalid value for "store_id", the character length must be smaller than or equal to 20.')
|
|
211
210
|
end
|
|
212
211
|
|
|
213
|
-
if @start_date.nil?
|
|
214
|
-
invalid_properties.push('invalid value for "start_date", start_date cannot be nil.')
|
|
215
|
-
end
|
|
216
|
-
|
|
217
212
|
if !@number_of_payments.nil? && @number_of_payments > 999
|
|
218
213
|
invalid_properties.push('invalid value for "number_of_payments", must be smaller than or equal to 999.')
|
|
219
214
|
end
|
|
@@ -230,14 +225,6 @@ module OpenapiClient
|
|
|
230
225
|
invalid_properties.push('invalid value for "maximum_failures", must be greater than or equal to 1.')
|
|
231
226
|
end
|
|
232
227
|
|
|
233
|
-
if @frequency.nil?
|
|
234
|
-
invalid_properties.push('invalid value for "frequency", frequency cannot be nil.')
|
|
235
|
-
end
|
|
236
|
-
|
|
237
|
-
if @transaction_amount.nil?
|
|
238
|
-
invalid_properties.push('invalid value for "transaction_amount", transaction_amount cannot be nil.')
|
|
239
|
-
end
|
|
240
|
-
|
|
241
228
|
if @referenced_order_id.nil?
|
|
242
229
|
invalid_properties.push('invalid value for "referenced_order_id", referenced_order_id cannot be nil.')
|
|
243
230
|
end
|
|
@@ -253,18 +240,14 @@ module OpenapiClient
|
|
|
253
240
|
# Check to see if the all the properties in the model are valid
|
|
254
241
|
# @return true if the model is valid
|
|
255
242
|
def valid?
|
|
256
|
-
return false if @request_type.nil?
|
|
257
243
|
return false if !@store_id.nil? && @store_id.to_s.length > 20
|
|
258
|
-
return false if @start_date.nil?
|
|
259
244
|
return false if !@number_of_payments.nil? && @number_of_payments > 999
|
|
260
245
|
return false if !@number_of_payments.nil? && @number_of_payments < 1
|
|
261
246
|
return false if !@maximum_failures.nil? && @maximum_failures > 999
|
|
262
247
|
return false if !@maximum_failures.nil? && @maximum_failures < 1
|
|
263
|
-
return false if @frequency.nil?
|
|
264
|
-
return false if @transaction_amount.nil?
|
|
265
248
|
return false if @referenced_order_id.nil?
|
|
266
249
|
return false if @referenced_order_id !~ Regexp.new(/^(?!\s*$).+/)
|
|
267
|
-
true
|
|
250
|
+
true && super
|
|
268
251
|
end
|
|
269
252
|
|
|
270
253
|
# Custom attribute writer method with validation
|
|
@@ -341,7 +324,7 @@ module OpenapiClient
|
|
|
341
324
|
billing == o.billing &&
|
|
342
325
|
shipping == o.shipping &&
|
|
343
326
|
comments == o.comments &&
|
|
344
|
-
referenced_order_id == o.referenced_order_id
|
|
327
|
+
referenced_order_id == o.referenced_order_id && super(o)
|
|
345
328
|
end
|
|
346
329
|
|
|
347
330
|
# @see the `==` method
|
|
@@ -368,6 +351,7 @@ module OpenapiClient
|
|
|
368
351
|
# @return [Object] Returns the model itself
|
|
369
352
|
def build_from_hash(attributes)
|
|
370
353
|
return nil unless attributes.is_a?(Hash)
|
|
354
|
+
super(attributes)
|
|
371
355
|
self.class.openapi_types.each_pair do |key, type|
|
|
372
356
|
if type =~ /\AArray<(.*)>/i
|
|
373
357
|
# check to ensure the input is an array given that the attribute
|
|
@@ -439,7 +423,7 @@ module OpenapiClient
|
|
|
439
423
|
# Returns the object in the form of hash
|
|
440
424
|
# @return [Hash] Returns the object in the form of hash
|
|
441
425
|
def to_hash
|
|
442
|
-
hash =
|
|
426
|
+
hash = super
|
|
443
427
|
self.class.attribute_map.each_pair do |attr, param|
|
|
444
428
|
value = self.send(attr)
|
|
445
429
|
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,12 +14,70 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module OpenapiClient
|
|
16
16
|
class ReferencedOrderPaymentSchedulesRequestAllOf
|
|
17
|
+
# Object name of the payment schedules request.
|
|
18
|
+
attr_accessor :request_type
|
|
19
|
+
|
|
20
|
+
# Store ID number.
|
|
21
|
+
attr_accessor :store_id
|
|
22
|
+
|
|
23
|
+
# Date of mandate signature.
|
|
24
|
+
attr_accessor :start_date
|
|
25
|
+
|
|
26
|
+
# Number of times the recurring payment will process.
|
|
27
|
+
attr_accessor :number_of_payments
|
|
28
|
+
|
|
29
|
+
# Number of failures that can be encountered before re-tries cease.
|
|
30
|
+
attr_accessor :maximum_failures
|
|
31
|
+
|
|
32
|
+
# Invoice number.
|
|
33
|
+
attr_accessor :invoice_number
|
|
34
|
+
|
|
35
|
+
# Purchase order number.
|
|
36
|
+
attr_accessor :purchase_order_number
|
|
37
|
+
|
|
38
|
+
attr_accessor :transaction_origin
|
|
39
|
+
|
|
40
|
+
# Dynamic merchant name for the cardholder's statement.
|
|
41
|
+
attr_accessor :dynamic_merchant_name
|
|
42
|
+
|
|
43
|
+
attr_accessor :frequency
|
|
44
|
+
|
|
45
|
+
attr_accessor :transaction_amount
|
|
46
|
+
|
|
47
|
+
attr_accessor :client_locale
|
|
48
|
+
|
|
49
|
+
# Client order ID if supplied by client.
|
|
50
|
+
attr_accessor :order_id
|
|
51
|
+
|
|
52
|
+
attr_accessor :billing
|
|
53
|
+
|
|
54
|
+
attr_accessor :shipping
|
|
55
|
+
|
|
56
|
+
# User supplied comments.
|
|
57
|
+
attr_accessor :comments
|
|
58
|
+
|
|
17
59
|
# Order ID used to create recurring payment from existing transaction.
|
|
18
60
|
attr_accessor :referenced_order_id
|
|
19
61
|
|
|
20
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
63
|
def self.attribute_map
|
|
22
64
|
{
|
|
65
|
+
:'request_type' => :'requestType',
|
|
66
|
+
:'store_id' => :'storeId',
|
|
67
|
+
:'start_date' => :'startDate',
|
|
68
|
+
:'number_of_payments' => :'numberOfPayments',
|
|
69
|
+
:'maximum_failures' => :'maximumFailures',
|
|
70
|
+
:'invoice_number' => :'invoiceNumber',
|
|
71
|
+
:'purchase_order_number' => :'purchaseOrderNumber',
|
|
72
|
+
:'transaction_origin' => :'transactionOrigin',
|
|
73
|
+
:'dynamic_merchant_name' => :'dynamicMerchantName',
|
|
74
|
+
:'frequency' => :'frequency',
|
|
75
|
+
:'transaction_amount' => :'transactionAmount',
|
|
76
|
+
:'client_locale' => :'clientLocale',
|
|
77
|
+
:'order_id' => :'orderId',
|
|
78
|
+
:'billing' => :'billing',
|
|
79
|
+
:'shipping' => :'shipping',
|
|
80
|
+
:'comments' => :'comments',
|
|
23
81
|
:'referenced_order_id' => :'referencedOrderId'
|
|
24
82
|
}
|
|
25
83
|
end
|
|
@@ -27,6 +85,22 @@ module OpenapiClient
|
|
|
27
85
|
# Attribute type mapping.
|
|
28
86
|
def self.openapi_types
|
|
29
87
|
{
|
|
88
|
+
:'request_type' => :'String',
|
|
89
|
+
:'store_id' => :'String',
|
|
90
|
+
:'start_date' => :'Date',
|
|
91
|
+
:'number_of_payments' => :'Integer',
|
|
92
|
+
:'maximum_failures' => :'Integer',
|
|
93
|
+
:'invoice_number' => :'String',
|
|
94
|
+
:'purchase_order_number' => :'String',
|
|
95
|
+
:'transaction_origin' => :'TransactionOrigin',
|
|
96
|
+
:'dynamic_merchant_name' => :'String',
|
|
97
|
+
:'frequency' => :'Frequency',
|
|
98
|
+
:'transaction_amount' => :'Amount',
|
|
99
|
+
:'client_locale' => :'ClientLocale',
|
|
100
|
+
:'order_id' => :'String',
|
|
101
|
+
:'billing' => :'Billing',
|
|
102
|
+
:'shipping' => :'Shipping',
|
|
103
|
+
:'comments' => :'String',
|
|
30
104
|
:'referenced_order_id' => :'String'
|
|
31
105
|
}
|
|
32
106
|
end
|
|
@@ -46,6 +120,70 @@ module OpenapiClient
|
|
|
46
120
|
h[k.to_sym] = v
|
|
47
121
|
}
|
|
48
122
|
|
|
123
|
+
if attributes.key?(:'request_type')
|
|
124
|
+
self.request_type = attributes[:'request_type']
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
if attributes.key?(:'store_id')
|
|
128
|
+
self.store_id = attributes[:'store_id']
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
if attributes.key?(:'start_date')
|
|
132
|
+
self.start_date = attributes[:'start_date']
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
if attributes.key?(:'number_of_payments')
|
|
136
|
+
self.number_of_payments = attributes[:'number_of_payments']
|
|
137
|
+
end
|
|
138
|
+
|
|
139
|
+
if attributes.key?(:'maximum_failures')
|
|
140
|
+
self.maximum_failures = attributes[:'maximum_failures']
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
if attributes.key?(:'invoice_number')
|
|
144
|
+
self.invoice_number = attributes[:'invoice_number']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if attributes.key?(:'purchase_order_number')
|
|
148
|
+
self.purchase_order_number = attributes[:'purchase_order_number']
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
if attributes.key?(:'transaction_origin')
|
|
152
|
+
self.transaction_origin = attributes[:'transaction_origin']
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if attributes.key?(:'dynamic_merchant_name')
|
|
156
|
+
self.dynamic_merchant_name = attributes[:'dynamic_merchant_name']
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
if attributes.key?(:'frequency')
|
|
160
|
+
self.frequency = attributes[:'frequency']
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
if attributes.key?(:'transaction_amount')
|
|
164
|
+
self.transaction_amount = attributes[:'transaction_amount']
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
if attributes.key?(:'client_locale')
|
|
168
|
+
self.client_locale = attributes[:'client_locale']
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
if attributes.key?(:'order_id')
|
|
172
|
+
self.order_id = attributes[:'order_id']
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
if attributes.key?(:'billing')
|
|
176
|
+
self.billing = attributes[:'billing']
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
if attributes.key?(:'shipping')
|
|
180
|
+
self.shipping = attributes[:'shipping']
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
if attributes.key?(:'comments')
|
|
184
|
+
self.comments = attributes[:'comments']
|
|
185
|
+
end
|
|
186
|
+
|
|
49
187
|
if attributes.key?(:'referenced_order_id')
|
|
50
188
|
self.referenced_order_id = attributes[:'referenced_order_id']
|
|
51
189
|
end
|
|
@@ -55,6 +193,26 @@ module OpenapiClient
|
|
|
55
193
|
# @return Array for valid properties with the reasons
|
|
56
194
|
def list_invalid_properties
|
|
57
195
|
invalid_properties = Array.new
|
|
196
|
+
if !@store_id.nil? && @store_id.to_s.length > 20
|
|
197
|
+
invalid_properties.push('invalid value for "store_id", the character length must be smaller than or equal to 20.')
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
if !@number_of_payments.nil? && @number_of_payments > 999
|
|
201
|
+
invalid_properties.push('invalid value for "number_of_payments", must be smaller than or equal to 999.')
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
if !@number_of_payments.nil? && @number_of_payments < 1
|
|
205
|
+
invalid_properties.push('invalid value for "number_of_payments", must be greater than or equal to 1.')
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
if !@maximum_failures.nil? && @maximum_failures > 999
|
|
209
|
+
invalid_properties.push('invalid value for "maximum_failures", must be smaller than or equal to 999.')
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
if !@maximum_failures.nil? && @maximum_failures < 1
|
|
213
|
+
invalid_properties.push('invalid value for "maximum_failures", must be greater than or equal to 1.')
|
|
214
|
+
end
|
|
215
|
+
|
|
58
216
|
if @referenced_order_id.nil?
|
|
59
217
|
invalid_properties.push('invalid value for "referenced_order_id", referenced_order_id cannot be nil.')
|
|
60
218
|
end
|
|
@@ -70,11 +228,54 @@ module OpenapiClient
|
|
|
70
228
|
# Check to see if the all the properties in the model are valid
|
|
71
229
|
# @return true if the model is valid
|
|
72
230
|
def valid?
|
|
231
|
+
return false if !@store_id.nil? && @store_id.to_s.length > 20
|
|
232
|
+
return false if !@number_of_payments.nil? && @number_of_payments > 999
|
|
233
|
+
return false if !@number_of_payments.nil? && @number_of_payments < 1
|
|
234
|
+
return false if !@maximum_failures.nil? && @maximum_failures > 999
|
|
235
|
+
return false if !@maximum_failures.nil? && @maximum_failures < 1
|
|
73
236
|
return false if @referenced_order_id.nil?
|
|
74
237
|
return false if @referenced_order_id !~ Regexp.new(/^(?!\s*$).+/)
|
|
75
238
|
true
|
|
76
239
|
end
|
|
77
240
|
|
|
241
|
+
# Custom attribute writer method with validation
|
|
242
|
+
# @param [Object] store_id Value to be assigned
|
|
243
|
+
def store_id=(store_id)
|
|
244
|
+
if !store_id.nil? && store_id.to_s.length > 20
|
|
245
|
+
fail ArgumentError, 'invalid value for "store_id", the character length must be smaller than or equal to 20.'
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
@store_id = store_id
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# Custom attribute writer method with validation
|
|
252
|
+
# @param [Object] number_of_payments Value to be assigned
|
|
253
|
+
def number_of_payments=(number_of_payments)
|
|
254
|
+
if !number_of_payments.nil? && number_of_payments > 999
|
|
255
|
+
fail ArgumentError, 'invalid value for "number_of_payments", must be smaller than or equal to 999.'
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
if !number_of_payments.nil? && number_of_payments < 1
|
|
259
|
+
fail ArgumentError, 'invalid value for "number_of_payments", must be greater than or equal to 1.'
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
@number_of_payments = number_of_payments
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# Custom attribute writer method with validation
|
|
266
|
+
# @param [Object] maximum_failures Value to be assigned
|
|
267
|
+
def maximum_failures=(maximum_failures)
|
|
268
|
+
if !maximum_failures.nil? && maximum_failures > 999
|
|
269
|
+
fail ArgumentError, 'invalid value for "maximum_failures", must be smaller than or equal to 999.'
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
if !maximum_failures.nil? && maximum_failures < 1
|
|
273
|
+
fail ArgumentError, 'invalid value for "maximum_failures", must be greater than or equal to 1.'
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
@maximum_failures = maximum_failures
|
|
277
|
+
end
|
|
278
|
+
|
|
78
279
|
# Custom attribute writer method with validation
|
|
79
280
|
# @param [Object] referenced_order_id Value to be assigned
|
|
80
281
|
def referenced_order_id=(referenced_order_id)
|
|
@@ -95,6 +296,22 @@ module OpenapiClient
|
|
|
95
296
|
def ==(o)
|
|
96
297
|
return true if self.equal?(o)
|
|
97
298
|
self.class == o.class &&
|
|
299
|
+
request_type == o.request_type &&
|
|
300
|
+
store_id == o.store_id &&
|
|
301
|
+
start_date == o.start_date &&
|
|
302
|
+
number_of_payments == o.number_of_payments &&
|
|
303
|
+
maximum_failures == o.maximum_failures &&
|
|
304
|
+
invoice_number == o.invoice_number &&
|
|
305
|
+
purchase_order_number == o.purchase_order_number &&
|
|
306
|
+
transaction_origin == o.transaction_origin &&
|
|
307
|
+
dynamic_merchant_name == o.dynamic_merchant_name &&
|
|
308
|
+
frequency == o.frequency &&
|
|
309
|
+
transaction_amount == o.transaction_amount &&
|
|
310
|
+
client_locale == o.client_locale &&
|
|
311
|
+
order_id == o.order_id &&
|
|
312
|
+
billing == o.billing &&
|
|
313
|
+
shipping == o.shipping &&
|
|
314
|
+
comments == o.comments &&
|
|
98
315
|
referenced_order_id == o.referenced_order_id
|
|
99
316
|
end
|
|
100
317
|
|
|
@@ -107,7 +324,7 @@ module OpenapiClient
|
|
|
107
324
|
# Calculates hash code according to all attributes.
|
|
108
325
|
# @return [Integer] Hash code
|
|
109
326
|
def hash
|
|
110
|
-
[referenced_order_id].hash
|
|
327
|
+
[request_type, store_id, start_date, number_of_payments, maximum_failures, invoice_number, purchase_order_number, transaction_origin, dynamic_merchant_name, frequency, transaction_amount, client_locale, order_id, billing, shipping, comments, referenced_order_id].hash
|
|
111
328
|
end
|
|
112
329
|
|
|
113
330
|
# Builds the object from hash
|