51 lines
1.7 KiB
C#
51 lines
1.7 KiB
C#
using Sarand.Net.Standard.Accounts.QuickBooks.App;
|
|
using Sarand.Net.Standard.Base.Core;
|
|
using Sarand.Net.Standard.Base.Bus;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Sarand.Net.Standard.Accounts.QuickBooks.Base
|
|
{
|
|
//=======================================================================
|
|
public abstract class SaQuickBooksApiConsole : SacsDisposableStateItem
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Data members.
|
|
private readonly SaQuickBooksParams prmQbk;
|
|
|
|
//-------------------------------------------------------------------
|
|
// Static initialisation.
|
|
static SaQuickBooksApiConsole ()
|
|
{
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Construction.
|
|
protected SaQuickBooksApiConsole (SaQuickBooksParams prmQbk)
|
|
{
|
|
this.prmQbk = prmQbk;
|
|
}
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing)
|
|
{
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Properties.
|
|
|
|
//-------------------------------------------------------------------
|
|
// D a t a I t e m s
|
|
//-------------------------------------------------------------------
|
|
public abstract SaQuickBooksDataItem CreateDataItem (Qbk.EntityType entityType);
|
|
/// <summary>Create data item iterator (to retrieve list of data items of specific type).</summary>
|
|
public abstract SaQuickBooksDataItem.Iterator CreateItemIterator (Qbk.EntityType entityType);
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|