Class: Adyen::REST::AuthoriseRecurringPayment::Request
- Inherits:
-
Adyen::REST::AuthorisePayment::Request
- Object
- Request
- Adyen::REST::AuthorisePayment::Request
- Adyen::REST::AuthoriseRecurringPayment::Request
- Defined in:
- lib/adyen/rest/authorise_recurring_payment.rb
Instance Attribute Summary
Attributes inherited from Request
#form_data, #prefix, #required_attributes, #response_class, #response_options
Instance Method Summary collapse
-
#initialize(action, attributes, options) ⇒ Request
constructor
A new instance of Request.
Methods inherited from Adyen::REST::AuthorisePayment::Request
#set_3d_secure_parameters, #set_amount, #set_browser_info, #set_encrypted_card_data
Methods inherited from Request
#[], #[]=, #action, #build_response, #merchant_account=, #validate!
Constructor Details
#initialize(action, attributes, options) ⇒ Request
8 9 10 11 12 13 14 15 |
# File 'lib/adyen/rest/authorise_recurring_payment.rb', line 8 def initialize(action, attributes, ) attributes[:recurring] ||= { contract: 'RECURRING' } super(action, attributes, ) @required_attributes += ['paymentRequest.shopperEmail', 'paymentRequest.recurring.contract', 'paymentRequest.shopperReference', ] end |