massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / braintree / braintree / subscription_gateway.pyi
1 from typing import Any
2
3 from braintree.error_result import ErrorResult as ErrorResult
4 from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
5 from braintree.resource import Resource as Resource
6 from braintree.resource_collection import ResourceCollection as ResourceCollection
7 from braintree.subscription import Subscription as Subscription
8 from braintree.successful_result import SuccessfulResult as SuccessfulResult
9 from braintree.transaction import Transaction as Transaction
10
11 class SubscriptionGateway:
12     gateway: Any
13     config: Any
14     def __init__(self, gateway) -> None: ...
15     def cancel(self, subscription_id): ...
16     def create(self, params: Any | None = ...): ...
17     def find(self, subscription_id): ...
18     def retry_charge(self, subscription_id, amount: Any | None = ..., submit_for_settlement: bool = ...): ...
19     def search(self, *query): ...
20     def update(self, subscription_id, params: Any | None = ...): ...