Class: ChargeBee::InvoiceEstimate

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/invoice_estimate.rb

Defined Under Namespace

Classes: Discount, LineItem, LineItemDiscount, LineItemTax, LineItemTier, Tax

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #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_dueObject

Returns the value of attribute amount_due.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def amount_due
  @amount_due
end

#amount_paidObject

Returns the value of attribute amount_paid.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def amount_paid
  @amount_paid
end

#credits_appliedObject

Returns the value of attribute credits_applied.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def credits_applied
  @credits_applied
end

#currency_codeObject

Returns the value of attribute currency_code.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def currency_code
  @currency_code
end

#customer_idObject

Returns the value of attribute customer_id.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def customer_id
  @customer_id
end

#discountsObject

Returns the value of attribute discounts.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def discounts
  @discounts
end

#line_item_discountsObject

Returns the value of attribute line_item_discounts.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def line_item_discounts
  @line_item_discounts
end

#line_item_taxesObject

Returns the value of attribute line_item_taxes.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def line_item_taxes
  @line_item_taxes
end

#line_item_tiersObject

Returns the value of attribute line_item_tiers.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def line_item_tiers
  @line_item_tiers
end

#line_itemsObject

Returns the value of attribute line_items.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def line_items
  @line_items
end

#price_typeObject

Returns the value of attribute price_type.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def price_type
  @price_type
end

#recurringObject

Returns the value of attribute recurring.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def recurring
  @recurring
end

#round_off_amountObject

Returns the value of attribute round_off_amount.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def round_off_amount
  @round_off_amount
end

#sub_totalObject

Returns the value of attribute sub_total.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def sub_total
  @sub_total
end

#taxesObject

Returns the value of attribute taxes.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def taxes
  @taxes
end

#totalObject

Returns the value of attribute total.



28
29
30
# File 'lib/chargebee/models/invoice_estimate.rb', line 28

def total
  @total
end