Sha256: 28a745b5a400863a97e671d6190d9248422a27f9d914f75d0671cac7b0b5ea3f
Contents?: true
Size: 858 Bytes
Versions: 13
Compression:
Stored size: 858 Bytes
Contents
require 'gecko/record/base' module Gecko module Record class PurchaseOrderLineItem < Base belongs_to :purchase_order, writeable_on: :create belongs_to :variant, writeable_on: :create belongs_to :procurement belongs_to :tax_type attribute :quantity, BigDecimal attribute :position, Integer attribute :tax_rate_override, BigDecimal attribute :price, BigDecimal attribute :label, String attribute :freeform, Boolean attribute :base_price, BigDecimal, readonly: true attribute :extra_cost_value, BigDecimal, readonly: true attribute :image_url, String, readonly: true # DEPRECATED # attribute :tax_rate, String end class PurchaseOrderLineItemAdapter < BaseAdapter end end end
Version data entries
13 entries across 13 versions & 1 rubygems