Sha256: a684b2a26166e1a8915892318e725aa3976641205a124f8f148735bc91ed4d8e
Contents?: true
Size: 719 Bytes
Versions: 17
Compression:
Stored size: 719 Bytes
Contents
module ChargeBee class Estimate < Model attr_accessor :created_at, :subscription_estimate, :invoice_estimate, :next_invoice_estimate, :credit_note_estimates # OPERATIONS #----------- def self.create_subscription(params, env=nil, headers={}) Request.send('post', uri_path("estimates","create_subscription"), params, env, headers) end def self.update_subscription(params, env=nil, headers={}) Request.send('post', uri_path("estimates","update_subscription"), params, env, headers) end def self.renewal_estimate(id, params={}, env=nil, headers={}) Request.send('get', uri_path("subscriptions",id.to_s,"renewal_estimate"), params, env, headers) end end # ~Estimate end # ~ChargeBee
Version data entries
17 entries across 17 versions & 1 rubygems