Class: ChargeBee::CreditNoteEstimate

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

Defined Under Namespace

Classes: Discount, LineItem, LineItemDiscount, LineItemTax, Tax

Instance Attribute Summary collapse

Method Summary

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_allocatedObject

Returns the value of attribute amount_allocated.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def amount_allocated
  @amount_allocated
end

#amount_availableObject

Returns the value of attribute amount_available.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def amount_available
  @amount_available
end

#currency_codeObject

Returns the value of attribute currency_code.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def currency_code
  @currency_code
end

#discountsObject

Returns the value of attribute discounts.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def discounts
  @discounts
end

#line_item_discountsObject

Returns the value of attribute line_item_discounts.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def line_item_discounts
  @line_item_discounts
end

#line_item_taxesObject

Returns the value of attribute line_item_taxes.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def line_item_taxes
  @line_item_taxes
end

#line_itemsObject

Returns the value of attribute line_items.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def line_items
  @line_items
end

#price_typeObject

Returns the value of attribute price_type.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def price_type
  @price_type
end

#reference_invoice_idObject

Returns the value of attribute reference_invoice_id.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def reference_invoice_id
  @reference_invoice_id
end

#sub_totalObject

Returns the value of attribute sub_total.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def sub_total
  @sub_total
end

#taxesObject

Returns the value of attribute taxes.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def taxes
  @taxes
end

#totalObject

Returns the value of attribute total.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def total
  @total
end

#typeObject

Returns the value of attribute type.



24
25
26
# File 'lib/chargebee/models/credit_note_estimate.rb', line 24

def type
  @type
end