Class: Google4R::Checkout::NotificationDataRequestCommand

Inherits:
Command
  • Object
show all
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

Attributes inherited from Command

#command_tag_name, #frontend, #google_order_number

Instance Method Summary collapse

Methods inherited from Command

#send_to_google_checkout

Constructor Details

#initialize(frontend, continue_token) ⇒ NotificationDataRequestCommand

Returns a new instance of NotificationDataRequestCommand.



780
781
782
783
784
# File 'lib/google4r/checkout/commands.rb', line 780

def initialize(frontend, continue_token)
  super frontend

  @continue_token = continue_token
end

Instance Attribute Details

#continue_tokenObject (readonly)

Returns the value of attribute continue_token.



778
779
780
# File 'lib/google4r/checkout/commands.rb', line 778

def continue_token
  @continue_token
end

Instance Method Details

#to_xmlObject



786
787
788
# File 'lib/google4r/checkout/commands.rb', line 786

def to_xml
  NotificationDataRequestCommandXmlGenerator.new(self).generate
end