class Recharge::Order
Constants
- COLLECTION
- PATH
- SINGLE
Public Class Methods
change_date(id, date)
click to toggle source
# File lib/recharge/classes.rb, line 508 def self.change_date(id, date) id_required!(id) instance(POST(join(id, "change_date"), :shipping_date => date_param(date))) end
count(options = nil)
click to toggle source
Calls superclass method
# File lib/recharge/classes.rb, line 504 def self.count(options = nil) super(convert_date_params(options, :created_at_max, :created_at_min, :date_min, :date_max)) end
update_shopify_variant(id, old_variant_id, new_varient_id)
click to toggle source
# File lib/recharge/classes.rb, line 513 def self.update_shopify_variant(id, old_variant_id, new_varient_id) id_required!(id) path = join(id, "update_shopify_variant", old_variant_id) instance(POST(path, :new_shopify_variant_id => new_varient_id)) end