Sha256: 8a301252b2c66f26cd43b8378422efc0cd1b8eca8567c344c636d0c48726bd09

Contents?: true

Size: 1.42 KB

Versions: 2

Compression:

Stored size: 1.42 KB

Contents

module ChargeBee
  class QuoteLineGroup < 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, :usage_percentage, :reference_line_item_id, :description, :entity_description, :entity_type, :tax_exempt_reason, :entity_id, :customer_id
    end

    class Discount < Model
      attr_accessor :amount, :description, :entity_type, :discount_type, :entity_id, :coupon_set_code
    end

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

    class Tax < Model
      attr_accessor :name, :amount, :description
    end

    class LineItemTax < Model
      attr_accessor :line_item_id, :tax_name, :tax_rate, :date_to, :date_from, :prorated_taxable_amount, :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

  attr_accessor :version, :id, :sub_total, :total, :credits_applied, :amount_paid, :amount_due,
  :charge_event, :billing_cycle_number, :line_items, :discounts, :line_item_discounts, :taxes,
  :line_item_taxes

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

  end # ~QuoteLineGroup
end # ~ChargeBee

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chargebee-2.49.0 lib/chargebee/models/quote_line_group.rb
chargebee-2.48.0 lib/chargebee/models/quote_line_group.rb