Sha256: f172df50bb7c8e7295b6f3c46df3e8bb781472faa77412ab8c587cc138ed03a1

Contents?: true

Size: 673 Bytes

Versions: 3

Compression:

Stored size: 673 Bytes

Contents

module ChargeBee
  class InvoiceEstimate < Model

    class LineItem < Model
      attr_accessor :date_from, :date_to, :unit_amount, :quantity, :is_taxed, :tax_amount, :tax_rate, :amount, :discount_amount, :item_level_discount_amount, :description, :entity_type, :entity_id
    end

    class Discount < Model
      attr_accessor :amount, :description, :entity_type, :entity_id
    end

    class Tax < Model
      attr_accessor :amount, :description
    end

  attr_accessor :recurring, :price_type, :sub_total, :total, :credits_applied, :amount_paid, :amount_due,
  :line_items, :discounts, :taxes

  # OPERATIONS
  #-----------

  end # ~InvoiceEstimate
end # ~ChargeBee

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chargebee-2.0.2 lib/chargebee/models/invoice_estimate.rb
chargebee-2.0.1 lib/chargebee/models/invoice_estimate.rb
chargebee-2.0.0 lib/chargebee/models/invoice_estimate.rb