Sha256: 316615176c9fb7bb4221c3ed4b4cddd7211511112bce6f6f9a450cb07d213550

Contents?: true

Size: 895 Bytes

Versions: 13

Compression:

Stored size: 895 Bytes

Contents

module ChargeBee
  class CreditNoteEstimate < 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 :reference_invoice_id, :type, :price_type, :currency_code, :sub_total, :total,
  :amount_allocated, :amount_available, :line_items, :discounts, :taxes, :line_item_taxes

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

  end # ~CreditNoteEstimate
end # ~ChargeBee

Version data entries

13 entries across 13 versions & 1 rubygems

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