-
Notifications
You must be signed in to change notification settings - Fork 50
/
checkout.rb
54 lines (43 loc) · 1.35 KB
/
checkout.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
require_relative 'checkout/donations_api'
require_relative 'checkout/modifications_api'
require_relative 'checkout/orders_api'
require_relative 'checkout/payment_links_api'
require_relative 'checkout/payments_api'
require_relative 'checkout/recurring_api'
require_relative 'checkout/utility_api'
module Adyen
# NOTE: This class is auto generated by OpenAPI Generator
# Ref: https://openapi-generator.tech
#
# Do not edit the class manually.
class Checkout
attr_accessor :service, :version
DEFAULT_VERSION = 71
def initialize(client, version = DEFAULT_VERSION)
@service = 'Checkout'
@client = client
@version = version
end
def donations_api
@donations_api ||= Adyen::DonationsApi.new(@client, @version)
end
def modifications_api
@modifications_api ||= Adyen::ModificationsApi.new(@client, @version)
end
def orders_api
@orders_api ||= Adyen::OrdersApi.new(@client, @version)
end
def payment_links_api
@payment_links_api ||= Adyen::PaymentLinksApi.new(@client, @version)
end
def payments_api
@payments_api ||= Adyen::PaymentsApi.new(@client, @version)
end
def recurring_api
@recurring_api ||= Adyen::RecurringApi.new(@client, @version)
end
def utility_api
@utility_api ||= Adyen::UtilityApi.new(@client, @version)
end
end
end