Sha256: 1ba7d9de43199ffa039361fe601bd35929ea1bd9156632168495e6ef769d0c9a

Contents?: true

Size: 1.24 KB

Versions: 5

Compression:

Stored size: 1.24 KB

Contents

module ChargeBee
  class CreditNoteEstimate < Model

    class LineItem < Model
      attr_accessor :id, :subscription_id, :date_from, :date_to, :unit_amount, :quantity, :amount, :pricing_model, :is_taxed, :tax_amount, :tax_rate, :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

    class LineItemTier < Model
      attr_accessor :line_item_id, :starting_unit, :ending_unit, :quantity_used, :unit_amount
    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, :line_item_discounts,
  :line_item_tiers, :round_off_amount

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

  end # ~CreditNoteEstimate
end # ~ChargeBee

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chargebee-2.6.2 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.6.1 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.6.0 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.5.9 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.5.8 lib/chargebee/models/credit_note_estimate.rb