Sha256: 34bd94e60cc580f7270265eb85454ebe2aa20f74301949bb705e9fad52c99723

Contents?: true

Size: 1.58 KB

Versions: 14

Compression:

Stored size: 1.58 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, :unit_amount_in_decimal, :quantity_in_decimal, :amount_in_decimal, :discount_amount, :item_level_discount_amount, :description, :entity_description, :entity_type, :tax_exempt_reason, :entity_id, :customer_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, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code, :tax_amount_in_local_currency, :local_currency_code
    end

    class LineItemDiscount < Model
      attr_accessor :line_item_id, :discount_type, :coupon_id, :entity_id, :discount_amount
    end

    class LineItemTier < Model
      attr_accessor :line_item_id, :starting_unit, :ending_unit, :quantity_used, :unit_amount, :starting_unit_in_decimal, :ending_unit_in_decimal, :quantity_used_in_decimal, :unit_amount_in_decimal
    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, :customer_id

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

  end # ~CreditNoteEstimate
end # ~ChargeBee

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
chargebee-2.16.0 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.15.0 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.14.1 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.14.0 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.13.1 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.13.0 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.12.0 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.11.2 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.11.1 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.11.0 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.10.1 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.10.0 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.9.0 lib/chargebee/models/credit_note_estimate.rb
chargebee-2.8.8 lib/chargebee/models/credit_note_estimate.rb