Sha256: b5910766b9ead99f3588ce18eec97dadd1e8147d7acce90f531fc70578989f6e

Contents?: true

Size: 1.61 KB

Versions: 21

Compression:

Stored size: 1.61 KB

Contents

module ChargeBee
  class InvoiceEstimate < 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, :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, :entity_id, :coupon_set_code
    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 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

    class LineItemDiscount < Model
      attr_accessor :line_item_id, :discount_type, :coupon_id, :entity_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_tiers,
  :line_item_discounts, :round_off_amount, :customer_id

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

  end # ~InvoiceEstimate
end # ~ChargeBee

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
chargebee-2.34.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.33.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.32.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.31.1 lib/chargebee/models/invoice_estimate.rb
chargebee-2.31.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.30.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.29.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.28.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.27.1 lib/chargebee/models/invoice_estimate.rb
chargebee-2.27.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.26.1 lib/chargebee/models/invoice_estimate.rb
chargebee-2.26.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.25.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.24.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.23.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.22.1 lib/chargebee/models/invoice_estimate.rb
chargebee-2.22.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.21.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.20.0 lib/chargebee/models/invoice_estimate.rb
chargebee-2.19.0 lib/chargebee/models/invoice_estimate.rb