Exemplo n.º 1
0
        //"*****@*****.**"
        // "123456789"
        public TokenModel GetToken(String email, String password)
        {
            DearClient.Authenticator = new SimpleAuthenticator("username", email, "password", password);
            var response = DearClient.ExecuteUnzipped <TokenModel>(_request);

            return(response.Data);
        }
        public BilingAddressTemp Request()
        {
            var responce = DearClient.ExecuteUnzipped <BilingAddressTemp>(_request);

            return(responce.Data);
        }
Exemplo n.º 3
0
 public void GetToken()
 {
     DearClient.Execute(_request);
 }
Exemplo n.º 4
0
        public QuoteResponse Request()
        {
            var responce = DearClient.ExecuteUnzipped <QuoteResponse>(_request);

            return(responce.Data);
        }