C# 클래스 Foretagsplatsen.Api2.Resources.CompanyChartOfAccountsResource

파일 보기 프로젝트 열기: foretagsplatsen/Foretagsplatsen-DotNet-API

공개 메소드들

메소드 설명
CompanyChartOfAccountsResource ( ApiClient client, CompanyInfo company ) : System
CompanyChartOfAccountsResource ( ApiClient client, string companyId ) : System
Create ( ChartOfAccounts chartOfAccounts ) : ChartOfAccounts
Delete ( ChartOfAccounts chartOfAccounts ) : void

Deletes a chart of account from the company. The server will return an error if the chart of account is connect to a year.

Delete ( string chartOfAccountsId ) : void

Deletes a chart of account from the company. The server will return an error if the chart of account is connect to a year.

Get ( string chartOfAccountsId ) : ChartOfAccounts

Get the chart of account by id

List ( ) : List

Lists all chart of accounts for the company

List ( System.DateTime startDate, System.DateTime endDate ) : List

Lists all chart of accounts for the company in a specific period of time.

List ( Period period ) : List

Lists all chart of accounts for the company in a specific period of time.

Update ( ChartOfAccounts chartOfAccounts ) : ChartOfAccounts

비공개 메소드들

메소드 설명
GetUrl ( System.DateTime startDate, System.DateTime endDate ) : string
GetUrl ( string chartOfAccountsId = "" ) : string

메소드 상세

CompanyChartOfAccountsResource() 공개 메소드

public CompanyChartOfAccountsResource ( ApiClient client, CompanyInfo company ) : System
client ApiClient
company Foretagsplatsen.Api2.Entities.Company.CompanyInfo
리턴 System

CompanyChartOfAccountsResource() 공개 메소드

public CompanyChartOfAccountsResource ( ApiClient client, string companyId ) : System
client ApiClient
companyId string
리턴 System

Create() 공개 메소드

public Create ( ChartOfAccounts chartOfAccounts ) : ChartOfAccounts
chartOfAccounts Foretagsplatsen.Api2.Entities.Accounts.ChartOfAccounts
리턴 Foretagsplatsen.Api2.Entities.Accounts.ChartOfAccounts

Delete() 공개 메소드

Deletes a chart of account from the company. The server will return an error if the chart of account is connect to a year.
public Delete ( ChartOfAccounts chartOfAccounts ) : void
chartOfAccounts Foretagsplatsen.Api2.Entities.Accounts.ChartOfAccounts The id of the chart of account to be deleted
리턴 void

Delete() 공개 메소드

Deletes a chart of account from the company. The server will return an error if the chart of account is connect to a year.
public Delete ( string chartOfAccountsId ) : void
chartOfAccountsId string The chart of account to be deleted
리턴 void

Get() 공개 메소드

Get the chart of account by id
public Get ( string chartOfAccountsId ) : ChartOfAccounts
chartOfAccountsId string The id of the chart of account
리턴 Foretagsplatsen.Api2.Entities.Accounts.ChartOfAccounts

List() 공개 메소드

Lists all chart of accounts for the company
public List ( ) : List
리턴 List

List() 공개 메소드

Lists all chart of accounts for the company in a specific period of time.
public List ( System.DateTime startDate, System.DateTime endDate ) : List
startDate System.DateTime Limit the results by this start date
endDate System.DateTime Limit the results by this end date
리턴 List

List() 공개 메소드

Lists all chart of accounts for the company in a specific period of time.
public List ( Period period ) : List
period Foretagsplatsen.Api2.Entities.Period Limit the results by this period
리턴 List

Update() 공개 메소드

public Update ( ChartOfAccounts chartOfAccounts ) : ChartOfAccounts
chartOfAccounts Foretagsplatsen.Api2.Entities.Accounts.ChartOfAccounts
리턴 Foretagsplatsen.Api2.Entities.Accounts.ChartOfAccounts