Class: ChargeBee::UnbilledCharge
- Defined in:
- lib/chargebee/models/unbilled_charge.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#date_from ⇒ Object
Returns the value of attribute date_from.
-
#date_to ⇒ Object
Returns the value of attribute date_to.
-
#deleted ⇒ Object
Returns the value of attribute deleted.
-
#description ⇒ Object
Returns the value of attribute description.
-
#discount_amount ⇒ Object
Returns the value of attribute discount_amount.
-
#entity_id ⇒ Object
Returns the value of attribute entity_id.
-
#entity_type ⇒ Object
Returns the value of attribute entity_type.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_voided ⇒ Object
Returns the value of attribute is_voided.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
-
#unit_amount ⇒ Object
Returns the value of attribute unit_amount.
-
#voided_at ⇒ Object
Returns the value of attribute voided_at.
Class Method Summary collapse
- .delete(id, env = nil, headers = {}) ⇒ Object
- .invoice_now_estimate(params = {}, env = nil, headers = {}) ⇒ Object
-
.invoice_unbilled_charges(params = {}, env = nil, headers = {}) ⇒ Object
OPERATIONS -----------.
- .list(params = {}, env = nil, headers = {}) ⇒ Object
Methods inherited from Model
construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #to_s, uri_path
Constructor Details
This class inherits a constructor from ChargeBee::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ChargeBee::Model
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def amount @amount end |
#currency_code ⇒ Object
Returns the value of attribute currency_code.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def currency_code @currency_code end |
#customer_id ⇒ Object
Returns the value of attribute customer_id.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def customer_id @customer_id end |
#date_from ⇒ Object
Returns the value of attribute date_from.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def date_from @date_from end |
#date_to ⇒ Object
Returns the value of attribute date_to.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def date_to @date_to end |
#deleted ⇒ Object
Returns the value of attribute deleted.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def deleted @deleted end |
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def description @description end |
#discount_amount ⇒ Object
Returns the value of attribute discount_amount.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def discount_amount @discount_amount end |
#entity_id ⇒ Object
Returns the value of attribute entity_id.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def entity_id @entity_id end |
#entity_type ⇒ Object
Returns the value of attribute entity_type.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def entity_type @entity_type end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def id @id end |
#is_voided ⇒ Object
Returns the value of attribute is_voided.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def is_voided @is_voided end |
#quantity ⇒ Object
Returns the value of attribute quantity.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def quantity @quantity end |
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def subscription_id @subscription_id end |
#unit_amount ⇒ Object
Returns the value of attribute unit_amount.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def unit_amount @unit_amount end |
#voided_at ⇒ Object
Returns the value of attribute voided_at.
4 5 6 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 4 def voided_at @voided_at end |
Class Method Details
.delete(id, env = nil, headers = {}) ⇒ Object
15 16 17 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 15 def self.delete(id, env=nil, headers={}) Request.send('post', uri_path("unbilled_charges",id.to_s,"delete"), {}, env, headers) end |
.invoice_now_estimate(params = {}, env = nil, headers = {}) ⇒ Object
23 24 25 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 23 def self.invoice_now_estimate(params={}, env=nil, headers={}) Request.send('post', uri_path("unbilled_charges","invoice_now_estimate"), params, env, headers) end |
.invoice_unbilled_charges(params = {}, env = nil, headers = {}) ⇒ Object
OPERATIONS
11 12 13 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 11 def self.invoice_unbilled_charges(params={}, env=nil, headers={}) Request.send('post', uri_path("unbilled_charges","invoice_unbilled_charges"), params, env, headers) end |
.list(params = {}, env = nil, headers = {}) ⇒ Object
19 20 21 |
# File 'lib/chargebee/models/unbilled_charge.rb', line 19 def self.list(params={}, env=nil, headers={}) Request.send_list_request('get', uri_path("unbilled_charges"), params, env, headers) end |