C# Class SageOneApi.Requests.JournalEntryRequest

Inheritance: RequestBase, IJournalEntryRequest
Mostra file Open project: Pietervdw/sageone-api-wrapper

Public Methods

Method Description
Calculate ( JournalEntry journalEntry ) : JournalEntry
Delete ( int id ) : bool
Get ( int id ) : JournalEntry
Get ( bool includeDetail = false, bool includeSupplierDetails = false, string filter = "", int skip ) : PagingResponse
JournalEntryRequest ( IRestClient client, string apiKey, int companyId ) : RestSharp
Save ( JournalEntry journalEntry ) : JournalEntry

Method Details

Calculate() public method

public Calculate ( JournalEntry journalEntry ) : JournalEntry
journalEntry SageOneApi.Models.JournalEntry
return SageOneApi.Models.JournalEntry

Delete() public method

public Delete ( int id ) : bool
id int
return bool

Get() public method

public Get ( int id ) : JournalEntry
id int
return SageOneApi.Models.JournalEntry

Get() public method

public Get ( bool includeDetail = false, bool includeSupplierDetails = false, string filter = "", int skip ) : PagingResponse
includeDetail bool
includeSupplierDetails bool
filter string
skip int
return PagingResponse

JournalEntryRequest() public method

public JournalEntryRequest ( IRestClient client, string apiKey, int companyId ) : RestSharp
client IRestClient
apiKey string
companyId int
return RestSharp

Save() public method

public Save ( JournalEntry journalEntry ) : JournalEntry
journalEntry SageOneApi.Models.JournalEntry
return SageOneApi.Models.JournalEntry