Sha256: 56500a9da08476adab0e7784b575c323e76f362c5dd42857ec8d0a745c1e3c52
Contents?: true
Size: 931 Bytes
Versions: 3
Compression:
Stored size: 931 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors module QuickBooksOnline module DepositLineItem class LedgerSerializer < QuickBooksOnline::LedgerSerializer id attribute ledger_attribute: 'DetailType' do 'DepositLineDetail' end attribute ledger_attribute: 'DepositLineDetail.AccountRef.value', resource_attribute: 'account.ledger_id' attribute ledger_attribute: 'DepositLineDetail.Entity', resource_attribute: :entity, type: LedgerSerializerType::EntityReferenceType attribute ledger_attribute: 'Amount', resource_attribute: :amount, type: LedgerSerializerType::AmountType attribute ledger_attribute: 'Description', resource_attribute: :description end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems