Sha256: 8a2cc4c46fdd217bbae02005771d2e818a351e221a244619d01db653a904f597

Contents?: true

Size: 1.04 KB

Versions: 25

Compression:

Stored size: 1.04 KB

Contents

module ChargeBee
  class InvoiceEstimate < Model

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

    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_discounts

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

  end # ~InvoiceEstimate
end # ~ChargeBee

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
chargebee-2.5.3 lib/chargebee/models/invoice_estimate.rb
chargebee-2.5.2 lib/chargebee/models/invoice_estimate.rb
chargebee-2.5.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.4.9 lib/chargebee/models/invoice_estimate.rb
chargebee-2.4.8 lib/chargebee/models/invoice_estimate.rb
chargebee-2.4.7 lib/chargebee/models/invoice_estimate.rb
chargebee-2.4.6 lib/chargebee/models/invoice_estimate.rb
chargebee-2.4.5 lib/chargebee/models/invoice_estimate.rb
chargebee-2.4.4 lib/chargebee/models/invoice_estimate.rb
chargebee-2.4.3 lib/chargebee/models/invoice_estimate.rb
chargebee-2.4.2 lib/chargebee/models/invoice_estimate.rb
chargebee-2.4.1 lib/chargebee/models/invoice_estimate.rb
chargebee-2.4.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.3.9 lib/chargebee/models/invoice_estimate.rb
chargebee-2.3.8 lib/chargebee/models/invoice_estimate.rb
chargebee-2.3.7 lib/chargebee/models/invoice_estimate.rb
chargebee-2.3.6 lib/chargebee/models/invoice_estimate.rb
chargebee-2.3.5 lib/chargebee/models/invoice_estimate.rb
chargebee-2.3.4 lib/chargebee/models/invoice_estimate.rb
chargebee-2.3.3 lib/chargebee/models/invoice_estimate.rb