Sha256: eb6ec5c06b2c58a2f1a02826b87503035d17a3199af39286d6951844e2552687
Contents?: true
Size: 837 Bytes
Versions: 6
Compression:
Stored size: 837 Bytes
Contents
require 'gecko/record/base' module Gecko module Record class OrderLineItem < Base belongs_to :order, writeable_on: :create belongs_to :variant, writeable_on: :create belongs_to :tax_type has_many :fulfillment_line_items has_many :invoice_line_items attribute :label, String attribute :line_type, String attribute :freeform, Boolean attribute :shippable, Boolean, readonly: true attribute :discount, BigDecimal attribute :quantity, BigDecimal attribute :price, BigDecimal attribute :tax_rate_override, BigDecimal attribute :position, Integer attribute :image_url, String, readonly: true # DEPRECATED attribute :tax_rate, BigDecimal end class OrderLineItemAdapter < BaseAdapter end end end
Version data entries
6 entries across 6 versions & 1 rubygems