Sha256: 6c43a9d9da46e8284b99b6666580af7af4667a2b1764c1371b4656031a585473

Contents?: true

Size: 878 Bytes

Versions: 13

Compression:

Stored size: 878 Bytes

Contents

module ChargeBee
  class InvoiceEstimate < Model

    class LineItem < Model
      attr_accessor :id, :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 :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

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

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

  end # ~InvoiceEstimate
end # ~ChargeBee

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
chargebee-2.2.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.1.9 lib/chargebee/models/invoice_estimate.rb
chargebee-2.1.8 lib/chargebee/models/invoice_estimate.rb
chargebee-2.1.7 lib/chargebee/models/invoice_estimate.rb
chargebee-2.1.6 lib/chargebee/models/invoice_estimate.rb
chargebee-2.1.5 lib/chargebee/models/invoice_estimate.rb
chargebee-2.1.4 lib/chargebee/models/invoice_estimate.rb
chargebee-2.1.3 lib/chargebee/models/invoice_estimate.rb
chargebee-2.1.2 lib/chargebee/models/invoice_estimate.rb
chargebee-2.1.1 lib/chargebee/models/invoice_estimate.rb
chargebee-2.1.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.0.9 lib/chargebee/models/invoice_estimate.rb
chargebee-2.0.8 lib/chargebee/models/invoice_estimate.rb