C# Class Foretagsplatsen.Api.Resources.FiscalYearResource

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

Méthodes publiques

Méthode 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 méthode

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

Delete() public méthode

Delete a fiscal year.
public Delete ( string fiscalYearId ) : void
fiscalYearId string Identifier for fiscal year.
Résultat void

FiscalYearResource() public méthode

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

FiscalYearResource() public méthode

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.
Résultat System.Collections.Generic

GetCollectionUrl() public méthode

Url for the fiscal year collection resource.
public GetCollectionUrl ( ) : string
Résultat string

GetUrl() public méthode

Url for the fiscal year resource.
public GetUrl ( string fiscalYearId ) : string
fiscalYearId string Identifier for fiscal year.
Résultat string

List() public méthode

List all fiscal years for a company
public List ( ) : List
Résultat List