Sha256: 52bd12aa02176a7d81d55d412ea54c35af8feafcd646c346175400a754abb922
Contents?: true
Size: 693 Bytes
Versions: 8
Compression:
Stored size: 693 Bytes
Contents
# frozen_string_literal: true require_relative 'account' require_relative 'currency' require_relative 'department' require_relative 'deposit_line_item' module LedgerSync module Ledgers module NetSuite class Deposit < NetSuite::Resource attribute :memo, type: Type::String attribute :transaction_date, type: Type::Date attribute :exchange_rate, type: Type::Float references_one :account, to: Account references_one :department, to: Department references_one :currency, to: Currency references_many :line_items, to: DepositLineItem def name "Deposit: #{currency}" end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems