first_data_gateway 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/lib/openapi_client.rb +41 -13
- data/lib/openapi_client/api/authentication_api.rb +2 -2
- data/lib/openapi_client/api/card_info_lookup_api.rb +2 -2
- data/lib/openapi_client/api/card_verification_api.rb +2 -2
- data/lib/openapi_client/api/currency_conversion_api.rb +2 -2
- data/lib/openapi_client/api/fraud_detect_api.rb +214 -4
- data/lib/openapi_client/api/order_api.rb +4 -4
- data/lib/openapi_client/api/payment_api.rb +9 -9
- data/lib/openapi_client/api/payment_schedules_api.rb +5 -5
- data/lib/openapi_client/api/payment_token_api.rb +7 -6
- data/lib/openapi_client/api/payment_url_api.rb +233 -2
- data/lib/openapi_client/api_client.rb +31 -31
- data/lib/openapi_client/api_error.rb +1 -1
- data/lib/openapi_client/configuration.rb +2 -5
- 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 +3 -3
- 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 +1 -1
- data/lib/openapi_client/models/ali_pay_sale_transaction_all_of.rb +1 -1
- 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/basic_response.rb +1 -1
- data/lib/openapi_client/models/billing.rb +1 -1
- data/lib/openapi_client/models/billing_address.rb +2 -2
- 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 +1 -1
- data/lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/client_locale.rb +1 -1
- data/lib/openapi_client/models/client_registration.rb +281 -0
- data/lib/openapi_client/models/contact.rb +1 -1
- 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 +21 -14
- data/lib/openapi_client/models/dcc.rb +1 -1
- data/lib/openapi_client/models/dcc_all_of.rb +1 -1
- data/lib/openapi_client/models/dcc_exchange_rate_request.rb +1 -1
- data/lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb +1 -1
- data/lib/openapi_client/models/device.rb +2 -2
- data/lib/openapi_client/models/disbursement.rb +1 -1
- data/lib/openapi_client/models/disbursement_transaction_type.rb +1 -1
- data/lib/openapi_client/models/document.rb +1 -1
- data/lib/openapi_client/models/dynamic_pricing.rb +13 -4
- data/lib/openapi_client/models/dynamic_pricing_all_of.rb +13 -4
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request.rb +1 -1
- data/lib/openapi_client/models/dynamic_pricing_exchange_rate_request_all_of.rb +1 -1
- 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 +1 -1
- data/lib/openapi_client/models/encrypted_apple_pay_wallet_payment_method_all_of.rb +1 -1
- 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 +1 -1
- data/lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb +1 -1
- data/lib/openapi_client/models/encrypted_samsung_pay.rb +251 -0
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb +225 -0
- data/lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb +201 -0
- 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 +208 -0
- 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 +1 -1
- data/lib/openapi_client/models/{merchant_location_merchant_address.rb → fraud_address.rb} +9 -9
- data/lib/openapi_client/models/fraud_order.rb +2 -2
- data/lib/openapi_client/models/fraud_order_items.rb +1 -1
- data/lib/openapi_client/models/fraud_registration.rb +259 -0
- data/lib/openapi_client/models/fraud_registration_card.rb +248 -0
- data/lib/openapi_client/models/fraud_registration_device.rb +375 -0
- data/lib/openapi_client/models/fraud_registration_device_items.rb +287 -0
- data/lib/openapi_client/models/{billing_address_phone.rb → fraud_registration_error.rb} +14 -23
- data/lib/openapi_client/models/fraud_registration_response.rb +279 -0
- data/lib/openapi_client/models/fraud_score.rb +232 -0
- data/lib/openapi_client/models/frequency.rb +1 -1
- data/lib/openapi_client/models/funding_transaction_type.rb +1 -1
- 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/{payment_issuer_response.rb → issuer_response.rb} +4 -4
- data/lib/openapi_client/models/{device_networks.rb → items.rb} +4 -4
- data/lib/openapi_client/models/{merchant_location.rb → location.rb} +5 -5
- 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/merchant.rb +2 -2
- data/lib/openapi_client/models/{payment_pay_method.rb → method.rb} +4 -4
- data/lib/openapi_client/models/order.rb +1 -1
- data/lib/openapi_client/models/order_error_response.rb +9 -28
- data/lib/openapi_client/models/order_response.rb +9 -28
- 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 +10 -10
- data/lib/openapi_client/models/payment_card.rb +1 -1
- data/lib/openapi_client/models/payment_card_credit_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_disbursement_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_disbursement_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_forced_ticket_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_payer_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_payer_auth_transaction_all_of.rb +1 -1
- 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 +1 -1
- data/lib/openapi_client/models/payment_card_payment_tokenization_request_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_pre_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_card_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_card_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_device.rb +336 -0
- data/lib/openapi_client/models/payment_device_credit_transaction.rb +307 -0
- data/lib/openapi_client/models/payment_device_credit_transaction_all_of.rb +201 -0
- data/lib/openapi_client/models/payment_device_disbursement_transaction.rb +321 -0
- data/lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb +215 -0
- data/lib/openapi_client/models/payment_device_payment_method.rb +219 -0
- data/lib/openapi_client/models/payment_device_payment_method_all_of.rb +210 -0
- data/lib/openapi_client/models/payment_device_payment_tokenization_request.rb +285 -0
- data/lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb +201 -0
- data/lib/openapi_client/models/payment_device_pre_auth_transaction.rb +346 -0
- data/lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb +240 -0
- data/lib/openapi_client/models/payment_device_sale_transaction.rb +325 -0
- data/lib/openapi_client/models/payment_device_sale_transaction_all_of.rb +219 -0
- 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 +1 -1
- data/lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_method_type.rb +2 -1
- data/lib/openapi_client/models/payment_registration.rb +331 -0
- 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 +1 -1
- data/lib/openapi_client/models/payment_token_credit_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_details.rb +1 -1
- data/lib/openapi_client/models/payment_token_details_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_disbursement_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_token_disbursement_transaction_all_of.rb +1 -1
- 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 +1 -1
- data/lib/openapi_client/models/payment_token_pre_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/payment_token_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/payment_token_sale_transaction_all_of.rb +1 -1
- 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 +252 -0
- data/lib/openapi_client/models/payment_url_detail_response.rb +236 -0
- 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 +38 -0
- data/lib/openapi_client/models/paypal_credit_transaction.rb +1 -1
- data/lib/openapi_client/models/paypal_credit_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/{customer_address_phone.rb → phone.rb} +4 -4
- data/lib/openapi_client/models/post_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/post_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/primary_transaction.rb +1 -1
- data/lib/openapi_client/models/processor_data.rb +1 -1
- 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 +2 -2
- 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 +9 -28
- data/lib/openapi_client/models/referenced_order_payment_schedules_request.rb +1 -1
- data/lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb +1 -1
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request.rb +1 -1
- data/lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb +1 -1
- data/lib/openapi_client/models/registration_method.rb +300 -0
- data/lib/openapi_client/models/response_amount_components.rb +1 -1
- data/lib/openapi_client/models/response_amount_components_all_of.rb +1 -1
- data/lib/openapi_client/models/response_type.rb +1 -1
- data/lib/openapi_client/models/return_transaction.rb +1 -1
- data/lib/openapi_client/models/return_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/score_only_request.rb +1 -13
- data/lib/openapi_client/models/score_only_response.rb +1 -1
- data/lib/openapi_client/models/score_only_response_fraud_score.rb +1 -1
- 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 +1 -1
- data/lib/openapi_client/models/secure3_d10_authentication_result_all_of.rb +1 -1
- data/lib/openapi_client/models/secure3_d21_authentication_result.rb +1 -1
- data/lib/openapi_client/models/secure3_d21_authentication_result_all_of.rb +1 -1
- data/lib/openapi_client/models/secure3d_authentication_request.rb +1 -1
- data/lib/openapi_client/models/secure3d_authentication_verification_request.rb +1 -1
- data/lib/openapi_client/models/secure3d_authentication_verification_request_all_of.rb +1 -1
- 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 +1 -1
- data/lib/openapi_client/models/sepa_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/{fraud_order_ship_to_address.rb → ship_to_address.rb} +4 -4
- 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/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/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 +1 -1
- data/lib/openapi_client/models/union_pay_authentication_request_all_of.rb +1 -1
- data/lib/openapi_client/models/union_pay_authentication_verification_request.rb +1 -1
- data/lib/openapi_client/models/union_pay_authentication_verification_request_all_of.rb +1 -1
- data/lib/openapi_client/models/use_payment_token.rb +27 -2
- data/lib/openapi_client/models/{payment_verification3ds.rb → verification3ds.rb} +4 -4
- data/lib/openapi_client/models/{payment_verification_avs.rb → verification_avs.rb} +4 -4
- data/lib/openapi_client/models/{payment_verification_cvv.rb → verification_cvv.rb} +4 -4
- data/lib/openapi_client/models/void_transaction.rb +1 -1
- data/lib/openapi_client/models/wallet_payment_method.rb +2 -2
- data/lib/openapi_client/models/wallet_pre_auth_transaction.rb +1 -1
- data/lib/openapi_client/models/wallet_pre_auth_transaction_all_of.rb +1 -1
- data/lib/openapi_client/models/wallet_sale_transaction.rb +1 -1
- data/lib/openapi_client/models/wallet_sale_transaction_all_of.rb +1 -1
- data/lib/openapi_client/version.rb +2 -2
- data/lib/simple/gateway.rb +73 -0
- metadata +42 -17
- data/lib/openapi_client/.DS_Store +0 -0
- data/lib/openapi_client/api/.DS_Store +0 -0
- data/lib/openapi_client/models/.DS_Store +0 -0
- data/lib/openapi_client/models/transaction.rb +0 -350
@@ -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.8.0.20190731.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
|
# The result of the 3DS (3D Secure) check.
|
17
|
-
class
|
17
|
+
class Verification3ds
|
18
18
|
# 3DS response code.
|
19
19
|
attr_accessor :code
|
20
20
|
|
@@ -46,13 +46,13 @@ module OpenapiClient
|
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
47
47
|
def initialize(attributes = {})
|
48
48
|
if (!attributes.is_a?(Hash))
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::Verification3ds` initialize method"
|
50
50
|
end
|
51
51
|
|
52
52
|
# check to see if the attribute exists and convert string to symbol for hash key
|
53
53
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
54
|
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::Verification3ds`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
56
|
end
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
@@ -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.8.0.20190731.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
|
# The result of the AVS (Address Verification System) check.
|
17
|
-
class
|
17
|
+
class VerificationAvs
|
18
18
|
# AVS response code.
|
19
19
|
attr_accessor :code
|
20
20
|
|
@@ -46,13 +46,13 @@ module OpenapiClient
|
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
47
47
|
def initialize(attributes = {})
|
48
48
|
if (!attributes.is_a?(Hash))
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::VerificationAvs` initialize method"
|
50
50
|
end
|
51
51
|
|
52
52
|
# check to see if the attribute exists and convert string to symbol for hash key
|
53
53
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
54
|
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::VerificationAvs`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
56
|
end
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
@@ -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.8.0.20190731.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
|
# The result of the CVV (Card Verification Value, or Card Security Code) check.
|
17
|
-
class
|
17
|
+
class VerificationCvv
|
18
18
|
# CVV response code.
|
19
19
|
attr_accessor :code
|
20
20
|
|
@@ -46,13 +46,13 @@ module OpenapiClient
|
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
47
47
|
def initialize(attributes = {})
|
48
48
|
if (!attributes.is_a?(Hash))
|
49
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::VerificationCvv` initialize method"
|
50
50
|
end
|
51
51
|
|
52
52
|
# check to see if the attribute exists and convert string to symbol for hash key
|
53
53
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
54
|
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::VerificationCvv`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
56
|
end
|
57
57
|
h[k.to_sym] = v
|
58
58
|
}
|
@@ -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.8.0.20190731.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.8.0.20190731.002
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: unset
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: unset
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module OpenapiClient
|
16
|
-
# Various wallet payment methods the gateway supports. Abstract class, do not use this class directly, use one of its children: EncryptedGooglePayWalletPaymentMethod, EncryptedApplePayWalletPaymentMethod.
|
16
|
+
# Various wallet payment methods the gateway supports. Abstract class, do not use this class directly, use one of its children: EncryptedGooglePayWalletPaymentMethod, EncryptedApplePayWalletPaymentMethod, EncryptedSamsungPayWalletPaymentMethod.
|
17
17
|
class WalletPaymentMethod
|
18
18
|
# Type of wallet.
|
19
19
|
attr_accessor :wallet_type
|
@@ -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.8.0.20190731.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.8.0.20190731.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.8.0.20190731.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.8.0.20190731.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
|
-
OpenAPI
|
6
|
+
The version of the OpenAPI document: 6.8.0.20190731.002
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: unset
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: unset
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module OpenapiClient
|
14
|
-
VERSION = '1.
|
14
|
+
VERSION = '1.4.0'
|
15
15
|
end
|
data/lib/simple/gateway.rb
CHANGED
@@ -183,6 +183,38 @@ module SimpleClient
|
|
183
183
|
)
|
184
184
|
end
|
185
185
|
|
186
|
+
def fraud_client_registration_post(payload:, region: nil)
|
187
|
+
opts = {}
|
188
|
+
opts[:region] = region if region
|
189
|
+
signature_service = get_signature_service
|
190
|
+
opts[:message_signature] = signature_service.sign(payload)
|
191
|
+
return @fraud_detect_api.fraud_client_registration_post(
|
192
|
+
CONTENT_TYPE,
|
193
|
+
signature_service.client_request_id,
|
194
|
+
get_api_key,
|
195
|
+
signature_service.timestamp,
|
196
|
+
payload,
|
197
|
+
opts
|
198
|
+
)
|
199
|
+
|
200
|
+
end
|
201
|
+
|
202
|
+
def fraud_payment_registration_post(payload:, region: nil)
|
203
|
+
opts = {}
|
204
|
+
opts[:region] = region if region
|
205
|
+
signature_service = get_signature_service
|
206
|
+
opts[:message_signature] = signature_service.sign(payload)
|
207
|
+
return @fraud_detect_api.fraud_payment_registration_post(
|
208
|
+
CONTENT_TYPE,
|
209
|
+
signature_service.client_request_id,
|
210
|
+
get_api_key,
|
211
|
+
signature_service.timestamp,
|
212
|
+
payload,
|
213
|
+
opts
|
214
|
+
)
|
215
|
+
|
216
|
+
end
|
217
|
+
|
186
218
|
# Payment Schedules API
|
187
219
|
def cancel_payment_schedule(order_id:, store_id: nil, region: nil)
|
188
220
|
opts = {}
|
@@ -303,6 +335,47 @@ module SimpleClient
|
|
303
335
|
)
|
304
336
|
end
|
305
337
|
|
338
|
+
def delete_payment_url(region: nil, store_id: nil, transaction_id: nil, order_id: nil, payment_url_id: nil, transaction_time: nil)
|
339
|
+
opts = {}
|
340
|
+
opts[:region] = region if region
|
341
|
+
opts[:store_id] = store_id if store_id
|
342
|
+
opts[:transaction_id] = transaction_id if transaction_id
|
343
|
+
opts[:order_id] = order_id if order_id
|
344
|
+
opts[:payment_url_id] = payment_url_id if payment_url_id
|
345
|
+
opts[:transaction_time] = transaction_time if transaction_time
|
346
|
+
signature_service = get_signature_service
|
347
|
+
message_signature = signature_service.sign()
|
348
|
+
opts[:message_signature] = message_signature
|
349
|
+
return @payment_url_api.delete_payment_url(
|
350
|
+
CONTENT_TYPE,
|
351
|
+
signature_service.client_request_id,
|
352
|
+
get_api_key,
|
353
|
+
signature_service.timestamp,
|
354
|
+
opts
|
355
|
+
)
|
356
|
+
end
|
357
|
+
|
358
|
+
def payment_url_detail(from_date:, to_date:, region: nil, store_id: nil, transaction_id: nil, order_id: nil, status: nil)
|
359
|
+
opts = {}
|
360
|
+
opts[:region] = region if region
|
361
|
+
opts[:store_id] = store_id if store_id
|
362
|
+
opts[:merchant_transaction_id] = transaction_id if transaction_id
|
363
|
+
opts[:order_id] = order_id if order_id
|
364
|
+
opts[:status] = status if status
|
365
|
+
signature_service = get_signature_service
|
366
|
+
message_signature = signature_service.sign()
|
367
|
+
opts[:message_signature] = message_signature
|
368
|
+
return @payment_url_api.payment_url_detail(
|
369
|
+
CONTENT_TYPE,
|
370
|
+
signature_service.client_request_id,
|
371
|
+
get_api_key,
|
372
|
+
signature_service.timestamp,
|
373
|
+
from_date,
|
374
|
+
to_date,
|
375
|
+
opts
|
376
|
+
)
|
377
|
+
end
|
378
|
+
|
306
379
|
|
307
380
|
# Card Info API
|
308
381
|
def card_info_lookup(payload:, region: nil)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: first_data_gateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Margules
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -421,8 +421,6 @@ files:
|
|
421
421
|
- first_data_gateway.gemspec
|
422
422
|
- git_push.sh
|
423
423
|
- lib/openapi_client.rb
|
424
|
-
- lib/openapi_client/.DS_Store
|
425
|
-
- lib/openapi_client/api/.DS_Store
|
426
424
|
- lib/openapi_client/api/authentication_api.rb
|
427
425
|
- lib/openapi_client/api/card_info_lookup_api.rb
|
428
426
|
- lib/openapi_client/api/card_verification_api.rb
|
@@ -436,7 +434,6 @@ files:
|
|
436
434
|
- lib/openapi_client/api_client.rb
|
437
435
|
- lib/openapi_client/api_error.rb
|
438
436
|
- lib/openapi_client/configuration.rb
|
439
|
-
- lib/openapi_client/models/.DS_Store
|
440
437
|
- lib/openapi_client/models/access_token_response.rb
|
441
438
|
- lib/openapi_client/models/account_updater_response.rb
|
442
439
|
- lib/openapi_client/models/additional_amount_rate.rb
|
@@ -461,7 +458,6 @@ files:
|
|
461
458
|
- lib/openapi_client/models/basic_response.rb
|
462
459
|
- lib/openapi_client/models/billing.rb
|
463
460
|
- lib/openapi_client/models/billing_address.rb
|
464
|
-
- lib/openapi_client/models/billing_address_phone.rb
|
465
461
|
- lib/openapi_client/models/car_rental.rb
|
466
462
|
- lib/openapi_client/models/car_rental_extra_charges.rb
|
467
463
|
- lib/openapi_client/models/card.rb
|
@@ -476,18 +472,17 @@ files:
|
|
476
472
|
- lib/openapi_client/models/china_pn_r_sale_transaction.rb
|
477
473
|
- lib/openapi_client/models/china_pn_r_sale_transaction_all_of.rb
|
478
474
|
- lib/openapi_client/models/client_locale.rb
|
475
|
+
- lib/openapi_client/models/client_registration.rb
|
479
476
|
- lib/openapi_client/models/contact.rb
|
480
477
|
- lib/openapi_client/models/create_payment_token.rb
|
481
478
|
- lib/openapi_client/models/currency_conversion.rb
|
482
479
|
- lib/openapi_client/models/customer.rb
|
483
480
|
- lib/openapi_client/models/customer_address.rb
|
484
|
-
- lib/openapi_client/models/customer_address_phone.rb
|
485
481
|
- lib/openapi_client/models/dcc.rb
|
486
482
|
- lib/openapi_client/models/dcc_all_of.rb
|
487
483
|
- lib/openapi_client/models/dcc_exchange_rate_request.rb
|
488
484
|
- lib/openapi_client/models/dcc_exchange_rate_request_all_of.rb
|
489
485
|
- lib/openapi_client/models/device.rb
|
490
|
-
- lib/openapi_client/models/device_networks.rb
|
491
486
|
- lib/openapi_client/models/disbursement.rb
|
492
487
|
- lib/openapi_client/models/disbursement_transaction_type.rb
|
493
488
|
- lib/openapi_client/models/document.rb
|
@@ -503,25 +498,38 @@ files:
|
|
503
498
|
- lib/openapi_client/models/encrypted_google_pay_data.rb
|
504
499
|
- lib/openapi_client/models/encrypted_google_pay_wallet_payment_method.rb
|
505
500
|
- lib/openapi_client/models/encrypted_google_pay_wallet_payment_method_all_of.rb
|
501
|
+
- lib/openapi_client/models/encrypted_samsung_pay.rb
|
502
|
+
- lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method.rb
|
503
|
+
- lib/openapi_client/models/encrypted_samsung_pay_wallet_payment_method_all_of.rb
|
506
504
|
- lib/openapi_client/models/error.rb
|
507
505
|
- lib/openapi_client/models/error_details.rb
|
506
|
+
- lib/openapi_client/models/error_message.rb
|
508
507
|
- lib/openapi_client/models/error_response.rb
|
509
508
|
- lib/openapi_client/models/exchange_rate_request.rb
|
510
509
|
- lib/openapi_client/models/exchange_rate_response.rb
|
511
510
|
- lib/openapi_client/models/expiration.rb
|
511
|
+
- lib/openapi_client/models/fraud_address.rb
|
512
512
|
- lib/openapi_client/models/fraud_order.rb
|
513
513
|
- lib/openapi_client/models/fraud_order_items.rb
|
514
|
-
- lib/openapi_client/models/
|
514
|
+
- lib/openapi_client/models/fraud_registration.rb
|
515
|
+
- lib/openapi_client/models/fraud_registration_card.rb
|
516
|
+
- lib/openapi_client/models/fraud_registration_device.rb
|
517
|
+
- lib/openapi_client/models/fraud_registration_device_items.rb
|
518
|
+
- lib/openapi_client/models/fraud_registration_error.rb
|
519
|
+
- lib/openapi_client/models/fraud_registration_response.rb
|
520
|
+
- lib/openapi_client/models/fraud_score.rb
|
515
521
|
- lib/openapi_client/models/frequency.rb
|
516
522
|
- lib/openapi_client/models/funding_transaction_type.rb
|
517
523
|
- lib/openapi_client/models/industry_specific_extensions.rb
|
518
524
|
- lib/openapi_client/models/installment_options.rb
|
525
|
+
- lib/openapi_client/models/issuer_response.rb
|
526
|
+
- lib/openapi_client/models/items.rb
|
527
|
+
- lib/openapi_client/models/location.rb
|
519
528
|
- lib/openapi_client/models/lodging.rb
|
520
529
|
- lib/openapi_client/models/lodging_extra_charges.rb
|
521
530
|
- lib/openapi_client/models/loyalty.rb
|
522
531
|
- lib/openapi_client/models/merchant.rb
|
523
|
-
- lib/openapi_client/models/
|
524
|
-
- lib/openapi_client/models/merchant_location_merchant_address.rb
|
532
|
+
- lib/openapi_client/models/method.rb
|
525
533
|
- lib/openapi_client/models/order.rb
|
526
534
|
- lib/openapi_client/models/order_error_response.rb
|
527
535
|
- lib/openapi_client/models/order_response.rb
|
@@ -545,13 +553,25 @@ files:
|
|
545
553
|
- lib/openapi_client/models/payment_card_pre_auth_transaction_all_of.rb
|
546
554
|
- lib/openapi_client/models/payment_card_sale_transaction.rb
|
547
555
|
- lib/openapi_client/models/payment_card_sale_transaction_all_of.rb
|
556
|
+
- lib/openapi_client/models/payment_device.rb
|
557
|
+
- lib/openapi_client/models/payment_device_credit_transaction.rb
|
558
|
+
- lib/openapi_client/models/payment_device_credit_transaction_all_of.rb
|
559
|
+
- lib/openapi_client/models/payment_device_disbursement_transaction.rb
|
560
|
+
- lib/openapi_client/models/payment_device_disbursement_transaction_all_of.rb
|
561
|
+
- lib/openapi_client/models/payment_device_payment_method.rb
|
562
|
+
- lib/openapi_client/models/payment_device_payment_method_all_of.rb
|
563
|
+
- lib/openapi_client/models/payment_device_payment_tokenization_request.rb
|
564
|
+
- lib/openapi_client/models/payment_device_payment_tokenization_request_all_of.rb
|
565
|
+
- lib/openapi_client/models/payment_device_pre_auth_transaction.rb
|
566
|
+
- lib/openapi_client/models/payment_device_pre_auth_transaction_all_of.rb
|
567
|
+
- lib/openapi_client/models/payment_device_sale_transaction.rb
|
568
|
+
- lib/openapi_client/models/payment_device_sale_transaction_all_of.rb
|
548
569
|
- lib/openapi_client/models/payment_facilitator.rb
|
549
|
-
- lib/openapi_client/models/payment_issuer_response.rb
|
550
570
|
- lib/openapi_client/models/payment_method_details.rb
|
551
571
|
- lib/openapi_client/models/payment_method_payment_schedules_request.rb
|
552
572
|
- lib/openapi_client/models/payment_method_payment_schedules_request_all_of.rb
|
553
573
|
- lib/openapi_client/models/payment_method_type.rb
|
554
|
-
- lib/openapi_client/models/
|
574
|
+
- lib/openapi_client/models/payment_registration.rb
|
555
575
|
- lib/openapi_client/models/payment_schedules_error_response.rb
|
556
576
|
- lib/openapi_client/models/payment_schedules_request.rb
|
557
577
|
- lib/openapi_client/models/payment_schedules_response.rb
|
@@ -570,14 +590,15 @@ files:
|
|
570
590
|
- lib/openapi_client/models/payment_tokenization_error_response.rb
|
571
591
|
- lib/openapi_client/models/payment_tokenization_request.rb
|
572
592
|
- lib/openapi_client/models/payment_tokenization_response.rb
|
593
|
+
- lib/openapi_client/models/payment_url_detail.rb
|
594
|
+
- lib/openapi_client/models/payment_url_detail_response.rb
|
573
595
|
- lib/openapi_client/models/payment_url_error_response.rb
|
574
596
|
- lib/openapi_client/models/payment_url_request.rb
|
575
597
|
- lib/openapi_client/models/payment_url_response.rb
|
576
|
-
- lib/openapi_client/models/
|
577
|
-
- lib/openapi_client/models/payment_verification_avs.rb
|
578
|
-
- lib/openapi_client/models/payment_verification_cvv.rb
|
598
|
+
- lib/openapi_client/models/payment_url_status.rb
|
579
599
|
- lib/openapi_client/models/paypal_credit_transaction.rb
|
580
600
|
- lib/openapi_client/models/paypal_credit_transaction_all_of.rb
|
601
|
+
- lib/openapi_client/models/phone.rb
|
581
602
|
- lib/openapi_client/models/post_auth_transaction.rb
|
582
603
|
- lib/openapi_client/models/post_auth_transaction_all_of.rb
|
583
604
|
- lib/openapi_client/models/primary_transaction.rb
|
@@ -593,6 +614,7 @@ files:
|
|
593
614
|
- lib/openapi_client/models/referenced_order_payment_schedules_request_all_of.rb
|
594
615
|
- lib/openapi_client/models/referenced_order_payment_tokenization_request.rb
|
595
616
|
- lib/openapi_client/models/referenced_order_payment_tokenization_request_all_of.rb
|
617
|
+
- lib/openapi_client/models/registration_method.rb
|
596
618
|
- lib/openapi_client/models/response_amount_components.rb
|
597
619
|
- lib/openapi_client/models/response_amount_components_all_of.rb
|
598
620
|
- lib/openapi_client/models/response_type.rb
|
@@ -618,13 +640,13 @@ files:
|
|
618
640
|
- lib/openapi_client/models/sepa_payment_method_all_of.rb
|
619
641
|
- lib/openapi_client/models/sepa_sale_transaction.rb
|
620
642
|
- lib/openapi_client/models/sepa_sale_transaction_all_of.rb
|
643
|
+
- lib/openapi_client/models/ship_to_address.rb
|
621
644
|
- lib/openapi_client/models/shipping.rb
|
622
645
|
- lib/openapi_client/models/soft_descriptor.rb
|
623
646
|
- lib/openapi_client/models/split_shipment.rb
|
624
647
|
- lib/openapi_client/models/stored_credential.rb
|
625
648
|
- lib/openapi_client/models/sub_merchant_data.rb
|
626
649
|
- lib/openapi_client/models/sub_merchant_split.rb
|
627
|
-
- lib/openapi_client/models/transaction.rb
|
628
650
|
- lib/openapi_client/models/transaction_error_response.rb
|
629
651
|
- lib/openapi_client/models/transaction_origin.rb
|
630
652
|
- lib/openapi_client/models/transaction_response.rb
|
@@ -634,6 +656,9 @@ files:
|
|
634
656
|
- lib/openapi_client/models/union_pay_authentication_verification_request.rb
|
635
657
|
- lib/openapi_client/models/union_pay_authentication_verification_request_all_of.rb
|
636
658
|
- lib/openapi_client/models/use_payment_token.rb
|
659
|
+
- lib/openapi_client/models/verification3ds.rb
|
660
|
+
- lib/openapi_client/models/verification_avs.rb
|
661
|
+
- lib/openapi_client/models/verification_cvv.rb
|
637
662
|
- lib/openapi_client/models/void_transaction.rb
|
638
663
|
- lib/openapi_client/models/wallet_payment_method.rb
|
639
664
|
- lib/openapi_client/models/wallet_pre_auth_transaction.rb
|