massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / braintree / braintree / configuration.pyi
1 from typing import Any
2
3 from braintree.credentials_parser import CredentialsParser as CredentialsParser
4 from braintree.environment import Environment as Environment
5 from braintree.exceptions.configuration_error import ConfigurationError as ConfigurationError
6 from braintree.util.graphql_client import GraphQLClient as GraphQLClient
7
8 class Configuration:
9     @staticmethod
10     def configure(environment, merchant_id, public_key, private_key, **kwargs) -> None: ...
11     @staticmethod
12     def for_partner(environment, partner_id, public_key, private_key, **kwargs): ...
13     @staticmethod
14     def gateway(): ...
15     @staticmethod
16     def instantiate(): ...
17     @staticmethod
18     def api_version(): ...
19     @staticmethod
20     def graphql_api_version(): ...
21     environment: Any
22     merchant_id: Any
23     public_key: Any
24     private_key: Any
25     client_id: Any
26     client_secret: Any
27     access_token: Any
28     timeout: Any
29     wrap_http_exceptions: Any
30     def __init__(
31         self,
32         environment: Any | None = ...,
33         merchant_id: Any | None = ...,
34         public_key: Any | None = ...,
35         private_key: Any | None = ...,
36         client_id: Any | None = ...,
37         client_secret: Any | None = ...,
38         access_token: Any | None = ...,
39         *args,
40         **kwargs,
41     ) -> None: ...
42     def base_merchant_path(self): ...
43     def base_url(self): ...
44     def graphql_base_url(self): ...
45     def http(self): ...
46     def graphql_client(self): ...
47     def http_strategy(self): ...
48     def has_client_credentials(self): ...
49     def assert_has_client_credentials(self) -> None: ...
50     def has_access_token(self): ...