class Adyen::Payments

Constants

DEFAULT_VERSION

Attributes

version[RW]

Public Class Methods

new(client, version = DEFAULT_VERSION) click to toggle source
Calls superclass method
# File lib/adyen/services/payments.rb, line 8
def initialize(client, version = DEFAULT_VERSION)
  service = "Payment"
  method_names = [
    :authorise,
    :authorise3d,
    :authorise3ds2,
    :capture,
    :cancel,
    :refund,
    :cancel_or_refund,
    :adjust_authorisation,
    :donate,
    :get_authentication_result,
    :technical_cancel,
    :void_pending_refund,
    :retrieve_3ds2_result
  ]
  with_application_info = [
    :authorise,
    :authorise3d,
    :authorise3ds2,
  ]

  super(client, version, service, method_names, with_application_info)
end