Class: Google4R::Checkout::CancelItemsCommand
- Inherits:
-
ItemsCommand
- Object
- Command
- ItemsCommand
- Google4R::Checkout::CancelItemsCommand
- Defined in:
- lib/google4r/checkout/commands.rb
Overview
The
Constant Summary
Constants inherited from Command
Google4R::Checkout::Command::CHECKOUT_API_URL, Google4R::Checkout::Command::DONATE_CHECKOUT_API_URL, Google4R::Checkout::Command::DONATE_ORDER_PROCESSING_API_URL, Google4R::Checkout::Command::DONATE_ORDER_REPORT_API_URL, Google4R::Checkout::Command::ORDER_PROCESSING_API_URL, Google4R::Checkout::Command::ORDER_REPORT_API_URL, Google4R::Checkout::Command::POLLING_API_URL, Google4R::Checkout::Command::PRODUCTION_URL_PREFIX, Google4R::Checkout::Command::SANDBOX_URL_PREFIX
Instance Attribute Summary collapse
-
#comment ⇒ Object
An optional comment related to one or more canceled line items.
-
#reason ⇒ Object
The reason that you are canceling one or more line items.
Attributes inherited from ItemsCommand
Attributes inherited from Command
#command_tag_name, #frontend, #google_order_number
Instance Method Summary collapse
Methods inherited from ItemsCommand
Methods inherited from Command
#initialize, #send_to_google_checkout
Constructor Details
This class inherits a constructor from Google4R::Checkout::ItemsCommand
Instance Attribute Details
#comment ⇒ Object
An optional comment related to one or more canceled line items
661 662 663 |
# File 'lib/google4r/checkout/commands.rb', line 661 def comment @comment end |
#reason ⇒ Object
The reason that you are canceling one or more line items
658 659 660 |
# File 'lib/google4r/checkout/commands.rb', line 658 def reason @reason end |
Instance Method Details
#to_xml ⇒ Object
663 664 665 |
# File 'lib/google4r/checkout/commands.rb', line 663 def to_xml CancelItemsCommandXmlGenerator.new(self).generate end |