connect-sdk-ruby 1.30.0 → 1.31.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/connect-sdk-ruby.gemspec +1 -1
- data/examples/merchant/disputes/get_dispute_example.rb +22 -0
- data/examples/merchant/disputes/submit_dispute_example.rb +22 -0
- data/examples/merchant/payments/create_payment_dispute_example.rb +37 -0
- data/examples/merchant/payments/get_payment_disputes_example.rb +22 -0
- data/lib/ingenico/connect/sdk/domain/dispute/create_dispute_request.rb +63 -0
- data/lib/ingenico/connect/sdk/domain/dispute/dispute.rb +67 -0
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_creation_detail.rb +45 -0
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_output.rb +106 -0
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_reference.rb +59 -0
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_response.rb +15 -0
- data/lib/ingenico/connect/sdk/domain/dispute/dispute_status_output.rb +52 -0
- data/lib/ingenico/connect/sdk/domain/dispute/disputes_response.rb +38 -0
- data/lib/ingenico/connect/sdk/domain/file/hosted_file.rb +52 -0
- data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product840_specific_input.rb +31 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_method_specific_input_base.rb +20 -0
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input.rb +2 -2
- data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input_base.rb +15 -0
- data/lib/ingenico/connect/sdk/merchant/captures/captures_client.rb +1 -3
- data/lib/ingenico/connect/sdk/merchant/disputes/disputes_client.rb +86 -0
- data/lib/ingenico/connect/sdk/merchant/hostedcheckouts/hostedcheckouts_client.rb +2 -6
- data/lib/ingenico/connect/sdk/merchant/hostedmandatemanagements/hostedmandatemanagements_client.rb +2 -6
- data/lib/ingenico/connect/sdk/merchant/mandates/mandates_client.rb +6 -18
- data/lib/ingenico/connect/sdk/merchant/merchant_client.rb +7 -26
- data/lib/ingenico/connect/sdk/merchant/payments/payments_client.rb +78 -42
- data/lib/ingenico/connect/sdk/merchant/payouts/payouts_client.rb +6 -18
- data/lib/ingenico/connect/sdk/merchant/productgroups/productgroups_client.rb +3 -9
- data/lib/ingenico/connect/sdk/merchant/products/products_client.rb +7 -21
- data/lib/ingenico/connect/sdk/merchant/refunds/refunds_client.rb +5 -15
- data/lib/ingenico/connect/sdk/merchant/riskassessments/riskassessments_client.rb +2 -6
- data/lib/ingenico/connect/sdk/merchant/services/services_client.rb +4 -12
- data/lib/ingenico/connect/sdk/merchant/sessions/sessions_client.rb +1 -3
- data/lib/ingenico/connect/sdk/merchant/tokens/tokens_client.rb +5 -15
- data/lib/ingenico/connect/sdk/meta_data_provider.rb +1 -1
- data/lib/ingenico/connect/sdk/modules.rb +14 -0
- metadata +18 -2
@@ -0,0 +1,15 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
|
+
#
|
5
|
+
require 'ingenico/connect/sdk/domain/dispute/dispute'
|
6
|
+
|
7
|
+
module Ingenico::Connect::SDK
|
8
|
+
module Domain
|
9
|
+
module Dispute
|
10
|
+
|
11
|
+
class DisputeResponse < Ingenico::Connect::SDK::Domain::Dispute::Dispute
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
|
+
#
|
5
|
+
require 'ingenico/connect/sdk/data_object'
|
6
|
+
|
7
|
+
module Ingenico::Connect::SDK
|
8
|
+
module Domain
|
9
|
+
module Dispute
|
10
|
+
|
11
|
+
class DisputeStatusOutput < Ingenico::Connect::SDK::DataObject
|
12
|
+
|
13
|
+
# true/false
|
14
|
+
attr_accessor :is_cancellable
|
15
|
+
|
16
|
+
# String
|
17
|
+
attr_accessor :status_category
|
18
|
+
|
19
|
+
# Integer
|
20
|
+
attr_accessor :status_code
|
21
|
+
|
22
|
+
# String
|
23
|
+
attr_accessor :status_code_change_date_time
|
24
|
+
|
25
|
+
def to_h
|
26
|
+
hash = super
|
27
|
+
add_to_hash(hash, 'isCancellable', @is_cancellable)
|
28
|
+
add_to_hash(hash, 'statusCategory', @status_category)
|
29
|
+
add_to_hash(hash, 'statusCode', @status_code)
|
30
|
+
add_to_hash(hash, 'statusCodeChangeDateTime', @status_code_change_date_time)
|
31
|
+
hash
|
32
|
+
end
|
33
|
+
|
34
|
+
def from_hash(hash)
|
35
|
+
super
|
36
|
+
if hash.has_key?('isCancellable')
|
37
|
+
@is_cancellable = hash['isCancellable']
|
38
|
+
end
|
39
|
+
if hash.has_key?('statusCategory')
|
40
|
+
@status_category = hash['statusCategory']
|
41
|
+
end
|
42
|
+
if hash.has_key?('statusCode')
|
43
|
+
@status_code = hash['statusCode']
|
44
|
+
end
|
45
|
+
if hash.has_key?('statusCodeChangeDateTime')
|
46
|
+
@status_code_change_date_time = hash['statusCodeChangeDateTime']
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
|
+
#
|
5
|
+
require 'ingenico/connect/sdk/data_object'
|
6
|
+
require 'ingenico/connect/sdk/domain/dispute/dispute'
|
7
|
+
|
8
|
+
module Ingenico::Connect::SDK
|
9
|
+
module Domain
|
10
|
+
module Dispute
|
11
|
+
|
12
|
+
class DisputesResponse < Ingenico::Connect::SDK::DataObject
|
13
|
+
|
14
|
+
# Array of {Ingenico::Connect::SDK::Domain::Dispute::Dispute}
|
15
|
+
attr_accessor :disputes
|
16
|
+
|
17
|
+
def to_h
|
18
|
+
hash = super
|
19
|
+
add_to_hash(hash, 'disputes', @disputes)
|
20
|
+
hash
|
21
|
+
end
|
22
|
+
|
23
|
+
def from_hash(hash)
|
24
|
+
super
|
25
|
+
if hash.has_key?('disputes')
|
26
|
+
if !(hash['disputes'].is_a? Array)
|
27
|
+
raise TypeError, "value '%s' is not an Array" % [hash['disputes']]
|
28
|
+
end
|
29
|
+
@disputes = []
|
30
|
+
hash['disputes'].each do |e|
|
31
|
+
@disputes << Ingenico::Connect::SDK::Domain::Dispute::Dispute.new_from_hash(e)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
|
+
#
|
5
|
+
require 'ingenico/connect/sdk/data_object'
|
6
|
+
|
7
|
+
module Ingenico::Connect::SDK
|
8
|
+
module Domain
|
9
|
+
module File
|
10
|
+
|
11
|
+
class HostedFile < Ingenico::Connect::SDK::DataObject
|
12
|
+
|
13
|
+
# String
|
14
|
+
attr_accessor :file_name
|
15
|
+
|
16
|
+
# String
|
17
|
+
attr_accessor :file_size
|
18
|
+
|
19
|
+
# String
|
20
|
+
attr_accessor :file_type
|
21
|
+
|
22
|
+
# String
|
23
|
+
attr_accessor :id
|
24
|
+
|
25
|
+
def to_h
|
26
|
+
hash = super
|
27
|
+
add_to_hash(hash, 'fileName', @file_name)
|
28
|
+
add_to_hash(hash, 'fileSize', @file_size)
|
29
|
+
add_to_hash(hash, 'fileType', @file_type)
|
30
|
+
add_to_hash(hash, 'id', @id)
|
31
|
+
hash
|
32
|
+
end
|
33
|
+
|
34
|
+
def from_hash(hash)
|
35
|
+
super
|
36
|
+
if hash.has_key?('fileName')
|
37
|
+
@file_name = hash['fileName']
|
38
|
+
end
|
39
|
+
if hash.has_key?('fileSize')
|
40
|
+
@file_size = hash['fileSize']
|
41
|
+
end
|
42
|
+
if hash.has_key?('fileType')
|
43
|
+
@file_type = hash['fileType']
|
44
|
+
end
|
45
|
+
if hash.has_key?('id')
|
46
|
+
@id = hash['id']
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
data/lib/ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product840_specific_input.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
|
+
#
|
5
|
+
require 'ingenico/connect/sdk/data_object'
|
6
|
+
|
7
|
+
module Ingenico::Connect::SDK
|
8
|
+
module Domain
|
9
|
+
module Payment
|
10
|
+
|
11
|
+
class AbstractRedirectPaymentProduct840SpecificInput < Ingenico::Connect::SDK::DataObject
|
12
|
+
|
13
|
+
# true/false
|
14
|
+
attr_accessor :address_selection_at_pay_pal
|
15
|
+
|
16
|
+
def to_h
|
17
|
+
hash = super
|
18
|
+
add_to_hash(hash, 'addressSelectionAtPayPal', @address_selection_at_pay_pal)
|
19
|
+
hash
|
20
|
+
end
|
21
|
+
|
22
|
+
def from_hash(hash)
|
23
|
+
super
|
24
|
+
if hash.has_key?('addressSelectionAtPayPal')
|
25
|
+
@address_selection_at_pay_pal = hash['addressSelectionAtPayPal']
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -3,12 +3,32 @@
|
|
3
3
|
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
5
|
require 'ingenico/connect/sdk/domain/payment/abstract_redirect_payment_method_specific_input'
|
6
|
+
require 'ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input_base'
|
6
7
|
|
7
8
|
module Ingenico::Connect::SDK
|
8
9
|
module Domain
|
9
10
|
module Payment
|
10
11
|
|
11
12
|
class RedirectPaymentMethodSpecificInputBase < Ingenico::Connect::SDK::Domain::Payment::AbstractRedirectPaymentMethodSpecificInput
|
13
|
+
|
14
|
+
# {Ingenico::Connect::SDK::Domain::Payment::RedirectPaymentProduct840SpecificInputBase}
|
15
|
+
attr_accessor :payment_product840_specific_input
|
16
|
+
|
17
|
+
def to_h
|
18
|
+
hash = super
|
19
|
+
add_to_hash(hash, 'paymentProduct840SpecificInput', @payment_product840_specific_input)
|
20
|
+
hash
|
21
|
+
end
|
22
|
+
|
23
|
+
def from_hash(hash)
|
24
|
+
super
|
25
|
+
if hash.has_key?('paymentProduct840SpecificInput')
|
26
|
+
if !(hash['paymentProduct840SpecificInput'].is_a? Hash)
|
27
|
+
raise TypeError, "value '%s' is not a Hash" % [hash['paymentProduct840SpecificInput']]
|
28
|
+
end
|
29
|
+
@payment_product840_specific_input = Ingenico::Connect::SDK::Domain::Payment::RedirectPaymentProduct840SpecificInputBase.new_from_hash(hash['paymentProduct840SpecificInput'])
|
30
|
+
end
|
31
|
+
end
|
12
32
|
end
|
13
33
|
end
|
14
34
|
end
|
@@ -2,13 +2,13 @@
|
|
2
2
|
# This class was auto-generated from the API references found at
|
3
3
|
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
4
|
#
|
5
|
-
require 'ingenico/connect/sdk/
|
5
|
+
require 'ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product840_specific_input'
|
6
6
|
|
7
7
|
module Ingenico::Connect::SDK
|
8
8
|
module Domain
|
9
9
|
module Payment
|
10
10
|
|
11
|
-
class RedirectPaymentProduct840SpecificInput < Ingenico::Connect::SDK::
|
11
|
+
class RedirectPaymentProduct840SpecificInput < Ingenico::Connect::SDK::Domain::Payment::AbstractRedirectPaymentProduct840SpecificInput
|
12
12
|
|
13
13
|
# String
|
14
14
|
#
|
data/lib/ingenico/connect/sdk/domain/payment/redirect_payment_product840_specific_input_base.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
|
+
#
|
5
|
+
require 'ingenico/connect/sdk/domain/payment/abstract_redirect_payment_product840_specific_input'
|
6
|
+
|
7
|
+
module Ingenico::Connect::SDK
|
8
|
+
module Domain
|
9
|
+
module Payment
|
10
|
+
|
11
|
+
class RedirectPaymentProduct840SpecificInputBase < Ingenico::Connect::SDK::Domain::Payment::AbstractRedirectPaymentProduct840SpecificInput
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -20,9 +20,7 @@ module Ingenico::Connect::SDK
|
|
20
20
|
super(parent, path_context)
|
21
21
|
end
|
22
22
|
|
23
|
-
# Resource /{{merchantId}}/captures/{{captureId}}
|
24
|
-
#
|
25
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/captures/get.html Get capture}
|
23
|
+
# Resource /{{merchantId}}/captures/{{captureId}} - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/captures/get.html Get capture}
|
26
24
|
# capture_id:: String
|
27
25
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
28
26
|
# Returns:: {Ingenico::Connect::SDK::Domain::Capture::CaptureResponse}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
#
|
2
|
+
# This class was auto-generated from the API references found at
|
3
|
+
# https://epayments-api.developer-ingenico.com/s2sapi/v1/
|
4
|
+
#
|
5
|
+
require 'ingenico/connect/sdk/api_resource'
|
6
|
+
require 'ingenico/connect/sdk/response_exception'
|
7
|
+
require 'ingenico/connect/sdk/domain/dispute/dispute_response'
|
8
|
+
require 'ingenico/connect/sdk/domain/errors/error_response'
|
9
|
+
|
10
|
+
module Ingenico::Connect::SDK
|
11
|
+
module Merchant
|
12
|
+
module Disputes
|
13
|
+
|
14
|
+
# Disputes client. Thread-safe.
|
15
|
+
class DisputesClient < Ingenico::Connect::SDK::ApiResource
|
16
|
+
|
17
|
+
# parent:: {Ingenico::Connect::SDK::ApiResource}
|
18
|
+
# path_context:: Hash of String to String
|
19
|
+
def initialize(parent, path_context)
|
20
|
+
super(parent, path_context)
|
21
|
+
end
|
22
|
+
|
23
|
+
# Resource /{{merchantId}}/disputes/{{disputeId}} - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/disputes/get.html Get dispute}
|
24
|
+
# dispute_id:: String
|
25
|
+
# context:: {Ingenico::Connect::SDK::CallContext}
|
26
|
+
# Returns:: {Ingenico::Connect::SDK::Domain::Dispute::DisputeResponse}
|
27
|
+
# Raises:: {Ingenico::Connect::SDK::ValidationException} if the request was not correct and couldn't be processed (HTTP status code 400)
|
28
|
+
# Raises:: {Ingenico::Connect::SDK::AuthorizationException} if the request was not allowed (HTTP status code 403)
|
29
|
+
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
30
|
+
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
31
|
+
# or there was a conflict (HTTP status code 404, 409 or 410)
|
32
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
33
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
34
|
+
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
35
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
36
|
+
def get(dispute_id, context=nil)
|
37
|
+
path_context = {
|
38
|
+
'disputeId' => dispute_id,
|
39
|
+
}
|
40
|
+
uri = instantiate_uri('/{apiVersion}/{merchantId}/disputes/{disputeId}', path_context)
|
41
|
+
return @communicator.get(
|
42
|
+
uri,
|
43
|
+
client_headers,
|
44
|
+
nil,
|
45
|
+
Ingenico::Connect::SDK::Domain::Dispute::DisputeResponse,
|
46
|
+
context)
|
47
|
+
rescue ResponseException => e
|
48
|
+
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
49
|
+
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
50
|
+
raise create_exception(e.status_code, e.body, error_object, context)
|
51
|
+
end
|
52
|
+
|
53
|
+
# Resource /{{merchantId}}/disputes/{{disputeId}}/submit - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/disputes/submit.html Submit dispute}
|
54
|
+
# dispute_id:: String
|
55
|
+
# context:: {Ingenico::Connect::SDK::CallContext}
|
56
|
+
# Returns:: {Ingenico::Connect::SDK::Domain::Dispute::DisputeResponse}
|
57
|
+
# Raises:: {Ingenico::Connect::SDK::ValidationException} if the request was not correct and couldn't be processed (HTTP status code 400)
|
58
|
+
# Raises:: {Ingenico::Connect::SDK::AuthorizationException} if the request was not allowed (HTTP status code 403)
|
59
|
+
# Raises:: {Ingenico::Connect::SDK::IdempotenceException} if an idempotent request caused a conflict (HTTP status code 409)
|
60
|
+
# Raises:: {Ingenico::Connect::SDK::ReferenceException} if an object was attempted to be referenced that doesn't exist or has been removed,
|
61
|
+
# or there was a conflict (HTTP status code 404, 409 or 410)
|
62
|
+
# Raises:: {Ingenico::Connect::SDK::GlobalCollectException} if something went wrong at the Ingenico ePayments platform,
|
63
|
+
# the Ingenico ePayments platform was unable to process a message from a downstream partner/acquirer,
|
64
|
+
# or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)
|
65
|
+
# Raises:: {Ingenico::Connect::SDK::ApiException} if the Ingenico ePayments platform returned any other error
|
66
|
+
def submit(dispute_id, context=nil)
|
67
|
+
path_context = {
|
68
|
+
'disputeId' => dispute_id,
|
69
|
+
}
|
70
|
+
uri = instantiate_uri('/{apiVersion}/{merchantId}/disputes/{disputeId}/submit', path_context)
|
71
|
+
return @communicator.post(
|
72
|
+
uri,
|
73
|
+
client_headers,
|
74
|
+
nil,
|
75
|
+
nil,
|
76
|
+
Ingenico::Connect::SDK::Domain::Dispute::DisputeResponse,
|
77
|
+
context)
|
78
|
+
rescue ResponseException => e
|
79
|
+
error_type = Ingenico::Connect::SDK::Domain::Errors::ErrorResponse
|
80
|
+
error_object = @communicator.marshaller.unmarshal(e.body, error_type)
|
81
|
+
raise create_exception(e.status_code, e.body, error_object, context)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
@@ -21,9 +21,7 @@ module Ingenico::Connect::SDK
|
|
21
21
|
super(parent, path_context)
|
22
22
|
end
|
23
23
|
|
24
|
-
# Resource /{{merchantId}}/hostedcheckouts
|
25
|
-
#
|
26
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/hostedcheckouts/create.html Create hosted checkout}
|
24
|
+
# Resource /{{merchantId}}/hostedcheckouts - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/hostedcheckouts/create.html Create hosted checkout}
|
27
25
|
# body:: {Ingenico::Connect::SDK::Domain::Hostedcheckout::CreateHostedCheckoutRequest}
|
28
26
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
29
27
|
# Returns:: {Ingenico::Connect::SDK::Domain::Hostedcheckout::CreateHostedCheckoutResponse}
|
@@ -51,9 +49,7 @@ module Ingenico::Connect::SDK
|
|
51
49
|
raise create_exception(e.status_code, e.body, error_object, context)
|
52
50
|
end
|
53
51
|
|
54
|
-
# Resource /{{merchantId}}/hostedcheckouts/{{hostedCheckoutId}}
|
55
|
-
#
|
56
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/hostedcheckouts/get.html Get hosted checkout status}
|
52
|
+
# Resource /{{merchantId}}/hostedcheckouts/{{hostedCheckoutId}} - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/hostedcheckouts/get.html Get hosted checkout status}
|
57
53
|
# hosted_checkout_id:: String
|
58
54
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
59
55
|
# Returns:: {Ingenico::Connect::SDK::Domain::Hostedcheckout::GetHostedCheckoutResponse}
|
data/lib/ingenico/connect/sdk/merchant/hostedmandatemanagements/hostedmandatemanagements_client.rb
CHANGED
@@ -21,9 +21,7 @@ module Ingenico::Connect::SDK
|
|
21
21
|
super(parent, path_context)
|
22
22
|
end
|
23
23
|
|
24
|
-
# Resource /{{merchantId}}/hostedmandatemanagements
|
25
|
-
#
|
26
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/hostedmandatemanagements/create.html Create hosted mandate management}
|
24
|
+
# Resource /{{merchantId}}/hostedmandatemanagements - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/hostedmandatemanagements/create.html Create hosted mandate management}
|
27
25
|
# body:: {Ingenico::Connect::SDK::Domain::Hostedmandatemanagement::CreateHostedMandateManagementRequest}
|
28
26
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
29
27
|
# Returns:: {Ingenico::Connect::SDK::Domain::Hostedmandatemanagement::CreateHostedMandateManagementResponse}
|
@@ -51,9 +49,7 @@ module Ingenico::Connect::SDK
|
|
51
49
|
raise create_exception(e.status_code, e.body, error_object, context)
|
52
50
|
end
|
53
51
|
|
54
|
-
# Resource /{{merchantId}}/hostedmandatemanagements/{{hostedMandateManagementId}}
|
55
|
-
#
|
56
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/hostedmandatemanagements/get.html Get hosted mandate management status}
|
52
|
+
# Resource /{{merchantId}}/hostedmandatemanagements/{{hostedMandateManagementId}} - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/hostedmandatemanagements/get.html Get hosted mandate management status}
|
57
53
|
# hosted_mandate_management_id:: String
|
58
54
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
59
55
|
# Returns:: {Ingenico::Connect::SDK::Domain::Hostedmandatemanagement::GetHostedMandateManagementResponse}
|
@@ -21,9 +21,7 @@ module Ingenico::Connect::SDK
|
|
21
21
|
super(parent, path_context)
|
22
22
|
end
|
23
23
|
|
24
|
-
# Resource /{{merchantId}}/mandates
|
25
|
-
#
|
26
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/create.html Create mandate}
|
24
|
+
# Resource /{{merchantId}}/mandates - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/create.html Create mandate}
|
27
25
|
# body:: {Ingenico::Connect::SDK::Domain::Mandates::CreateMandateRequest}
|
28
26
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
29
27
|
# Returns:: {Ingenico::Connect::SDK::Domain::Mandates::CreateMandateResponse}
|
@@ -51,9 +49,7 @@ module Ingenico::Connect::SDK
|
|
51
49
|
raise create_exception(e.status_code, e.body, error_object, context)
|
52
50
|
end
|
53
51
|
|
54
|
-
# Resource /{{merchantId}}/mandates/{{uniqueMandateReference}}
|
55
|
-
#
|
56
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/createWithMandateReference.html Create mandate with mandatereference}
|
52
|
+
# Resource /{{merchantId}}/mandates/{{uniqueMandateReference}} - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/createWithMandateReference.html Create mandate with mandatereference}
|
57
53
|
# unique_mandate_reference:: String
|
58
54
|
# body:: {Ingenico::Connect::SDK::Domain::Mandates::CreateMandateRequest}
|
59
55
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
@@ -85,9 +81,7 @@ module Ingenico::Connect::SDK
|
|
85
81
|
raise create_exception(e.status_code, e.body, error_object, context)
|
86
82
|
end
|
87
83
|
|
88
|
-
# Resource /{{merchantId}}/mandates/{{uniqueMandateReference}}
|
89
|
-
#
|
90
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/get.html Get mandate}
|
84
|
+
# Resource /{{merchantId}}/mandates/{{uniqueMandateReference}} - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/get.html Get mandate}
|
91
85
|
# unique_mandate_reference:: String
|
92
86
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
93
87
|
# Returns:: {Ingenico::Connect::SDK::Domain::Mandates::GetMandateResponse}
|
@@ -117,9 +111,7 @@ module Ingenico::Connect::SDK
|
|
117
111
|
raise create_exception(e.status_code, e.body, error_object, context)
|
118
112
|
end
|
119
113
|
|
120
|
-
# Resource /{{merchantId}}/mandates/{{uniqueMandateReference}}/block
|
121
|
-
#
|
122
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/block.html Block mandate}
|
114
|
+
# Resource /{{merchantId}}/mandates/{{uniqueMandateReference}}/block - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/block.html Block mandate}
|
123
115
|
# unique_mandate_reference:: String
|
124
116
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
125
117
|
# Returns:: {Ingenico::Connect::SDK::Domain::Mandates::GetMandateResponse}
|
@@ -150,9 +142,7 @@ module Ingenico::Connect::SDK
|
|
150
142
|
raise create_exception(e.status_code, e.body, error_object, context)
|
151
143
|
end
|
152
144
|
|
153
|
-
# Resource /{{merchantId}}/mandates/{{uniqueMandateReference}}/unblock
|
154
|
-
#
|
155
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/unblock.html Unblock mandate}
|
145
|
+
# Resource /{{merchantId}}/mandates/{{uniqueMandateReference}}/unblock - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/unblock.html Unblock mandate}
|
156
146
|
# unique_mandate_reference:: String
|
157
147
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
158
148
|
# Returns:: {Ingenico::Connect::SDK::Domain::Mandates::GetMandateResponse}
|
@@ -183,9 +173,7 @@ module Ingenico::Connect::SDK
|
|
183
173
|
raise create_exception(e.status_code, e.body, error_object, context)
|
184
174
|
end
|
185
175
|
|
186
|
-
# Resource /{{merchantId}}/mandates/{{uniqueMandateReference}}/revoke
|
187
|
-
#
|
188
|
-
# {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/revoke.html Revoke mandate}
|
176
|
+
# Resource /{{merchantId}}/mandates/{{uniqueMandateReference}}/revoke - {https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/ruby/mandates/revoke.html Revoke mandate}
|
189
177
|
# unique_mandate_reference:: String
|
190
178
|
# context:: {Ingenico::Connect::SDK::CallContext}
|
191
179
|
# Returns:: {Ingenico::Connect::SDK::Domain::Mandates::GetMandateResponse}
|