lib/chargebee/models/invoice_estimate.rb in chargebee-2.6.2 vs lib/chargebee/models/invoice_estimate.rb in chargebee-2.6.3
- old
+ new
@@ -1,36 +1,36 @@
-module ChargeBee
- class InvoiceEstimate < Model
-
- class LineItem < Model
- attr_accessor :id, :subscription_id, :date_from, :date_to, :unit_amount, :quantity, :amount, :pricing_model, :is_taxed, :tax_amount, :tax_rate, :discount_amount, :item_level_discount_amount, :description, :entity_type, :tax_exempt_reason, :entity_id
- end
-
- class Discount < Model
- attr_accessor :amount, :description, :entity_type, :entity_id
- end
-
- class Tax < Model
- attr_accessor :name, :amount, :description
- end
-
- class LineItemTax < Model
- attr_accessor :line_item_id, :tax_name, :tax_rate, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
- end
-
- class LineItemTier < Model
- attr_accessor :line_item_id, :starting_unit, :ending_unit, :quantity_used, :unit_amount
- end
-
- class LineItemDiscount < Model
- attr_accessor :line_item_id, :discount_type, :coupon_id, :discount_amount
- end
-
- attr_accessor :recurring, :price_type, :currency_code, :sub_total, :total, :credits_applied,
- :amount_paid, :amount_due, :line_items, :discounts, :taxes, :line_item_taxes, :line_item_tiers,
- :line_item_discounts, :round_off_amount
-
- # OPERATIONS
- #-----------
-
- end # ~InvoiceEstimate
+module ChargeBee
+ class InvoiceEstimate < Model
+
+ class LineItem < Model
+ attr_accessor :id, :subscription_id, :date_from, :date_to, :unit_amount, :quantity, :amount, :pricing_model, :is_taxed, :tax_amount, :tax_rate, :discount_amount, :item_level_discount_amount, :description, :entity_type, :tax_exempt_reason, :entity_id
+ end
+
+ class Discount < Model
+ attr_accessor :amount, :description, :entity_type, :entity_id
+ end
+
+ class Tax < Model
+ attr_accessor :name, :amount, :description
+ end
+
+ class LineItemTax < Model
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
+ end
+
+ class LineItemTier < Model
+ attr_accessor :line_item_id, :starting_unit, :ending_unit, :quantity_used, :unit_amount
+ end
+
+ class LineItemDiscount < Model
+ attr_accessor :line_item_id, :discount_type, :coupon_id, :discount_amount
+ end
+
+ attr_accessor :recurring, :price_type, :currency_code, :sub_total, :total, :credits_applied,
+ :amount_paid, :amount_due, :line_items, :discounts, :taxes, :line_item_taxes, :line_item_tiers,
+ :line_item_discounts, :round_off_amount
+
+ # OPERATIONS
+ #-----------
+
+ end # ~InvoiceEstimate
end # ~ChargeBee
\ No newline at end of file