class ChargeBee::Quote

Attributes

amount_due[RW]
amount_paid[RW]
billing_address[RW]
charge_on_acceptance[RW]
contract_term_end[RW]
contract_term_start[RW]
contract_term_termination_fee[RW]
credits_applied[RW]
currency_code[RW]
customer_id[RW]
date[RW]
discounts[RW]
id[RW]
invoice_id[RW]
line_item_discounts[RW]
line_item_taxes[RW]
line_item_tiers[RW]
line_items[RW]
name[RW]
notes[RW]
operation_type[RW]
po_number[RW]
price_type[RW]
resource_version[RW]
shipping_address[RW]
status[RW]
sub_total[RW]
subscription_id[RW]
taxes[RW]
total[RW]
total_payable[RW]
updated_at[RW]
valid_till[RW]
vat_number[RW]
vat_number_prefix[RW]
version[RW]

Public Class Methods

convert(id, params={}, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 106
def self.convert(id, params={}, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"convert"), params, env, headers)
end
create_for_charge_items_and_charges(params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 90
def self.create_for_charge_items_and_charges(params, env=nil, headers={})
  Request.send('post', uri_path("quotes","create_for_charge_items_and_charges"), params, env, headers)
end
create_for_onetime_charges(params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 66
def self.create_for_onetime_charges(params, env=nil, headers={})
  Request.send('post', uri_path("quotes","create_for_onetime_charges"), params, env, headers)
end
create_sub_for_customer_quote(id, params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 50
def self.create_sub_for_customer_quote(id, params, env=nil, headers={})
  Request.send('post', uri_path("customers",id.to_s,"create_subscription_quote"), params, env, headers)
end
create_sub_items_for_customer_quote(id, params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 74
def self.create_sub_items_for_customer_quote(id, params, env=nil, headers={})
  Request.send('post', uri_path("customers",id.to_s,"create_subscription_quote_for_items"), params, env, headers)
end
delete(id, params={}, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 118
def self.delete(id, params={}, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"delete"), params, env, headers)
end
edit_create_sub_customer_quote_for_items(id, params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 78
def self.edit_create_sub_customer_quote_for_items(id, params, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"edit_create_subscription_quote_for_items"), params, env, headers)
end
edit_create_sub_for_customer_quote(id, params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 54
def self.edit_create_sub_for_customer_quote(id, params, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"edit_create_subscription_quote"), params, env, headers)
end
edit_for_charge_items_and_charges(id, params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 94
def self.edit_for_charge_items_and_charges(id, params, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"edit_for_charge_items_and_charges"), params, env, headers)
end
edit_one_time_quote(id, params={}, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 70
def self.edit_one_time_quote(id, params={}, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"edit_one_time_quote"), params, env, headers)
end
edit_update_subscription_quote(id, params={}, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 62
def self.edit_update_subscription_quote(id, params={}, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"edit_update_subscription_quote"), params, env, headers)
end
edit_update_subscription_quote_for_items(id, params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 86
def self.edit_update_subscription_quote_for_items(id, params, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"edit_update_subscription_quote_for_items"), params, env, headers)
end
extend_expiry_date(id, params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 114
def self.extend_expiry_date(id, params, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"extend_expiry_date"), params, env, headers)
end
list(params={}, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 98
def self.list(params={}, env=nil, headers={})
  Request.send_list_request('get', uri_path("quotes"), params, env, headers)
end
pdf(id, params={}, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 122
def self.pdf(id, params={}, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"pdf"), params, env, headers)
end
quote_line_groups_for_quote(id, params={}, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 102
def self.quote_line_groups_for_quote(id, params={}, env=nil, headers={})
  Request.send('get', uri_path("quotes",id.to_s,"quote_line_groups"), params, env, headers)
end
retrieve(id, env=nil, headers={}) click to toggle source

OPERATIONS

# File lib/chargebee/models/quote.rb, line 46
def self.retrieve(id, env=nil, headers={})
  Request.send('get', uri_path("quotes",id.to_s), {}, env, headers)
end
update_status(id, params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 110
def self.update_status(id, params, env=nil, headers={})
  Request.send('post', uri_path("quotes",id.to_s,"update_status"), params, env, headers)
end
update_subscription_quote(params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 58
def self.update_subscription_quote(params, env=nil, headers={})
  Request.send('post', uri_path("quotes","update_subscription_quote"), params, env, headers)
end
update_subscription_quote_for_items(params, env=nil, headers={}) click to toggle source
# File lib/chargebee/models/quote.rb, line 82
def self.update_subscription_quote_for_items(params, env=nil, headers={})
  Request.send('post', uri_path("quotes","update_subscription_quote_for_items"), params, env, headers)
end