module Spree::API::Client::Checkouts

Public Instance Methods

checkout(order_number, options={}) click to toggle source
# File lib/spree-api-client/checkouts.rb, line 9
def checkout(order_number, options={})
  get("checkouts/#{order_number}", options)
end
checkouts(options={}) click to toggle source
# File lib/spree-api-client/checkouts.rb, line 5
def checkouts(options={})
  get('checkouts', options)['checkouts']
end
create_checkout(options={}) click to toggle source
# File lib/spree-api-client/checkouts.rb, line 13
def create_checkout(options={})
  post("checkouts", options)
end
next(order_number) click to toggle source
# File lib/spree-api-client/checkouts.rb, line 21
def next(order_number)
  put("checkouts/#{order_number}/next")
end
update_checkout(order_number, options={}) click to toggle source
# File lib/spree-api-client/checkouts.rb, line 17
def update_checkout(order_number, options={})
  put("checkouts/#{order_number}", options)
end