Class: Adyen::Checkout

Inherits:
Object
  • Object
show all
Defined in:
lib/adyen/services/checkout.rb

Overview

NOTE: This class is auto generated by OpenAPI Generator Ref: openapi-generator.tech

Do not edit the class manually.

Constant Summary collapse

DEFAULT_VERSION =
71

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client, version = DEFAULT_VERSION) ⇒ Checkout



19
20
21
22
23
# File 'lib/adyen/services/checkout.rb', line 19

def initialize(client, version = DEFAULT_VERSION)
  @service = 'Checkout'
  @client = client
  @version = version
end

Instance Attribute Details

#serviceObject

Returns the value of attribute service.



16
17
18
# File 'lib/adyen/services/checkout.rb', line 16

def service
  @service
end

#versionObject

Returns the value of attribute version.



16
17
18
# File 'lib/adyen/services/checkout.rb', line 16

def version
  @version
end

Instance Method Details

#donations_apiObject



25
26
27
# File 'lib/adyen/services/checkout.rb', line 25

def donations_api
  @donations_api ||= Adyen::DonationsApi.new(@client, @version)
end

#modifications_apiObject



29
30
31
# File 'lib/adyen/services/checkout.rb', line 29

def modifications_api
  @modifications_api ||= Adyen::ModificationsApi.new(@client, @version)
end

#orders_apiObject



33
34
35
# File 'lib/adyen/services/checkout.rb', line 33

def orders_api
  @orders_api ||= Adyen::OrdersApi.new(@client, @version)
end


37
38
39
# File 'lib/adyen/services/checkout.rb', line 37

def payment_links_api
  @payment_links_api ||= Adyen::PaymentLinksApi.new(@client, @version)
end

#payments_apiObject



41
42
43
# File 'lib/adyen/services/checkout.rb', line 41

def payments_api
  @payments_api ||= Adyen::PaymentsApi.new(@client, @version)
end

#recurring_apiObject



45
46
47
# File 'lib/adyen/services/checkout.rb', line 45

def recurring_api
  @recurring_api ||= Adyen::RecurringApi.new(@client, @version)
end

#utility_apiObject



49
50
51
# File 'lib/adyen/services/checkout.rb', line 49

def utility_api
  @utility_api ||= Adyen::UtilityApi.new(@client, @version)
end