Class: Google4R::Checkout::NotificationDataTokenRequestCommand
- Defined in:
- lib/google4r/checkout/commands.rb
Constant Summary
Constants inherited from Command
Command::CHECKOUT_API_URL, Command::DONATE_CHECKOUT_API_URL, Command::DONATE_ORDER_PROCESSING_API_URL, Command::DONATE_ORDER_REPORT_API_URL, Command::ORDER_PROCESSING_API_URL, Command::ORDER_REPORT_API_URL, Command::POLLING_API_URL, Command::PRODUCTION_URL_PREFIX, Command::SANDBOX_URL_PREFIX
Instance Attribute Summary collapse
-
#start_time ⇒ Object
readonly
The earliest time that an order could have been submitted to be included in the API response (Time).
Attributes inherited from Command
#command_tag_name, #frontend, #google_order_number
Instance Method Summary collapse
-
#initialize(frontend, options = {}) ⇒ NotificationDataTokenRequestCommand
constructor
A new instance of NotificationDataTokenRequestCommand.
- #to_xml ⇒ Object
Methods inherited from Command
Constructor Details
#initialize(frontend, options = {}) ⇒ NotificationDataTokenRequestCommand
Returns a new instance of NotificationDataTokenRequestCommand.
797 798 799 800 |
# File 'lib/google4r/checkout/commands.rb', line 797 def initialize(frontend, = {}) super frontend @start_time = [:start_time] if .has_key?(:start_time) end |
Instance Attribute Details
#start_time ⇒ Object (readonly)
The earliest time that an order could have been submitted to be included in the API response (Time)
795 796 797 |
# File 'lib/google4r/checkout/commands.rb', line 795 def start_time @start_time end |
Instance Method Details
#to_xml ⇒ Object
802 803 804 |
# File 'lib/google4r/checkout/commands.rb', line 802 def to_xml NotificationDataTokenRequestCommandXmlGenerator.new(self).generate end |