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
|
@@ -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
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module OpenapiClient
|
16
16
|
# The issuers response to the payment request. This field should be filled in when the message has already passed through the issuer (e.g. post-authorization).
|
17
|
-
class
|
17
|
+
class IssuerResponse
|
18
18
|
# The verification response code, as sent by the verification system.
|
19
19
|
attr_accessor :code
|
20
20
|
|
@@ -68,13 +68,13 @@ module OpenapiClient
|
|
68
68
|
# @param [Hash] attributes Model attributes in the form of hash
|
69
69
|
def initialize(attributes = {})
|
70
70
|
if (!attributes.is_a?(Hash))
|
71
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::
|
71
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::IssuerResponse` initialize method"
|
72
72
|
end
|
73
73
|
|
74
74
|
# check to see if the attribute exists and convert string to symbol for hash key
|
75
75
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
76
76
|
if (!self.class.attribute_map.key?(k.to_sym))
|
77
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::
|
77
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::IssuerResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
78
78
|
end
|
79
79
|
h[k.to_sym] = v
|
80
80
|
}
|
@@ -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
|
# Network information.
|
17
|
-
class
|
17
|
+
class Items
|
18
18
|
# Defines the type of network associated with the device.
|
19
19
|
attr_accessor :network_type
|
20
20
|
|
@@ -123,13 +123,13 @@ module OpenapiClient
|
|
123
123
|
# @param [Hash] attributes Model attributes in the form of hash
|
124
124
|
def initialize(attributes = {})
|
125
125
|
if (!attributes.is_a?(Hash))
|
126
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::
|
126
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::Items` initialize method"
|
127
127
|
end
|
128
128
|
|
129
129
|
# check to see if the attribute exists and convert string to symbol for hash key
|
130
130
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
131
131
|
if (!self.class.attribute_map.key?(k.to_sym))
|
132
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::
|
132
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::Items`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
133
133
|
end
|
134
134
|
h[k.to_sym] = v
|
135
135
|
}
|
@@ -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 specific location (e.g. store or station) where the transaction takes place.
|
17
|
-
class
|
17
|
+
class Location
|
18
18
|
# The unique ID of this location.
|
19
19
|
attr_accessor :location_id
|
20
20
|
|
@@ -44,7 +44,7 @@ module OpenapiClient
|
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
46
|
:'location_id' => :'String',
|
47
|
-
:'merchant_address' => :'
|
47
|
+
:'merchant_address' => :'FraudAddress',
|
48
48
|
:'hierarchy' => :'String',
|
49
49
|
:'timezone_offset' => :'String',
|
50
50
|
:'user_defined' => :'Object'
|
@@ -55,13 +55,13 @@ module OpenapiClient
|
|
55
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
56
56
|
def initialize(attributes = {})
|
57
57
|
if (!attributes.is_a?(Hash))
|
58
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::Location` initialize method"
|
59
59
|
end
|
60
60
|
|
61
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
62
62
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
63
63
|
if (!self.class.attribute_map.key?(k.to_sym))
|
64
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::
|
64
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::Location`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
65
65
|
end
|
66
66
|
h[k.to_sym] = v
|
67
67
|
}
|
@@ -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
|
@@ -41,7 +41,7 @@ module OpenapiClient
|
|
41
41
|
{
|
42
42
|
:'mcc' => :'String',
|
43
43
|
:'merchant_unique_id' => :'String',
|
44
|
-
:'location' => :'
|
44
|
+
:'location' => :'Location',
|
45
45
|
:'user_defined' => :'Object'
|
46
46
|
}
|
47
47
|
end
|
@@ -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
|
# Info about the payment method.
|
17
|
-
class
|
17
|
+
class Method
|
18
18
|
# Unique ID for the payment method type.
|
19
19
|
attr_accessor :method_type
|
20
20
|
|
@@ -82,13 +82,13 @@ module OpenapiClient
|
|
82
82
|
# @param [Hash] attributes Model attributes in the form of hash
|
83
83
|
def initialize(attributes = {})
|
84
84
|
if (!attributes.is_a?(Hash))
|
85
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::
|
85
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `OpenapiClient::Method` initialize method"
|
86
86
|
end
|
87
87
|
|
88
88
|
# check to see if the attribute exists and convert string to symbol for hash key
|
89
89
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
90
90
|
if (!self.class.attribute_map.key?(k.to_sym))
|
91
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::
|
91
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `OpenapiClient::Method`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
92
92
|
end
|
93
93
|
h[k.to_sym] = v
|
94
94
|
}
|
@@ -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
|
@@ -26,19 +26,14 @@ module OpenapiClient
|
|
26
26
|
# Client order ID if supplied by client, otherwise the order ID.
|
27
27
|
attr_accessor :order_id
|
28
28
|
|
29
|
-
# The transaction time in seconds since epoch.
|
30
|
-
attr_accessor :transaction_time
|
31
|
-
|
32
29
|
attr_accessor :billing
|
33
30
|
|
34
31
|
attr_accessor :shipping
|
35
32
|
|
36
|
-
attr_accessor :mandate
|
37
|
-
|
38
33
|
# Required for some payment methods (for example, Klarna).
|
39
34
|
attr_accessor :transactions
|
40
35
|
|
41
|
-
attr_accessor :
|
36
|
+
attr_accessor :additional_details
|
42
37
|
|
43
38
|
attr_accessor :error
|
44
39
|
|
@@ -49,12 +44,10 @@ module OpenapiClient
|
|
49
44
|
:'api_trace_id' => :'apiTraceId',
|
50
45
|
:'response_type' => :'responseType',
|
51
46
|
:'order_id' => :'orderId',
|
52
|
-
:'transaction_time' => :'transactionTime',
|
53
47
|
:'billing' => :'billing',
|
54
48
|
:'shipping' => :'shipping',
|
55
|
-
:'mandate' => :'mandate',
|
56
49
|
:'transactions' => :'transactions',
|
57
|
-
:'
|
50
|
+
:'additional_details' => :'additionalDetails',
|
58
51
|
:'error' => :'error'
|
59
52
|
}
|
60
53
|
end
|
@@ -66,12 +59,10 @@ module OpenapiClient
|
|
66
59
|
:'api_trace_id' => :'String',
|
67
60
|
:'response_type' => :'ResponseType',
|
68
61
|
:'order_id' => :'String',
|
69
|
-
:'transaction_time' => :'Integer',
|
70
62
|
:'billing' => :'Billing',
|
71
63
|
:'shipping' => :'Shipping',
|
72
|
-
:'
|
73
|
-
:'
|
74
|
-
:'processor' => :'ProcessorData',
|
64
|
+
:'transactions' => :'Array<TransactionResponse>',
|
65
|
+
:'additional_details' => :'AdditionalDetails',
|
75
66
|
:'error' => :'Error'
|
76
67
|
}
|
77
68
|
end
|
@@ -114,10 +105,6 @@ module OpenapiClient
|
|
114
105
|
self.order_id = attributes[:'order_id']
|
115
106
|
end
|
116
107
|
|
117
|
-
if attributes.key?(:'transaction_time')
|
118
|
-
self.transaction_time = attributes[:'transaction_time']
|
119
|
-
end
|
120
|
-
|
121
108
|
if attributes.key?(:'billing')
|
122
109
|
self.billing = attributes[:'billing']
|
123
110
|
end
|
@@ -126,18 +113,14 @@ module OpenapiClient
|
|
126
113
|
self.shipping = attributes[:'shipping']
|
127
114
|
end
|
128
115
|
|
129
|
-
if attributes.key?(:'mandate')
|
130
|
-
self.mandate = attributes[:'mandate']
|
131
|
-
end
|
132
|
-
|
133
116
|
if attributes.key?(:'transactions')
|
134
117
|
if (value = attributes[:'transactions']).is_a?(Array)
|
135
118
|
self.transactions = value
|
136
119
|
end
|
137
120
|
end
|
138
121
|
|
139
|
-
if attributes.key?(:'
|
140
|
-
self.
|
122
|
+
if attributes.key?(:'additional_details')
|
123
|
+
self.additional_details = attributes[:'additional_details']
|
141
124
|
end
|
142
125
|
|
143
126
|
if attributes.key?(:'error')
|
@@ -167,12 +150,10 @@ module OpenapiClient
|
|
167
150
|
api_trace_id == o.api_trace_id &&
|
168
151
|
response_type == o.response_type &&
|
169
152
|
order_id == o.order_id &&
|
170
|
-
transaction_time == o.transaction_time &&
|
171
153
|
billing == o.billing &&
|
172
154
|
shipping == o.shipping &&
|
173
|
-
mandate == o.mandate &&
|
174
155
|
transactions == o.transactions &&
|
175
|
-
|
156
|
+
additional_details == o.additional_details &&
|
176
157
|
error == o.error
|
177
158
|
end
|
178
159
|
|
@@ -185,7 +166,7 @@ module OpenapiClient
|
|
185
166
|
# Calculates hash code according to all attributes.
|
186
167
|
# @return [Integer] Hash code
|
187
168
|
def hash
|
188
|
-
[client_request_id, api_trace_id, response_type, order_id,
|
169
|
+
[client_request_id, api_trace_id, response_type, order_id, billing, shipping, transactions, additional_details, error].hash
|
189
170
|
end
|
190
171
|
|
191
172
|
# 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.8.0.20190731.002
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: unset
|
@@ -26,19 +26,14 @@ module OpenapiClient
|
|
26
26
|
# Client order ID if supplied by client, otherwise the order ID.
|
27
27
|
attr_accessor :order_id
|
28
28
|
|
29
|
-
# The transaction time in seconds since epoch.
|
30
|
-
attr_accessor :transaction_time
|
31
|
-
|
32
29
|
attr_accessor :billing
|
33
30
|
|
34
31
|
attr_accessor :shipping
|
35
32
|
|
36
|
-
attr_accessor :mandate
|
37
|
-
|
38
33
|
# Required for some payment methods (for example, Klarna).
|
39
34
|
attr_accessor :transactions
|
40
35
|
|
41
|
-
attr_accessor :
|
36
|
+
attr_accessor :additional_details
|
42
37
|
|
43
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
39
|
def self.attribute_map
|
@@ -47,12 +42,10 @@ module OpenapiClient
|
|
47
42
|
:'api_trace_id' => :'apiTraceId',
|
48
43
|
:'response_type' => :'responseType',
|
49
44
|
:'order_id' => :'orderId',
|
50
|
-
:'transaction_time' => :'transactionTime',
|
51
45
|
:'billing' => :'billing',
|
52
46
|
:'shipping' => :'shipping',
|
53
|
-
:'mandate' => :'mandate',
|
54
47
|
:'transactions' => :'transactions',
|
55
|
-
:'
|
48
|
+
:'additional_details' => :'additionalDetails'
|
56
49
|
}
|
57
50
|
end
|
58
51
|
|
@@ -63,12 +56,10 @@ module OpenapiClient
|
|
63
56
|
:'api_trace_id' => :'String',
|
64
57
|
:'response_type' => :'ResponseType',
|
65
58
|
:'order_id' => :'String',
|
66
|
-
:'transaction_time' => :'Integer',
|
67
59
|
:'billing' => :'Billing',
|
68
60
|
:'shipping' => :'Shipping',
|
69
|
-
:'
|
70
|
-
:'
|
71
|
-
:'processor' => :'ProcessorData'
|
61
|
+
:'transactions' => :'Array<TransactionResponse>',
|
62
|
+
:'additional_details' => :'AdditionalDetails'
|
72
63
|
}
|
73
64
|
end
|
74
65
|
|
@@ -110,10 +101,6 @@ module OpenapiClient
|
|
110
101
|
self.order_id = attributes[:'order_id']
|
111
102
|
end
|
112
103
|
|
113
|
-
if attributes.key?(:'transaction_time')
|
114
|
-
self.transaction_time = attributes[:'transaction_time']
|
115
|
-
end
|
116
|
-
|
117
104
|
if attributes.key?(:'billing')
|
118
105
|
self.billing = attributes[:'billing']
|
119
106
|
end
|
@@ -122,18 +109,14 @@ module OpenapiClient
|
|
122
109
|
self.shipping = attributes[:'shipping']
|
123
110
|
end
|
124
111
|
|
125
|
-
if attributes.key?(:'mandate')
|
126
|
-
self.mandate = attributes[:'mandate']
|
127
|
-
end
|
128
|
-
|
129
112
|
if attributes.key?(:'transactions')
|
130
113
|
if (value = attributes[:'transactions']).is_a?(Array)
|
131
114
|
self.transactions = value
|
132
115
|
end
|
133
116
|
end
|
134
117
|
|
135
|
-
if attributes.key?(:'
|
136
|
-
self.
|
118
|
+
if attributes.key?(:'additional_details')
|
119
|
+
self.additional_details = attributes[:'additional_details']
|
137
120
|
end
|
138
121
|
end
|
139
122
|
|
@@ -159,12 +142,10 @@ module OpenapiClient
|
|
159
142
|
api_trace_id == o.api_trace_id &&
|
160
143
|
response_type == o.response_type &&
|
161
144
|
order_id == o.order_id &&
|
162
|
-
transaction_time == o.transaction_time &&
|
163
145
|
billing == o.billing &&
|
164
146
|
shipping == o.shipping &&
|
165
|
-
mandate == o.mandate &&
|
166
147
|
transactions == o.transactions &&
|
167
|
-
|
148
|
+
additional_details == o.additional_details
|
168
149
|
end
|
169
150
|
|
170
151
|
# @see the `==` method
|
@@ -176,7 +157,7 @@ module OpenapiClient
|
|
176
157
|
# Calculates hash code according to all attributes.
|
177
158
|
# @return [Integer] Hash code
|
178
159
|
def hash
|
179
|
-
[client_request_id, api_trace_id, response_type, order_id,
|
160
|
+
[client_request_id, api_trace_id, response_type, order_id, billing, shipping, transactions, additional_details].hash
|
180
161
|
end
|
181
162
|
|
182
163
|
# Builds the object from hash
|