Class: PaynetEasy::PaynetEasyApi::Transport::CallbackResponse
- Defined in:
- lib/paynet_easy/paynet_easy_api/transport/callback_response.rb
Constant Summary
Constants inherited from Response
Response::NEEDED_REDIRECT, Response::NEEDED_SHOW_HTML, Response::NEEDED_STATUS_UPDATE
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from Response
#approved?, #card_paynet_id, #control_code, #declined?, #error, #error?, #error_code, #error_message, #has_html?, #has_redirect_url?, #html, #initialize, #method_missing, #payment_client_id, #payment_paynet_id, #processing?, #redirect_needed?, #redirect_url, #show_html_needed?, #status, #status_update_needed?, #type
Constructor Details
This class inherits a constructor from PaynetEasy::PaynetEasyApi::Transport::Response
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PaynetEasy::PaynetEasyApi::Transport::Response
Instance Method Details
#amount ⇒ Object
5 6 7 |
# File 'lib/paynet_easy/paynet_easy_api/transport/callback_response.rb', line 5 def amount fetch 'amount', nil end |
#comment ⇒ Object
9 10 11 |
# File 'lib/paynet_easy/paynet_easy_api/transport/callback_response.rb', line 9 def comment fetch 'comment', nil end |
#merchant_data ⇒ Object
13 14 15 |
# File 'lib/paynet_easy/paynet_easy_api/transport/callback_response.rb', line 13 def merchant_data fetch 'merchant_data', nil end |
#type=(type) ⇒ Object
17 18 19 |
# File 'lib/paynet_easy/paynet_easy_api/transport/callback_response.rb', line 17 def type=(type) store 'type', type end |