Sha256: e060d9aed34aa5c3ed8c7b82ff04b0be560669352a28c24356ba104f60b0f24f

Contents?: true

Size: 953 Bytes

Versions: 5

Compression:

Stored size: 953 Bytes

Contents

module Economic
  class Customer < Base
    field :address
    field :balance
    field :barred
    field :city
    field :contacts
    field :corporateIdentificationNumber
    field :country
    field :creditLimit
    field :currency
    field :customerNumber, id: true
    field :deliveryLocations
    field :dueAmount
    field :ean
    field :email
    field :lastUpdated
    field :name
    field :mobilePhone
    field :pNumber
    field :publicEntryNumber
    field :telephoneAndFaxNumber
    field :vatNumber
    field :website
    field :zip

    # field :attention
    # field :customerContact
    relation :customerGroup, fields: [:customerGroupNumber]
    # field :defaultDeliveryLocation
    # field :invoices
    relation :layout, fields: [:layoutNumber]
    relation :paymentTerms, fields: [:paymentTermsNumber]
    # field :salesPerson
    # field :templates
    # field :totals
    relation :vatZone, fields: [:vatZoneNumber]
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
economic-rest-0.6.1 lib/economic/customer.rb
economic-rest-0.6.0 lib/economic/customer.rb
economic-rest-0.5.14 lib/economic/customer.rb
economic-rest-0.5.13 lib/economic/customer.rb
economic-rest-0.5.12 lib/economic/customer.rb