Class: Google4R::Checkout::AuthorizeOrderCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/google4r/checkout/commands.rb

Overview

The AuthorizeOrderCommand instructs Google Checkout to explicitly reauthorize a customer’s credit card for the uncharged balance of an order to verify that funds for the order are available

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

Attributes inherited from Command

#command_tag_name, #frontend, #google_order_number

Instance Method Summary collapse

Methods inherited from Command

#initialize, #send_to_google_checkout

Constructor Details

This class inherits a constructor from Google4R::Checkout::Command

Instance Method Details

#to_xmlObject



517
518
519
# File 'lib/google4r/checkout/commands.rb', line 517

def to_xml
  AuthorizeOrderCommandXmlGenerator.new(self).generate
end