Sha256: ea3eb2c814cd3be5e3f73991512cd94c5b42b8e18f7c5f4d9074cc31caf7bceb
Contents?: true
Size: 959 Bytes
Versions: 2
Compression:
Stored size: 959 Bytes
Contents
module ChargeBee class Estimate < Model attr_accessor :created_at, :subscription_estimate, :invoice_estimate, :invoice_estimates, :next_invoice_estimate, :credit_note_estimates, :unbilled_charge_estimates # OPERATIONS #----------- def self.create_subscription(params, env=nil, headers={}) Request.send('post', uri_path("estimates","create_subscription"), params, env, headers) end def self.create_sub_for_customer_estimate(id, params, env=nil, headers={}) Request.send('get', uri_path("customers",id.to_s,"create_subscription_estimate"), 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chargebee-2.3.0 | lib/chargebee/models/estimate.rb |
chargebee-2.2.9 | lib/chargebee/models/estimate.rb |