Class: Google4R::Checkout::AddMerchantOrderNumberCommand
- Defined in:
- lib/google4r/checkout/commands.rb
Overview
The AddMerchantOrderCommand instructs Google Checkout to associate a merchant-assigned order number with an order
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
-
#merchant_order_number ⇒ Object
The merchant-assigned order number associated with an order.
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 Attribute Details
#merchant_order_number ⇒ Object
The merchant-assigned order number associated with an order
534 535 536 |
# File 'lib/google4r/checkout/commands.rb', line 534 def merchant_order_number @merchant_order_number end |
Instance Method Details
#to_xml ⇒ Object
536 537 538 |
# File 'lib/google4r/checkout/commands.rb', line 536 def to_xml AddMerchantOrderNumberCommandXmlGenerator.new(self).generate end |