C# Class Foretagsplatsen.Api.Resources.FiscalYearResource

Fiscal year REST resource: https://web.foretagsplatsen.se/Api/Company/{businessIdentityCode}/FiscalYear/
Exibir arquivo Open project: foretagsplatsen/Foretagsplatsen-DotNet-API

Public Methods

Method Description
Delete ( FiscalYear year ) : void

Delete a fiscal year.

Delete ( string fiscalYearId ) : void

Delete a fiscal year.

FiscalYearResource ( ApiClient client, CompanyInfo company ) : System.Collections.Generic

Instantiates a new FiscalYearResource object.

FiscalYearResource ( ApiClient client, string businessIdentityCode ) : System.Collections.Generic

Instantiates a new FiscalYearResource object.

GetCollectionUrl ( ) : string

Url for the fiscal year collection resource.

GetUrl ( string fiscalYearId ) : string

Url for the fiscal year resource.

List ( ) : List

List all fiscal years for a company

Method Details

Delete() public method

Delete a fiscal year.
public Delete ( FiscalYear year ) : void
year Foretagsplatsen.Api.Entities.FiscalYear Identifier for fiscal year.
return void

Delete() public method

Delete a fiscal year.
public Delete ( string fiscalYearId ) : void
fiscalYearId string Identifier for fiscal year.
return void

FiscalYearResource() public method

Instantiates a new FiscalYearResource object.
public FiscalYearResource ( ApiClient client, CompanyInfo company ) : System.Collections.Generic
client ApiClient REST client
company Foretagsplatsen.Api.Entities.CompanyInfo Company
return System.Collections.Generic

FiscalYearResource() public method

Instantiates a new FiscalYearResource object.
public FiscalYearResource ( ApiClient client, string businessIdentityCode ) : System.Collections.Generic
client ApiClient REST client
businessIdentityCode string Business identity code for company.
return System.Collections.Generic

GetCollectionUrl() public method

Url for the fiscal year collection resource.
public GetCollectionUrl ( ) : string
return string

GetUrl() public method

Url for the fiscal year resource.
public GetUrl ( string fiscalYearId ) : string
fiscalYearId string Identifier for fiscal year.
return string

List() public method

List all fiscal years for a company
public List ( ) : List
return List