Sha256: c8e37bd202408211c0a6d19dd56eee07c1925edcbad014a3b265498f790a48e1
Contents?: true
Size: 1.21 KB
Versions: 5
Compression:
Stored size: 1.21 KB
Contents
require "xeroizer/models/attachment" module Xeroizer module Record class PurchaseOrderModel < BaseModel set_permissions :read, :write, :update include AttachmentModel::Extensions end class PurchaseOrder < Base include Attachment::Extensions set_primary_key :purchase_order_id set_possible_primary_keys :purchase_order_id guid :purchase_order_id string :purchase_order_number string :date_string date :date string :delivery_date_string date :delivery_date string :delivery_address string :attention_to string :telephone string :delivery_instructions boolean :has_errors boolean :is_discounted string :reference string :type decimal :currency_rate string :currency_code guid :branding_theme_id string :status string :line_amount_types decimal :sub_total decimal :total_tax decimal :total datetime_utc :updated_date_utc, :api_name => 'UpdatedDateUTC' boolean :has_attachments has_many :line_items belongs_to :contact, :model_name => 'Contact' end end end
Version data entries
5 entries across 5 versions & 2 rubygems