Sha256: 4060a5460f5f628a187ca1323971b6dbdd8e2c18e7f600aaaadbc2099bbea186

Contents?: true

Size: 898 Bytes

Versions: 6

Compression:

Stored size: 898 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, :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

  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

6 entries across 6 versions & 1 rubygems

Version Path
chargebee-2.2.6 lib/chargebee/models/invoice_estimate.rb
chargebee-2.2.5 lib/chargebee/models/invoice_estimate.rb
chargebee-2.2.4 lib/chargebee/models/invoice_estimate.rb
chargebee-2.2.3 lib/chargebee/models/invoice_estimate.rb
chargebee-2.2.2 lib/chargebee/models/invoice_estimate.rb
chargebee-2.2.1 lib/chargebee/models/invoice_estimate.rb