connect-sdk-ruby 1.7.0 → 1.8.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/connect-sdk-ruby.gemspec +3 -3
- data/examples/merchant/payments/create_payment_example.rb +14 -10
- data/examples/merchant/payouts/create_payout_example.rb +9 -5
- data/lib/ingenico/connect/sdk/api_exception.rb +4 -4
- data/lib/ingenico/connect/sdk/api_resource.rb +3 -3
- data/lib/ingenico/connect/sdk/authenticator.rb +1 -1
- data/lib/ingenico/connect/sdk/authorization_exception.rb +2 -2
- data/lib/ingenico/connect/sdk/call_context.rb +1 -1
- data/lib/ingenico/connect/sdk/client.rb +1 -1
- data/lib/ingenico/connect/sdk/communication_exception.rb +1 -1
- data/lib/ingenico/connect/sdk/communicator.rb +10 -10
- data/lib/ingenico/connect/sdk/communicator_configuration.rb +11 -11
- data/lib/ingenico/connect/sdk/declined_payment_exception.rb +3 -3
- data/lib/ingenico/connect/sdk/declined_payout_exception.rb +3 -3
- data/lib/ingenico/connect/sdk/declined_refund_exception.rb +3 -3
- data/lib/ingenico/connect/sdk/declined_transaction_exception.rb +1 -1
- data/lib/ingenico/connect/sdk/defaultimpl/default_authenticator.rb +1 -1
- data/lib/ingenico/connect/sdk/defaultimpl/default_connection.rb +5 -5
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_direct_debit_payment_method_specific_input.rb +15 -0
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_non_sepa_direct_debit_payment_method_specific_input.rb +2 -2
- data/lib/ingenico/connect/sdk/domain/payment/approve_payment_sepa_direct_debit_payment_method_specific_input.rb +2 -2
- data/lib/ingenico/connect/sdk/domain/payment/complete_payment_request.rb +11 -0
- data/lib/ingenico/connect/sdk/domain/payment/order.rb +2 -0
- data/lib/ingenico/connect/sdk/domain/payment/payment_product840_specific_output.rb +11 -0
- data/lib/ingenico/connect/sdk/domain/payment/protection_eligibility.rb +38 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input.rb +11 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input_base.rb +14 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input.rb +38 -0
- data/lib/ingenico/connect/sdk/domain/payment/shopping_cart.rb +14 -0
- data/lib/ingenico/connect/sdk/domain/product/abstract_indicator.rb +38 -0
- data/lib/ingenico/connect/sdk/domain/product/authentication_indicator.rb +15 -0
- data/lib/ingenico/connect/sdk/domain/product/payment_product.rb +11 -0
- data/lib/ingenico/connect/sdk/endpoint_configuration.rb +10 -10
- data/lib/ingenico/connect/sdk/factory.rb +4 -4
- data/lib/ingenico/connect/sdk/global_collect_exception.rb +3 -3
- data/lib/ingenico/connect/sdk/idempotence_exception.rb +2 -2
- data/lib/ingenico/connect/sdk/merchant/captures/captures_client.rb +3 -3
- data/lib/ingenico/connect/sdk/merchant/hostedcheckouts/hostedcheckouts_client.rb +6 -6
- data/lib/ingenico/connect/sdk/merchant/payments/payments_client.rb +38 -38
- data/lib/ingenico/connect/sdk/merchant/payouts/payouts_client.rb +16 -16
- data/lib/ingenico/connect/sdk/merchant/productgroups/productgroups_client.rb +6 -6
- data/lib/ingenico/connect/sdk/merchant/products/products_client.rb +15 -15
- data/lib/ingenico/connect/sdk/merchant/refunds/refunds_client.rb +12 -12
- data/lib/ingenico/connect/sdk/merchant/riskassessments/riskassessments_client.rb +6 -6
- data/lib/ingenico/connect/sdk/merchant/services/services_client.rb +12 -12
- data/lib/ingenico/connect/sdk/merchant/sessions/sessions_client.rb +3 -3
- data/lib/ingenico/connect/sdk/merchant/tokens/tokens_client.rb +15 -15
- data/lib/ingenico/connect/sdk/meta_data_provider.rb +2 -2
- data/lib/ingenico/connect/sdk/modules.rb +24 -24
- data/lib/ingenico/connect/sdk/not_found_exception.rb +1 -1
- data/lib/ingenico/connect/sdk/reference_exception.rb +2 -2
- data/lib/ingenico/connect/sdk/response_exception.rb +7 -7
- data/lib/ingenico/connect/sdk/session.rb +3 -3
- data/lib/ingenico/connect/sdk/validation_exception.rb +3 -3
- data/spec/integration/convert_amount_spec.rb +1 -1
- data/spec/integration/risk_assessments_spec.rb +1 -1
- metadata +11 -6
@@ -5,7 +5,7 @@ module Ingenico::Connect::SDK
|
|
5
5
|
# Base class for configuration classes in the SDK.
|
6
6
|
# This class stores the following:
|
7
7
|
#
|
8
|
-
# _api_endpoint_:: Base URL to the
|
8
|
+
# _api_endpoint_:: Base URL to the Ingenico ePayments platform, stored as a string.
|
9
9
|
# _connect_timeout_:: Timeout in seconds before a connection attempt times out.
|
10
10
|
# _socket_timeout_:: Timeout in seconds that occurs after not receiving transmitted data for _socket_timeout_ seconds.
|
11
11
|
# _max_connections_:: The number of connections in the connection pool that will be kept alive.
|
@@ -25,15 +25,15 @@ module Ingenico::Connect::SDK
|
|
25
25
|
# The following settings are searched:
|
26
26
|
#
|
27
27
|
# endpoint:: This property is searched for *endpoint.host*, *endpoint.scheme* and *endpoint.port*.
|
28
|
-
# The found host, scheme and port are used to construct the base URL to the
|
29
|
-
# connectTimeout:: The number of seconds before a connection attempt with the
|
28
|
+
# The found host, scheme and port are used to construct the base URL to the Ingenico ePayments platform.
|
29
|
+
# connectTimeout:: The number of seconds before a connection attempt with the Ingenico ePayments platform times out.
|
30
30
|
# socketTimeout:: The number of seconds before a timeout occurs
|
31
|
-
# when transmitting data to or from the
|
32
|
-
# maxConnections:: The number of connections with the
|
31
|
+
# when transmitting data to or from the Ingenico ePayments platform.
|
32
|
+
# maxConnections:: The number of connections with the Ingenico ePayments platform
|
33
33
|
# that are kept alive in the connection pool. These connections will be reused when possible.
|
34
34
|
# proxy:: This property is searched for *proxy.uri*, *proxy.username* and *proxy.password*.
|
35
35
|
# The found URI, username and password are used
|
36
|
-
# for connecting to the
|
36
|
+
# for connecting to the Ingenico ePayments platform using a proxy.
|
37
37
|
# integrator:: String
|
38
38
|
# shoppingCartExtension:: Will be used to initialize a {Ingenico::Connect::SDK::Domain::Metadata::ShoppingCartExtension}.
|
39
39
|
def initialize(properties=nil, prefix=nil)
|
@@ -116,13 +116,13 @@ module Ingenico::Connect::SDK
|
|
116
116
|
|
117
117
|
public
|
118
118
|
|
119
|
-
# The number of seconds before a connection attempt with the
|
119
|
+
# The number of seconds before a connection attempt with the Ingenico ePayments platform times out.
|
120
120
|
attr_accessor :connect_timeout
|
121
121
|
|
122
|
-
# The number of seconds before a timeout occurs when transmitting data to or from the
|
122
|
+
# The number of seconds before a timeout occurs when transmitting data to or from the Ingenico ePayments platform.
|
123
123
|
attr_accessor :socket_timeout
|
124
124
|
|
125
|
-
# The number of connections with the
|
125
|
+
# The number of connections with the Ingenico ePayments platform that are kept alive in the connection pool.
|
126
126
|
# These connections will be reused when possible.
|
127
127
|
attr_accessor :max_connections
|
128
128
|
|
@@ -134,7 +134,7 @@ module Ingenico::Connect::SDK
|
|
134
134
|
# {Ingenico::Connect::SDK::Domain::Metadata::ShoppingCartExtension} containing shopping cart-related metadata.
|
135
135
|
attr_accessor :shopping_cart_extension
|
136
136
|
|
137
|
-
# The base URL to the
|
137
|
+
# The base URL to the Ingenico ePayments platform.
|
138
138
|
attr_reader :api_endpoint
|
139
139
|
end
|
140
140
|
end
|
@@ -29,9 +29,9 @@ module Ingenico::Connect::SDK
|
|
29
29
|
# to be used by the client.
|
30
30
|
# meta_data_provider:: {Ingenico::Connect::SDK::MetaDataProvider} that stores the metadata for the communicating client.
|
31
31
|
# connection:: Implementation of {Ingenico::Connect::SDK::Connection} that can be used to communicate
|
32
|
-
# with the
|
32
|
+
# with the Ingenico ePayments platform.
|
33
33
|
# authenticator:: Implementation of {Ingenico::Connect::SDK::Authenticator} that can authenticate messages
|
34
|
-
# sent to the
|
34
|
+
# sent to the Ingenico ePayments platform.
|
35
35
|
def self.create_session_from_configuration(configuration, meta_data_provider: nil,
|
36
36
|
connection: nil, authenticator: nil)
|
37
37
|
unless meta_data_provider
|
@@ -61,9 +61,9 @@ module Ingenico::Connect::SDK
|
|
61
61
|
# secret_api_key:: Secret key used for authentication to the GlobalCollect service.
|
62
62
|
# meta_data_provider:: {Ingenico::Connect::SDK::MetaDataProvider} that stores the metadata for the communicating client.
|
63
63
|
# connection:: Implementation of {Ingenico::Connect::SDK::Connection} that can be used to communicate
|
64
|
-
# with the
|
64
|
+
# with the Ingenico ePayments platform.
|
65
65
|
# authenticator:: Implementation of {Ingenico::Connect::SDK::Authenticator} that can authenticate messages
|
66
|
-
# sent to the
|
66
|
+
# sent to the Ingenico ePayments platform.
|
67
67
|
def self.create_session_from_file(configuration_file_name, api_key_id, secret_api_key,
|
68
68
|
meta_data_provider: nil, connection: nil, authenticator: nil)
|
69
69
|
configuration = create_configuration(configuration_file_name, api_key_id, secret_api_key)
|
@@ -1,14 +1,14 @@
|
|
1
1
|
module Ingenico::Connect::SDK
|
2
2
|
|
3
|
-
# This exception is thrown when a response from the
|
4
|
-
# on the
|
3
|
+
# This exception is thrown when a response from the Ingenico ePayments platform indicates that an error occurred
|
4
|
+
# on the Ingenico ePayments platform while processing the request.
|
5
5
|
# This corresponds to a HTTP status code of 500 or 502.
|
6
6
|
class GlobalCollectException < ApiException
|
7
7
|
|
8
8
|
# Create a new GlobalCollectException
|
9
9
|
# @see ApiException#initialize
|
10
10
|
def initialize(status_code, response_body, error_id, errors,
|
11
|
-
message='the
|
11
|
+
message='the Ingenico ePayments platform returned an error response')
|
12
12
|
super(status_code, response_body, error_id, errors, message)
|
13
13
|
end
|
14
14
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Ingenico::Connect::SDK
|
2
2
|
|
3
|
-
# This exception is thrown when a response from the
|
3
|
+
# This exception is thrown when a response from the Ingenico ePayments platform indicates
|
4
4
|
# a request with the same _idempotence_key_ was received earlier.
|
5
5
|
# The _idempotence_request_timestamp_ indicates the time when the first request with this _idempotence_key_ arrived.
|
6
6
|
class IdempotenceException < ApiException
|
@@ -9,7 +9,7 @@ module Ingenico::Connect::SDK
|
|
9
9
|
# @see ApiException#initialize
|
10
10
|
def initialize(status_code, response_body, error_id, errors, idempotence_key,
|
11
11
|
idempotence_request_timestamp,
|
12
|
-
message='the
|
12
|
+
message='the Ingenico ePayments platform returned a duplicate request error response')
|
13
13
|
super(status_code, response_body, error_id, errors, message)
|
14
14
|
@idempotence_key = idempotence_key
|
15
15
|
@idempotence_request_timestamp = idempotence_request_timestamp
|
@@ -31,10 +31,10 @@ module Ingenico::Connect::SDK
|
|
31
31
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
32
32
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
33
33
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
34
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
35
|
-
# the
|
34
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
35
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
36
36
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
37
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
37
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
38
38
|
def get(capture_id, context=nil)
|
39
39
|
path_context = {
|
40
40
|
'captureId' => capture_id,
|
@@ -32,10 +32,10 @@ module Ingenico::Connect::SDK
|
|
32
32
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
33
33
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
34
34
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
35
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
36
|
-
# the
|
35
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
36
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
37
37
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
38
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
38
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
39
39
|
def create(body, context=nil)
|
40
40
|
uri = instantiate_uri('/{apiVersion}/{merchantId}/hostedcheckouts', nil)
|
41
41
|
return @communicator.post(
|
@@ -62,10 +62,10 @@ module Ingenico::Connect::SDK
|
|
62
62
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
63
63
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
64
64
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
65
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
66
|
-
# the
|
65
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
66
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
67
67
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
68
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
68
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
69
69
|
def get(hosted_checkout_id, context=nil)
|
70
70
|
path_context = {
|
71
71
|
'hostedCheckoutId' => hosted_checkout_id,
|
@@ -38,16 +38,16 @@ module Ingenico::Connect::SDK
|
|
38
38
|
# body:: {Ingenico::Connect::SDK::Domain::Payment::CreatePaymentRequest}
|
39
39
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
40
40
|
# Returns:: {Ingenico::Connect::SDK::Domain::Payment::CreatePaymentResponse}
|
41
|
-
# Raises:: {Ingenico::Connect::SDK::DeclinedPaymentException} if the
|
41
|
+
# Raises:: {Ingenico::Connect::SDK::DeclinedPaymentException} if the Ingenico ePayments platform declined / rejected the payment. The payment result will be available from the exception.
|
42
42
|
# Raises:: {Ingenico::Connect::SDK::ValidationException} if the request was not correct and couldn't be processed (HTTP status code 400)
|
43
43
|
# Raises:: {Ingenico::Connect::SDK::AuthorizationException} if the request was not allowed (HTTP status code 403)
|
44
44
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
45
45
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
46
46
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
47
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
48
|
-
# the
|
47
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
48
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
49
49
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
50
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
50
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
51
51
|
def create(body, context=nil)
|
52
52
|
uri = instantiate_uri('/{apiVersion}/{merchantId}/payments', nil)
|
53
53
|
return @communicator.post(
|
@@ -80,10 +80,10 @@ module Ingenico::Connect::SDK
|
|
80
80
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
81
81
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
82
82
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
83
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
84
|
-
# the
|
83
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
84
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
85
85
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
86
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
86
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
87
87
|
def get(payment_id, context=nil)
|
88
88
|
path_context = {
|
89
89
|
'paymentId' => payment_id,
|
@@ -113,10 +113,10 @@ module Ingenico::Connect::SDK
|
|
113
113
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
114
114
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
115
115
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
116
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
117
|
-
# the
|
116
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
117
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
118
118
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
119
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
119
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
120
120
|
def approve(payment_id, body, context=nil)
|
121
121
|
path_context = {
|
122
122
|
'paymentId' => payment_id,
|
@@ -147,10 +147,10 @@ module Ingenico::Connect::SDK
|
|
147
147
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
148
148
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
149
149
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
150
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
151
|
-
# the
|
150
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
151
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
152
152
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
153
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
153
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
154
154
|
def capture(payment_id, body, context=nil)
|
155
155
|
path_context = {
|
156
156
|
'paymentId' => payment_id,
|
@@ -180,10 +180,10 @@ module Ingenico::Connect::SDK
|
|
180
180
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
181
181
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
182
182
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
183
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
184
|
-
# the
|
183
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
184
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
185
185
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
186
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
186
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
187
187
|
def captures(payment_id, context=nil)
|
188
188
|
path_context = {
|
189
189
|
'paymentId' => payment_id,
|
@@ -213,10 +213,10 @@ module Ingenico::Connect::SDK
|
|
213
213
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
214
214
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
215
215
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
216
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
217
|
-
# the
|
216
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
217
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
218
218
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
219
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
219
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
220
220
|
def complete(payment_id, body, context=nil)
|
221
221
|
path_context = {
|
222
222
|
'paymentId' => payment_id,
|
@@ -246,10 +246,10 @@ module Ingenico::Connect::SDK
|
|
246
246
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
247
247
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
248
248
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
249
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
250
|
-
# the
|
249
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
250
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
251
251
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
252
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
252
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
253
253
|
def third_party_status(payment_id, context=nil)
|
254
254
|
path_context = {
|
255
255
|
'paymentId' => payment_id,
|
@@ -278,10 +278,10 @@ module Ingenico::Connect::SDK
|
|
278
278
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
279
279
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
280
280
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
281
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
282
|
-
# the
|
281
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
282
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
283
283
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
284
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
284
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
285
285
|
def cancel(payment_id, context=nil)
|
286
286
|
path_context = {
|
287
287
|
'paymentId' => payment_id,
|
@@ -311,10 +311,10 @@ module Ingenico::Connect::SDK
|
|
311
311
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
312
312
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
313
313
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
314
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
315
|
-
# the
|
314
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
315
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
316
316
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
317
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
317
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
318
318
|
def cancelapproval(payment_id, context=nil)
|
319
319
|
path_context = {
|
320
320
|
'paymentId' => payment_id,
|
@@ -344,10 +344,10 @@ module Ingenico::Connect::SDK
|
|
344
344
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
345
345
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
346
346
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
347
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
348
|
-
# the
|
347
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
348
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
349
349
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
350
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
350
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
351
351
|
def processchallenged(payment_id, context=nil)
|
352
352
|
path_context = {
|
353
353
|
'paymentId' => payment_id,
|
@@ -373,16 +373,16 @@ module Ingenico::Connect::SDK
|
|
373
373
|
# body:: {Ingenico::Connect::SDK::Domain::Refund::RefundRequest}
|
374
374
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
375
375
|
# Returns:: {Ingenico::Connect::SDK::Domain::Refund::RefundResponse}
|
376
|
-
# Raises:: {Ingenico::Connect::SDK::DeclinedRefundException} if the
|
376
|
+
# Raises:: {Ingenico::Connect::SDK::DeclinedRefundException} if the Ingenico ePayments platform declined / rejected the refund. The refund result will be available from the exception.
|
377
377
|
# Raises:: {Ingenico::Connect::SDK::ValidationException} if the request was not correct and couldn't be processed (HTTP status code 400)
|
378
378
|
# Raises:: {Ingenico::Connect::SDK::AuthorizationException} if the request was not allowed (HTTP status code 403)
|
379
379
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
380
380
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
381
381
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
382
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
383
|
-
# the
|
382
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
383
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
384
384
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
385
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
385
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
386
386
|
def refund(payment_id, body, context=nil)
|
387
387
|
path_context = {
|
388
388
|
'paymentId' => payment_id,
|
@@ -416,10 +416,10 @@ module Ingenico::Connect::SDK
|
|
416
416
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
417
417
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
418
418
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
419
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
420
|
-
# the
|
419
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
420
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
421
421
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
422
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
422
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
423
423
|
def tokenize(payment_id, body, context=nil)
|
424
424
|
path_context = {
|
425
425
|
'paymentId' => payment_id,
|
@@ -27,16 +27,16 @@ module Ingenico::Connect::SDK
|
|
27
27
|
# body:: {Ingenico::Connect::SDK::Domain::Payout::CreatePayoutRequest}
|
28
28
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
29
29
|
# Returns:: {Ingenico::Connect::SDK::Domain::Payout::PayoutResponse}
|
30
|
-
# Raises:: {Ingenico::Connect::SDK::DeclinedPayoutException} if the
|
30
|
+
# Raises:: {Ingenico::Connect::SDK::DeclinedPayoutException} if the Ingenico ePayments platform declined / rejected the payout. The payout result will be available from the exception.
|
31
31
|
# Raises:: {Ingenico::Connect::SDK::ValidationException} if the request was not correct and couldn't be processed (HTTP status code 400)
|
32
32
|
# Raises:: {Ingenico::Connect::SDK::AuthorizationException} if the request was not allowed (HTTP status code 403)
|
33
33
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
34
34
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
35
35
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
36
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
37
|
-
# the
|
36
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
37
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
38
38
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
39
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
39
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
40
40
|
def create(body, context=nil)
|
41
41
|
uri = instantiate_uri('/{apiVersion}/{merchantId}/payouts', nil)
|
42
42
|
return @communicator.post(
|
@@ -65,10 +65,10 @@ module Ingenico::Connect::SDK
|
|
65
65
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
66
66
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
67
67
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
68
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
69
|
-
# the
|
68
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
69
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
70
70
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
71
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
71
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
72
72
|
def get(payout_id, context=nil)
|
73
73
|
path_context = {
|
74
74
|
'payoutId' => payout_id,
|
@@ -98,10 +98,10 @@ module Ingenico::Connect::SDK
|
|
98
98
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
99
99
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
100
100
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
101
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
102
|
-
# the
|
101
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
102
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
103
103
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
104
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
104
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
105
105
|
def approve(payout_id, body, context=nil)
|
106
106
|
path_context = {
|
107
107
|
'payoutId' => payout_id,
|
@@ -130,10 +130,10 @@ module Ingenico::Connect::SDK
|
|
130
130
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
131
131
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
132
132
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
133
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
134
|
-
# the
|
133
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
134
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
135
135
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
136
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
136
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
137
137
|
def cancel(payout_id, context=nil)
|
138
138
|
path_context = {
|
139
139
|
'payoutId' => payout_id,
|
@@ -162,10 +162,10 @@ module Ingenico::Connect::SDK
|
|
162
162
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
163
163
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
164
164
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
165
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
166
|
-
# the
|
165
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
166
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
167
167
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
168
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
168
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
169
169
|
def cancelapproval(payout_id, context=nil)
|
170
170
|
path_context = {
|
171
171
|
'payoutId' => payout_id,
|
@@ -32,10 +32,10 @@ module Ingenico::Connect::SDK
|
|
32
32
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
33
33
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
34
34
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
35
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
36
|
-
# the
|
35
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
36
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
37
37
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
38
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
38
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
39
39
|
def find(query, context=nil)
|
40
40
|
uri = instantiate_uri('/{apiVersion}/{merchantId}/productgroups', nil)
|
41
41
|
return @communicator.get(
|
@@ -62,10 +62,10 @@ module Ingenico::Connect::SDK
|
|
62
62
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
63
63
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
64
64
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
65
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
66
|
-
# the
|
65
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
66
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
67
67
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
68
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
68
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
69
69
|
def get(payment_product_group_id, query, context=nil)
|
70
70
|
path_context = {
|
71
71
|
'paymentProductGroupId' => payment_product_group_id,
|
@@ -35,10 +35,10 @@ module Ingenico::Connect::SDK
|
|
35
35
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
36
36
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
37
37
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
38
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
39
|
-
# the
|
38
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
39
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
40
40
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
41
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
41
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
42
42
|
def find(query, context=nil)
|
43
43
|
uri = instantiate_uri('/{apiVersion}/{merchantId}/products', nil)
|
44
44
|
return @communicator.get(
|
@@ -65,10 +65,10 @@ module Ingenico::Connect::SDK
|
|
65
65
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
66
66
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
67
67
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
68
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
69
|
-
# the
|
68
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
69
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
70
70
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
71
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
71
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
72
72
|
def get(payment_product_id, query, context=nil)
|
73
73
|
path_context = {
|
74
74
|
'paymentProductId' => payment_product_id.to_s,
|
@@ -98,10 +98,10 @@ module Ingenico::Connect::SDK
|
|
98
98
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
99
99
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
100
100
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
101
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
102
|
-
# the
|
101
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
102
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
103
103
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
104
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
104
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
105
105
|
def directory(payment_product_id, query, context=nil)
|
106
106
|
path_context = {
|
107
107
|
'paymentProductId' => payment_product_id.to_s,
|
@@ -131,10 +131,10 @@ module Ingenico::Connect::SDK
|
|
131
131
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
132
132
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
133
133
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
134
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
135
|
-
# the
|
134
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
135
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
136
136
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
137
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
137
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
138
138
|
def networks(payment_product_id, query, context=nil)
|
139
139
|
path_context = {
|
140
140
|
'paymentProductId' => payment_product_id.to_s,
|
@@ -163,10 +163,10 @@ module Ingenico::Connect::SDK
|
|
163
163
|
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
164
164
|
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
165
165
|
# or there was a conflict (HTTP status code 404, 409 or 410)
|
166
|
-
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the
|
167
|
-
# the
|
166
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
167
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
168
168
|
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
169
|
-
# Raises:: {Ingenico::Connect::SDK::ApiException} if the
|
169
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
170
170
|
def public_key(payment_product_id, context=nil)
|
171
171
|
path_context = {
|
172
172
|
'paymentProductId' => payment_product_id.to_s,
|