Module: Adyen::API
- Defined in:
- lib/adyen/api.rb,
lib/adyen/api.rb
Defined Under Namespace
Classes: PaymentService, RecurringService, Response, SimpleSOAPClient, XMLQuerier
Class Attribute Summary collapse
-
.default_params ⇒ Object
Returns the value of attribute default_params.
-
.password ⇒ String
Password for the HTTP Basic Authentication that Adyen uses.
-
.username ⇒ String
Username for the HTTP Basic Authentication that Adyen uses.
Class Method Summary collapse
-
.authorise_payment(params) ⇒ Object
Shortcut methods.
- .authorise_recurring_payment(params) ⇒ Object
- .disable_recurring_contract(shopper_reference, recurring_detail_reference = nil) ⇒ Object
Class Attribute Details
.default_params ⇒ Object
Returns the value of attribute default_params.
16 17 18 |
# File 'lib/adyen/api.rb', line 16 def default_params @default_params end |
.password ⇒ String
Password for the HTTP Basic Authentication that Adyen uses. You can choose your password yourself in the user management tool of the merchant area.
14 15 16 |
# File 'lib/adyen/api.rb', line 14 def password @password end |
.username ⇒ String
Username for the HTTP Basic Authentication that Adyen uses. Your username should be something like [email protected]
9 10 11 |
# File 'lib/adyen/api.rb', line 9 def username @username end |
Class Method Details
.authorise_payment(params) ⇒ Object
Shortcut methods
25 26 27 |
# File 'lib/adyen/api.rb', line 25 def self.(params) PaymentService.new(params). end |
.authorise_recurring_payment(params) ⇒ Object
29 30 31 |
# File 'lib/adyen/api.rb', line 29 def self.(params) PaymentService.new(params). end |
.disable_recurring_contract(shopper_reference, recurring_detail_reference = nil) ⇒ Object
33 34 35 36 37 38 |
# File 'lib/adyen/api.rb', line 33 def self.disable_recurring_contract(shopper_reference, recurring_detail_reference = nil) RecurringService.new({ :shopper => { :reference => shopper_reference }, :recurring_detail_reference => recurring_detail_reference }).disable end |