def authorized_with_capture(options = {})
      options = { date_authorized: Date.today, date_captured: Date.today }.merge(options)
      request_params = {
        'customerID' => customer_id,
        'cartID' => cart_id,
        'orderID' => order_id,
        'dateAuthorized' => xml_date(options[:date_authorized]),
        'dateCaptured' => xml_date(options[:date_captured])
      }

      response = TaxCloud.client.request :authorized_with_capture, request_params
      TaxCloud::Responses::AuthorizedWithCapture.parse response
    end
def authorized_with_capture(options = {})
      options = { date_authorized: Date.today, date_captured: Date.today }.merge(options)
      request_params = {
        'customerID' => customer_id,
        'cartID' => cart_id,
        'orderID' => order_id,
        'dateAuthorized' => xml_date(options[:date_authorized]),
        'dateCaptured' => xml_date(options[:date_captured])
      }

      response = TaxCloud.client.request :authorized_with_capture, request_params
      TaxCloud::Responses::AuthorizedWithCapture.parse response
    end
Combines the <tt>authorized</tt> and <tt>captured</tt> methods into a single call

 === Options
 [date_authorized] The date the transaction was authorized. Default is today.
 [date_captured] - The date the transaction was captured. Default is today.