mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-05 04:55:48 +08:00
[braintree] Update to 4.42.* (#15362)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "4.41.*"
|
||||
version = "4.42.*"
|
||||
upstream_repository = "https://github.com/braintree/braintree_python"
|
||||
|
||||
@@ -65,3 +65,4 @@ class BraintreeGateway:
|
||||
webhook_notification: WebhookNotificationGateway
|
||||
webhook_testing: WebhookTestingGateway
|
||||
def __init__(self, config=None, **kwargs) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
|
||||
@@ -64,6 +64,7 @@ class Configuration:
|
||||
def http(self) -> Http: ...
|
||||
def graphql_client(self) -> GraphQLClient: ...
|
||||
def http_strategy(self): ...
|
||||
def close(self) -> None: ...
|
||||
def has_client_credentials(self) -> bool: ...
|
||||
def assert_has_client_credentials(self) -> None: ...
|
||||
def has_access_token(self) -> bool: ...
|
||||
|
||||
@@ -178,6 +178,7 @@ class Transaction(Resource):
|
||||
network_transaction_id: Incomplete
|
||||
payment_facilitator: PaymentFacilitator
|
||||
transfer: Transfer
|
||||
partially_authorized: bool
|
||||
subscription_id: str
|
||||
created_at: datetime
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -2,6 +2,7 @@ from typing import Final
|
||||
|
||||
class TransactionAmounts:
|
||||
Authorize: Final = "1000.00"
|
||||
PartiallyAuthorized: Final = "1004.00"
|
||||
Decline: Final = "2000.00"
|
||||
HardDecline: Final = "2015.00"
|
||||
Fail: Final = "3000.00"
|
||||
|
||||
@@ -17,6 +17,7 @@ class Http:
|
||||
config: Configuration
|
||||
environment: Environment
|
||||
def __init__(self, config: Configuration, environment: Environment | None = None) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def post(self, path: str, params: dict[str, Incomplete] | None = None): ...
|
||||
def delete(self, path: str): ...
|
||||
def get(self, path: str): ...
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
from typing_extensions import deprecated
|
||||
|
||||
from braintree.address import Address
|
||||
from braintree.credit_card_verification import CreditCardVerification
|
||||
from braintree.resource import Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
@deprecated("Visa Checkout is no longer supported for creating new transactions.")
|
||||
class VisaCheckoutCard(Resource):
|
||||
billing_address: Address | None
|
||||
subscriptions: list[Subscription]
|
||||
|
||||
Reference in New Issue
Block a user