Class: Google4R::Checkout::DeliverOrderCommand
- Defined in:
- lib/google4r/checkout/commands.rb
Overview
The DeliverOrderCommand indicates that Google should update an order’s fulfillment order state to DELIVERED
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
-
#carrier ⇒ Object
The name of the company responsible for shipping the item.
-
#send_email ⇒ Object
if google checkout should email buyer to ssay order is dispatched.
-
#tracking_number ⇒ Object
The shipper’s tracking number that is 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
#carrier ⇒ Object
The name of the company responsible for shipping the item. Valid values for this tag are DHL, FedEx, UPS, USPS and Other.
548 549 550 |
# File 'lib/google4r/checkout/commands.rb', line 548 def carrier @carrier end |
#send_email ⇒ Object
if google checkout should email buyer to ssay order is dispatched
544 545 546 |
# File 'lib/google4r/checkout/commands.rb', line 544 def send_email @send_email end |
#tracking_number ⇒ Object
The shipper’s tracking number that is associated with an order
551 552 553 |
# File 'lib/google4r/checkout/commands.rb', line 551 def tracking_number @tracking_number end |
Instance Method Details
#to_xml ⇒ Object
553 554 555 |
# File 'lib/google4r/checkout/commands.rb', line 553 def to_xml DeliverOrderCommandXmlGenerator.new(self).generate end |