Sha256: 31848bf0855e0a634599d3033eed8a425826c8a027e2166613fccc4f59ccc79d

Contents?: true

Size: 451 Bytes

Versions: 23

Compression:

Stored size: 451 Bytes

Contents

# frozen_string_literal: true

module IronBank
  module Resources
    # An invoice item holds a charge that is billed to a customer.
    #
    class InvoiceItem < Resource
      with_schema

      with_one :invoice
      with_one :subscription

      # NOTE: the `product_id` field is not always populated by Zuora in the GET
      # request (`#find` method), I don't exactly know why.
      with_one :product
      with_one :charge
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
iron_bank-5.4.1 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.4.0 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.3.2 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.3.0 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.2.6 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.2.4 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.2.3 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.2.0 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.1.1 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.1.0 lib/iron_bank/resources/invoice_item.rb
iron_bank-4.4.3 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.0.1 lib/iron_bank/resources/invoice_item.rb
iron_bank-5.0.0 lib/iron_bank/resources/invoice_item.rb
iron_bank-4.4.1 lib/iron_bank/resources/invoice_item.rb
iron_bank-4.4.0 lib/iron_bank/resources/invoice_item.rb
iron_bank-4.3.1 lib/iron_bank/resources/invoice_item.rb
iron_bank-4.3.0 lib/iron_bank/resources/invoice_item.rb
iron_bank-4.2.0 lib/iron_bank/resources/invoice_item.rb
iron_bank-4.1.1 lib/iron_bank/resources/invoice_item.rb
iron_bank-4.1.0 lib/iron_bank/resources/invoice_item.rb