C# 클래스 Altairis.Fakturoid.Client.FakturoidContext

Class representing connection to Fakturoid API, holds authentication information etc.
파일 보기 프로젝트 열기: ridercz/Fakturoid-API 1 사용 예제들

공개 메소드들

메소드 설명
FakturoidContext ( string accountName, string emailAddress, string authenticationToken, string userAgent = DEFAULT_USER_AGENT ) : System

Initializes a new instance of the FakturoidContext class.

GetAccountInfo ( ) : Altairis.Fakturoid.Client.JsonAccount

Gets the account information.

비공개 메소드들

메소드 설명
GetHttpClient ( ) : HttpClient

Gets the System.Net.Http.HttpClient class, initialized for use with Fakturoid API.

메소드 상세

FakturoidContext() 공개 메소드

Initializes a new instance of the FakturoidContext class.
accountName /// or /// authenticationToken /// or /// userAgent Value cannot be empty or whitespace only string.;accountName /// or /// Value cannot be empty or whitespace only string.;authenticationToken /// or /// Value cannot be empty or whitespace only string.;userAgent
public FakturoidContext ( string accountName, string emailAddress, string authenticationToken, string userAgent = DEFAULT_USER_AGENT ) : System
accountName string Account name (accountName).
emailAddress string The email address od user being authenticated.
authenticationToken string The authentication token.
userAgent string The User-Agent HTTP header value.
리턴 System

GetAccountInfo() 공개 메소드

Gets the account information.
public GetAccountInfo ( ) : Altairis.Fakturoid.Client.JsonAccount
리턴 Altairis.Fakturoid.Client.JsonAccount