Class: Adyen::Checkout
- Inherits:
-
Object
- Object
- Adyen::Checkout
- 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
-
#service ⇒ Object
Returns the value of attribute service.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
- #donations_api ⇒ Object
-
#initialize(client, version = DEFAULT_VERSION) ⇒ Checkout
constructor
A new instance of Checkout.
- #modifications_api ⇒ Object
- #orders_api ⇒ Object
- #payment_links_api ⇒ Object
- #payments_api ⇒ Object
- #recurring_api ⇒ Object
- #utility_api ⇒ Object
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
#service ⇒ Object
Returns the value of attribute service.
16 17 18 |
# File 'lib/adyen/services/checkout.rb', line 16 def service @service end |
#version ⇒ Object
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_api ⇒ Object
25 26 27 |
# File 'lib/adyen/services/checkout.rb', line 25 def donations_api @donations_api ||= Adyen::DonationsApi.new(@client, @version) end |
#modifications_api ⇒ Object
29 30 31 |
# File 'lib/adyen/services/checkout.rb', line 29 def modifications_api @modifications_api ||= Adyen::ModificationsApi.new(@client, @version) end |
#orders_api ⇒ Object
33 34 35 |
# File 'lib/adyen/services/checkout.rb', line 33 def orders_api @orders_api ||= Adyen::OrdersApi.new(@client, @version) end |
#payment_links_api ⇒ Object
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_api ⇒ Object
41 42 43 |
# File 'lib/adyen/services/checkout.rb', line 41 def payments_api @payments_api ||= Adyen::PaymentsApi.new(@client, @version) end |
#recurring_api ⇒ Object
45 46 47 |
# File 'lib/adyen/services/checkout.rb', line 45 def recurring_api @recurring_api ||= Adyen::RecurringApi.new(@client, @version) end |
#utility_api ⇒ Object
49 50 51 |
# File 'lib/adyen/services/checkout.rb', line 49 def utility_api @utility_api ||= Adyen::UtilityApi.new(@client, @version) end |