mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
braintree: Replace usages of Any (#11679)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class AccountUpdaterDailyReport(Resource):
|
||||
report_url: Any
|
||||
report_date: Any
|
||||
report_url: Incomplete
|
||||
report_date: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.add_on import AddOn as AddOn
|
||||
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
||||
|
||||
class AddOnGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def all(self): ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.address import Address as Address
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -8,8 +7,8 @@ from braintree.resource import Resource as Resource
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class AddressGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params: Incomplete | None = None): ...
|
||||
def delete(self, customer_id, address_id): ...
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
class AmexExpressCheckoutCard(Resource):
|
||||
subscriptions: Any
|
||||
subscriptions: list[Subscription]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@property
|
||||
def expiration_date(self): ...
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
class AndroidPayCard(Resource):
|
||||
is_expired: Any
|
||||
subscriptions: Any
|
||||
is_expired: Incomplete
|
||||
subscriptions: list[Subscription]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@property
|
||||
def expiration_date(self): ...
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
class ApplePayCard(Resource):
|
||||
class CardType:
|
||||
@@ -8,8 +9,8 @@ class ApplePayCard(Resource):
|
||||
MasterCard: str
|
||||
Visa: str
|
||||
|
||||
is_expired: Any
|
||||
subscriptions: Any
|
||||
is_expired: Incomplete
|
||||
subscriptions: list[Subscription]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@property
|
||||
def expiration_date(self): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.apple_pay_options import ApplePayOptions as ApplePayOptions
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -6,8 +6,8 @@ from braintree.exceptions.unexpected_error import UnexpectedError as UnexpectedE
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class ApplePayGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def register_domain(self, domain): ...
|
||||
def unregister_domain(self, domain): ...
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
class AttributeGetter:
|
||||
def __init__(self, attributes: Incomplete | None = None) -> None: ...
|
||||
def __init__(self, attributes: dict[str, Any] | None = None) -> None: ...
|
||||
# This doesn't exist at runtime, but subclasses should define their own fields populated by attributes in __init__
|
||||
# Until that's done, keep __getattribute__ to fill in the gaps
|
||||
def __getattribute__(self, name: str) -> Any: ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from typing import Any
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
class AuthorizationAdjustment(AttributeGetter):
|
||||
amount: Any
|
||||
amount: Decimal | None
|
||||
def __init__(self, attributes) -> None: ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.add_on_gateway import AddOnGateway as AddOnGateway
|
||||
from braintree.address_gateway import AddressGateway as AddressGateway
|
||||
@@ -12,6 +11,7 @@ from braintree.customer_gateway import CustomerGateway as CustomerGateway
|
||||
from braintree.discount_gateway import DiscountGateway as DiscountGateway
|
||||
from braintree.dispute_gateway import DisputeGateway as DisputeGateway
|
||||
from braintree.document_upload_gateway import DocumentUploadGateway as DocumentUploadGateway
|
||||
from braintree.exchange_rate_quote_gateway import ExchangeRateQuoteGateway
|
||||
from braintree.merchant_account_gateway import MerchantAccountGateway as MerchantAccountGateway
|
||||
from braintree.merchant_gateway import MerchantGateway as MerchantGateway
|
||||
from braintree.oauth_gateway import OAuthGateway as OAuthGateway
|
||||
@@ -19,6 +19,7 @@ from braintree.payment_method_gateway import PaymentMethodGateway as PaymentMeth
|
||||
from braintree.payment_method_nonce_gateway import PaymentMethodNonceGateway as PaymentMethodNonceGateway
|
||||
from braintree.paypal_account_gateway import PayPalAccountGateway as PayPalAccountGateway
|
||||
from braintree.plan_gateway import PlanGateway as PlanGateway
|
||||
from braintree.sepa_direct_debit_account_gateway import SepaDirectDebitAccountGateway
|
||||
from braintree.settlement_batch_summary_gateway import SettlementBatchSummaryGateway as SettlementBatchSummaryGateway
|
||||
from braintree.subscription_gateway import SubscriptionGateway as SubscriptionGateway
|
||||
from braintree.testing_gateway import TestingGateway as TestingGateway
|
||||
@@ -30,32 +31,34 @@ from braintree.webhook_notification_gateway import WebhookNotificationGateway as
|
||||
from braintree.webhook_testing_gateway import WebhookTestingGateway as WebhookTestingGateway
|
||||
|
||||
class BraintreeGateway:
|
||||
config: Any
|
||||
add_on: Any
|
||||
address: Any
|
||||
apple_pay: Any
|
||||
client_token: Any
|
||||
credit_card: Any
|
||||
customer: Any
|
||||
discount: Any
|
||||
dispute: Any
|
||||
document_upload: Any
|
||||
graphql_client: Any
|
||||
merchant: Any
|
||||
merchant_account: Any
|
||||
oauth: Any
|
||||
payment_method: Any
|
||||
payment_method_nonce: Any
|
||||
paypal_account: Any
|
||||
plan: Any
|
||||
settlement_batch_summary: Any
|
||||
subscription: Any
|
||||
testing: Any
|
||||
transaction: Any
|
||||
transaction_line_item: Any
|
||||
us_bank_account: Any
|
||||
us_bank_account_verification: Any
|
||||
verification: Any
|
||||
webhook_notification: Any
|
||||
webhook_testing: Any
|
||||
config: Configuration
|
||||
add_on: AddOnGateway
|
||||
address: AddressGateway
|
||||
apple_pay: ApplePayGateway
|
||||
client_token: ClientTokenGateway
|
||||
credit_card: CreditCardGateway
|
||||
customer: CustomerGateway
|
||||
discount: DiscountGateway
|
||||
dispute: DisputeGateway
|
||||
document_upload: DocumentUploadGateway
|
||||
exchange_rate_quote: ExchangeRateQuoteGateway
|
||||
graphql_client: Incomplete
|
||||
merchant: MerchantGateway
|
||||
merchant_account: MerchantAccountGateway
|
||||
oauth: OAuthGateway
|
||||
payment_method: PaymentMethodGateway
|
||||
payment_method_nonce: PaymentMethodNonceGateway
|
||||
paypal_account: PayPalAccountGateway
|
||||
plan: PlanGateway
|
||||
sepa_direct_debit_account: SepaDirectDebitAccountGateway
|
||||
settlement_batch_summary: SettlementBatchSummaryGateway
|
||||
subscription: SubscriptionGateway
|
||||
testing: TestingGateway
|
||||
transaction: TransactionGateway
|
||||
transaction_line_item: TransactionLineItemGateway
|
||||
us_bank_account: UsBankAccountGateway
|
||||
us_bank_account_verification: UsBankAccountVerificationGateway
|
||||
verification: CreditCardVerificationGateway
|
||||
webhook_notification: WebhookNotificationGateway
|
||||
webhook_testing: WebhookTestingGateway
|
||||
def __init__(self, config: Incomplete | None = None, **kwargs) -> None: ...
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree import exceptions as exceptions
|
||||
from braintree.client_token import ClientToken as ClientToken
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class ClientTokenGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def generate(self, params: Incomplete | None = None): ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.credentials_parser import CredentialsParser as CredentialsParser
|
||||
from braintree.environment import Environment as Environment
|
||||
@@ -19,15 +18,15 @@ class Configuration:
|
||||
def api_version(): ...
|
||||
@staticmethod
|
||||
def graphql_api_version(): ...
|
||||
environment: Any
|
||||
merchant_id: Any
|
||||
public_key: Any
|
||||
private_key: Any
|
||||
client_id: Any
|
||||
client_secret: Any
|
||||
access_token: Any
|
||||
timeout: Any
|
||||
wrap_http_exceptions: Any
|
||||
environment: Incomplete
|
||||
merchant_id: Incomplete
|
||||
public_key: Incomplete
|
||||
private_key: Incomplete
|
||||
client_id: Incomplete
|
||||
client_secret: Incomplete
|
||||
access_token: Incomplete
|
||||
timeout: Incomplete
|
||||
wrap_http_exceptions: Incomplete
|
||||
def __init__(
|
||||
self,
|
||||
environment: Incomplete | None = None,
|
||||
|
||||
@@ -1,19 +1,18 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.environment import Environment as Environment
|
||||
from braintree.exceptions.configuration_error import ConfigurationError as ConfigurationError
|
||||
|
||||
class CredentialsParser:
|
||||
client_id: Any
|
||||
client_secret: Any
|
||||
access_token: Any
|
||||
client_id: Incomplete
|
||||
client_secret: Incomplete
|
||||
access_token: Incomplete
|
||||
def __init__(
|
||||
self, client_id: Incomplete | None = None, client_secret: Incomplete | None = None, access_token: Incomplete | None = None
|
||||
) -> None: ...
|
||||
environment: Any
|
||||
environment: Incomplete
|
||||
def parse_client_credentials(self) -> None: ...
|
||||
merchant_id: Any
|
||||
merchant_id: Incomplete
|
||||
def parse_access_token(self) -> None: ...
|
||||
def get_environment(self, credential): ...
|
||||
def get_merchant_id(self, credential): ...
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
from _typeshed import Incomplete
|
||||
from enum import Enum
|
||||
from typing import Any
|
||||
|
||||
from braintree.address import Address as Address
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.credit_card_verification import CreditCardVerification as CreditCardVerification
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
class CreditCard(Resource):
|
||||
class CardType:
|
||||
@@ -45,15 +45,15 @@ class CreditCard(Resource):
|
||||
Star = "STAR"
|
||||
Star_Access = "STAR_ACCESS"
|
||||
|
||||
Commercial: Any
|
||||
DurbinRegulated: Any
|
||||
Debit: Any
|
||||
Healthcare: Any
|
||||
CountryOfIssuance: Any
|
||||
IssuingBank: Any
|
||||
Payroll: Any
|
||||
Prepaid: Any
|
||||
ProductId: Any
|
||||
Commercial: type[CardTypeIndicator]
|
||||
DurbinRegulated: type[CardTypeIndicator]
|
||||
Debit: type[CardTypeIndicator]
|
||||
Healthcare: type[CardTypeIndicator]
|
||||
CountryOfIssuance: type[CardTypeIndicator]
|
||||
IssuingBank: type[CardTypeIndicator]
|
||||
Payroll: type[CardTypeIndicator]
|
||||
Prepaid: type[CardTypeIndicator]
|
||||
ProductId: type[CardTypeIndicator]
|
||||
@staticmethod
|
||||
def create(params: Incomplete | None = None): ...
|
||||
@staticmethod
|
||||
@@ -74,10 +74,10 @@ class CreditCard(Resource):
|
||||
def update_signature(): ...
|
||||
@staticmethod
|
||||
def signature(type): ...
|
||||
is_expired: Any
|
||||
billing_address: Any
|
||||
subscriptions: Any
|
||||
verification: Any
|
||||
is_expired = expired
|
||||
billing_address: Address | None
|
||||
subscriptions: list[Subscription]
|
||||
verification: CreditCardVerification
|
||||
def __init__(self, gateway, attributes): ...
|
||||
@property
|
||||
def expiration_date(self): ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.credit_card import CreditCard as CreditCard
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -10,8 +9,8 @@ from braintree.resource_collection import ResourceCollection as ResourceCollecti
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class CreditCardGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params: Incomplete | None = None): ...
|
||||
def delete(self, credit_card_token): ...
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
@@ -13,14 +14,14 @@ class CreditCardVerification(AttributeGetter):
|
||||
ProcessorDeclined: str
|
||||
Verified: str
|
||||
|
||||
amount: Any
|
||||
currency_iso_code: Any
|
||||
processor_response_code: Any
|
||||
processor_response_text: Any
|
||||
network_response_code: Any
|
||||
network_response_text: Any
|
||||
risk_data: Any
|
||||
three_d_secure_info: Any
|
||||
amount: Decimal | None
|
||||
currency_iso_code: Incomplete
|
||||
processor_response_code: Incomplete
|
||||
processor_response_text: Incomplete
|
||||
network_response_code: Incomplete
|
||||
network_response_text: Incomplete
|
||||
risk_data: RiskData | None
|
||||
three_d_secure_info: ThreeDSecureInfo | None
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@staticmethod
|
||||
def find(verification_id): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.credit_card_verification import CreditCardVerification as CreditCardVerification
|
||||
from braintree.credit_card_verification_search import CreditCardVerificationSearch as CreditCardVerificationSearch
|
||||
@@ -9,8 +9,8 @@ from braintree.resource_collection import ResourceCollection as ResourceCollecti
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class CreditCardVerificationGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def find(self, verification_id): ...
|
||||
def search(self, *query): ...
|
||||
|
||||
@@ -1,20 +1,18 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.credit_card import CreditCard as CreditCard
|
||||
from braintree.credit_card_verification import CreditCardVerification as CreditCardVerification
|
||||
from braintree.search import Search as Search
|
||||
from braintree.util import Constants as Constants
|
||||
|
||||
class CreditCardVerificationSearch:
|
||||
credit_card_cardholder_name: Any
|
||||
id: Any
|
||||
credit_card_expiration_date: Any
|
||||
credit_card_number: Any
|
||||
credit_card_card_type: Any
|
||||
ids: Any
|
||||
created_at: Any
|
||||
status: Any
|
||||
billing_postal_code: Any
|
||||
customer_email: Any
|
||||
customer_id: Any
|
||||
payment_method_token: Any
|
||||
credit_card_cardholder_name: Search.TextNodeBuilder
|
||||
id: Search.TextNodeBuilder
|
||||
credit_card_expiration_date: Search.EqualityNodeBuilder
|
||||
credit_card_number: Search.PartialMatchNodeBuilder
|
||||
credit_card_card_type: Search.MultipleValueNodeBuilder
|
||||
ids: Search.MultipleValueNodeBuilder
|
||||
created_at: Search.RangeNodeBuilder
|
||||
status: Search.MultipleValueNodeBuilder
|
||||
billing_postal_code: Search.TextNodeBuilder
|
||||
customer_email: Search.TextNodeBuilder
|
||||
customer_id: Search.TextNodeBuilder
|
||||
payment_method_token: Search.TextNodeBuilder
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.address import Address as Address
|
||||
from braintree.amex_express_checkout_card import AmexExpressCheckoutCard as AmexExpressCheckoutCard
|
||||
@@ -39,17 +38,17 @@ class Customer(Resource):
|
||||
def create_signature(): ...
|
||||
@staticmethod
|
||||
def update_signature(): ...
|
||||
payment_methods: Any
|
||||
credit_cards: Any
|
||||
addresses: Any
|
||||
paypal_accounts: Any
|
||||
apple_pay_cards: Any
|
||||
android_pay_cards: Any
|
||||
amex_express_checkout_cards: Any
|
||||
europe_bank_accounts: Any
|
||||
venmo_accounts: Any
|
||||
us_bank_accounts: Any
|
||||
visa_checkout_cards: Any
|
||||
masterpass_cards: Any
|
||||
samsung_pay_cards: Any
|
||||
payment_methods: list[Resource]
|
||||
credit_cards: list[CreditCard]
|
||||
addresses: list[Address]
|
||||
paypal_accounts: list[PayPalAccount]
|
||||
apple_pay_cards: list[ApplePayCard]
|
||||
android_pay_cards: list[AndroidPayCard]
|
||||
amex_express_checkout_cards: list[AmexExpressCheckoutCard]
|
||||
europe_bank_accounts: list[EuropeBankAccount]
|
||||
venmo_accounts: list[VenmoAccount]
|
||||
us_bank_accounts: list[UsBankAccount]
|
||||
visa_checkout_cards: list[VisaCheckoutCard]
|
||||
masterpass_cards: list[MasterpassCard]
|
||||
samsung_pay_cards: list[SamsungPayCard]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.customer import Customer as Customer
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -10,8 +9,8 @@ from braintree.resource_collection import ResourceCollection as ResourceCollecti
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class CustomerGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def all(self): ...
|
||||
def create(self, params: Incomplete | None = None): ...
|
||||
|
||||
@@ -1,29 +1,27 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.search import Search as Search
|
||||
|
||||
class CustomerSearch:
|
||||
address_extended_address: Any
|
||||
address_first_name: Any
|
||||
address_last_name: Any
|
||||
address_locality: Any
|
||||
address_postal_code: Any
|
||||
address_region: Any
|
||||
address_street_address: Any
|
||||
address_country_name: Any
|
||||
cardholder_name: Any
|
||||
company: Any
|
||||
created_at: Any
|
||||
credit_card_expiration_date: Any
|
||||
credit_card_number: Any
|
||||
email: Any
|
||||
fax: Any
|
||||
first_name: Any
|
||||
id: Any
|
||||
ids: Any
|
||||
last_name: Any
|
||||
payment_method_token: Any
|
||||
payment_method_token_with_duplicates: Any
|
||||
phone: Any
|
||||
website: Any
|
||||
paypal_account_email: Any
|
||||
address_extended_address: Search.TextNodeBuilder
|
||||
address_first_name: Search.TextNodeBuilder
|
||||
address_last_name: Search.TextNodeBuilder
|
||||
address_locality: Search.TextNodeBuilder
|
||||
address_postal_code: Search.TextNodeBuilder
|
||||
address_region: Search.TextNodeBuilder
|
||||
address_street_address: Search.TextNodeBuilder
|
||||
address_country_name: Search.TextNodeBuilder
|
||||
cardholder_name: Search.TextNodeBuilder
|
||||
company: Search.TextNodeBuilder
|
||||
created_at: Search.RangeNodeBuilder
|
||||
credit_card_expiration_date: Search.EqualityNodeBuilder
|
||||
credit_card_number: Search.TextNodeBuilder
|
||||
email: Search.TextNodeBuilder
|
||||
fax: Search.TextNodeBuilder
|
||||
first_name: Search.TextNodeBuilder
|
||||
id: Search.TextNodeBuilder
|
||||
ids: Search.MultipleValueNodeBuilder
|
||||
last_name: Search.TextNodeBuilder
|
||||
payment_method_token: Search.TextNodeBuilder
|
||||
payment_method_token_with_duplicates: Search.IsNodeBuilder
|
||||
phone: Search.TextNodeBuilder
|
||||
website: Search.TextNodeBuilder
|
||||
paypal_account_email: Search.TextNodeBuilder
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.merchant_account import MerchantAccount as MerchantAccount
|
||||
from braintree.resource import Resource as Resource
|
||||
@@ -9,8 +9,8 @@ class Disbursement(Resource):
|
||||
Credit: str
|
||||
Debit: str
|
||||
|
||||
amount: Any
|
||||
merchant_account: Any
|
||||
amount: Decimal
|
||||
merchant_account: MerchantAccount
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
def transactions(self): ...
|
||||
def is_credit(self): ...
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from typing import Any
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
class DisbursementDetail(AttributeGetter):
|
||||
settlement_amount: Any
|
||||
settlement_currency_exchange_rate: Any
|
||||
settlement_amount: Decimal | None
|
||||
settlement_currency_exchange_rate: Decimal | None
|
||||
def __init__(self, attributes) -> None: ...
|
||||
@property
|
||||
def is_valid(self): ...
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.discount import Discount as Discount
|
||||
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
||||
|
||||
class DiscountGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def all(self): ...
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
@@ -66,13 +67,15 @@ class Dispute(AttributeGetter):
|
||||
def remove_evidence(id, evidence_id): ...
|
||||
@staticmethod
|
||||
def search(*query): ...
|
||||
amount: Any
|
||||
amount_disputed: Any
|
||||
amount_won: Any
|
||||
transaction_details: Any
|
||||
transaction: Any
|
||||
evidence: Any
|
||||
paypal_messages: Any
|
||||
status_history: Any
|
||||
forwarded_comments: Any
|
||||
amount: Decimal | None
|
||||
amount_disputed: Decimal | None
|
||||
amount_won: Decimal | None
|
||||
protection_level: Incomplete
|
||||
transaction_details: TransactionDetails
|
||||
transaction = transaction_details
|
||||
evidence: list[DisputeEvidence] | None
|
||||
paypal_messages: list[DisputePayPalMessage] | None
|
||||
status_history: list[DisputeStatusHistory] | None
|
||||
processor_comments: Incomplete
|
||||
forwarded_comments: processor_comments
|
||||
def __init__(self, attributes) -> None: ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.dispute import Dispute as Dispute
|
||||
from braintree.dispute_details import DisputeEvidence as DisputeEvidence
|
||||
@@ -10,8 +10,8 @@ from braintree.resource_collection import ResourceCollection as ResourceCollecti
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class DisputeGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def accept(self, dispute_id): ...
|
||||
def add_file_evidence(self, dispute_id, document_upload_id_or_request): ...
|
||||
@@ -19,5 +19,5 @@ class DisputeGateway:
|
||||
def finalize(self, dispute_id): ...
|
||||
def find(self, dispute_id): ...
|
||||
def remove_evidence(self, dispute_id, evidence_id): ...
|
||||
search_criteria: Any
|
||||
search_criteria: dict[Incomplete, Incomplete]
|
||||
def search(self, *query): ...
|
||||
|
||||
@@ -1,25 +1,23 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.search import Search as Search
|
||||
|
||||
class DisputeSearch:
|
||||
amount_disputed: Any
|
||||
amount_won: Any
|
||||
case_number: Any
|
||||
chargeback_protection_level: Any
|
||||
protection_level: Any
|
||||
customer_id: Any
|
||||
disbursement_date: Any
|
||||
effective_date: Any
|
||||
id: Any
|
||||
kind: Any
|
||||
merchant_account_id: Any
|
||||
pre_dispute_program: Any
|
||||
reason: Any
|
||||
reason_code: Any
|
||||
received_date: Any
|
||||
reference_number: Any
|
||||
reply_by_date: Any
|
||||
status: Any
|
||||
transaction_id: Any
|
||||
transaction_source: Any
|
||||
amount_disputed: Search.RangeNodeBuilder
|
||||
amount_won: Search.RangeNodeBuilder
|
||||
case_number: Search.TextNodeBuilder
|
||||
chargeback_protection_level: Search.MultipleValueNodeBuilder
|
||||
protection_level: Search.MultipleValueNodeBuilder
|
||||
customer_id: Search.TextNodeBuilder
|
||||
disbursement_date: Search.RangeNodeBuilder
|
||||
effective_date: Search.RangeNodeBuilder
|
||||
id: Search.TextNodeBuilder
|
||||
kind: Search.MultipleValueNodeBuilder
|
||||
merchant_account_id: Search.MultipleValueNodeBuilder
|
||||
pre_dispute_program: Search.MultipleValueNodeBuilder
|
||||
reason: Search.MultipleValueNodeBuilder
|
||||
reason_code: Search.MultipleValueNodeBuilder
|
||||
received_date: Search.RangeNodeBuilder
|
||||
reference_number: Search.TextNodeBuilder
|
||||
reply_by_date: Search.RangeNodeBuilder
|
||||
status: Search.MultipleValueNodeBuilder
|
||||
transaction_id: Search.TextNodeBuilder
|
||||
transaction_source: Search.MultipleValueNodeBuilder
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.document_upload import DocumentUpload as DocumentUpload
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -7,7 +6,7 @@ from braintree.resource import Resource as Resource
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class DocumentUploadGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params: Incomplete | None = None): ...
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.credit_card_verification import CreditCardVerification as CreditCardVerification
|
||||
from braintree.errors import Errors as Errors
|
||||
from braintree.plan import Plan
|
||||
from braintree.subscription import Subscription
|
||||
from braintree.transaction import Transaction
|
||||
|
||||
class ErrorResult:
|
||||
params: Any
|
||||
errors: Any
|
||||
message: Any
|
||||
credit_card_verification: Any
|
||||
transaction: Any
|
||||
subscription: Any
|
||||
merchant_account: Any
|
||||
params: Incomplete
|
||||
errors: Errors
|
||||
message: Incomplete
|
||||
credit_card_verification: CreditCardVerification | None
|
||||
transaction: Transaction
|
||||
subscription: Subscription
|
||||
merchant_account: Plan
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@property
|
||||
def is_success(self): ...
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.validation_error_collection import ValidationErrorCollection as ValidationErrorCollection
|
||||
|
||||
class Errors:
|
||||
errors: Any
|
||||
size: Any
|
||||
errors: ValidationErrorCollection
|
||||
size = errors.deep_size
|
||||
def __init__(self, data) -> None: ...
|
||||
@property
|
||||
def deep_errors(self): ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class GrantedPaymentInstrumentUpdate(Resource):
|
||||
payment_method_nonce: Any
|
||||
payment_method_nonce: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.search import Search as Search
|
||||
|
||||
class IdsSearch:
|
||||
ids: Any
|
||||
ids: Search.MultipleValueNodeBuilder
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.transaction import Transaction as Transaction
|
||||
|
||||
class LocalPaymentCompleted(Resource):
|
||||
transaction: Any
|
||||
transaction: Transaction
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.address import Address as Address
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
class MasterpassCard(Resource):
|
||||
billing_address: Any
|
||||
subscriptions: Any
|
||||
billing_address: Address | None
|
||||
subscriptions: list[Subscription]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@property
|
||||
def expiration_date(self): ...
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.merchant_account import MerchantAccount as MerchantAccount
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class Merchant(Resource):
|
||||
merchant_accounts: Any
|
||||
merchant_accounts: list[MerchantAccount]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from typing import Any
|
||||
from typing import ClassVar
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
class AddressDetails(AttributeGetter):
|
||||
detail_list: Any
|
||||
detail_list: ClassVar[list[str]]
|
||||
def __init__(self, attributes) -> None: ...
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
from typing import Any
|
||||
from typing import ClassVar
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
from braintree.merchant_account.address_details import AddressDetails as AddressDetails
|
||||
|
||||
class BusinessDetails(AttributeGetter):
|
||||
detail_list: Any
|
||||
address_details: Any
|
||||
detail_list: ClassVar[list[str]]
|
||||
address_details: AddressDetails
|
||||
def __init__(self, attributes) -> None: ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from typing import Any
|
||||
from typing import ClassVar
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
class FundingDetails(AttributeGetter):
|
||||
detail_list: Any
|
||||
detail_list: ClassVar[list[str]]
|
||||
def __init__(self, attributes) -> None: ...
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
from typing import Any
|
||||
from typing import ClassVar
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
from braintree.merchant_account.address_details import AddressDetails as AddressDetails
|
||||
|
||||
class IndividualDetails(AttributeGetter):
|
||||
detail_list: Any
|
||||
address_details: Any
|
||||
detail_list: ClassVar[list[str]]
|
||||
address_details: AddressDetails
|
||||
def __init__(self, attributes) -> None: ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.merchant_account import (
|
||||
@@ -20,11 +19,11 @@ class MerchantAccount(Resource):
|
||||
Email: str
|
||||
MobilePhone: str
|
||||
|
||||
FundingDestinations: Any
|
||||
individual_details: Any
|
||||
business_details: Any
|
||||
funding_details: Any
|
||||
master_merchant_account: Any
|
||||
FundingDestinations: type[FundingDestination]
|
||||
individual_details: IndividualDetails
|
||||
business_details: BusinessDetails
|
||||
funding_details: FundingDetails
|
||||
master_merchant_account: MerchantAccount
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@staticmethod
|
||||
def create(params: Incomplete | None = None): ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
@@ -11,8 +10,8 @@ from braintree.resource_collection import ResourceCollection as ResourceCollecti
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class MerchantAccountGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params: Incomplete | None = None): ...
|
||||
def update(self, merchant_account_id, params: Incomplete | None = None): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
@@ -9,7 +9,7 @@ from braintree.resource_collection import ResourceCollection as ResourceCollecti
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class MerchantGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params): ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from typing import Any
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class Modification(Resource):
|
||||
amount: Any
|
||||
amount: Decimal
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
@@ -6,8 +6,8 @@ from braintree.oauth_credentials import OAuthCredentials as OAuthCredentials
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class OAuthGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create_token_from_code(self, params): ...
|
||||
def create_token_from_refresh_token(self, params): ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import ClassVar
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
class PackageDetails(AttributeGetter):
|
||||
detail_list: Incomplete
|
||||
detail_list: ClassVar[list[str]]
|
||||
def __init__(self, attributes) -> None: ...
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Generator
|
||||
from typing import Any
|
||||
|
||||
class PaginatedCollection:
|
||||
def __init__(self, method) -> None: ...
|
||||
@property
|
||||
def items(self) -> Generator[Any, None, None]: ...
|
||||
def items(self) -> Generator[Incomplete, None, None]: ...
|
||||
def __iter__(self): ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class PaginatedResult:
|
||||
total_items: Any
|
||||
page_size: Any
|
||||
current_page: Any
|
||||
total_items: Incomplete
|
||||
page_size: Incomplete
|
||||
current_page: Incomplete
|
||||
def __init__(self, total_items, page_size, current_page) -> None: ...
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class PartnerMerchant(Resource):
|
||||
partner_merchant_id: Any
|
||||
private_key: Any
|
||||
public_key: Any
|
||||
merchant_public_id: Any
|
||||
client_side_encryption_key: Any
|
||||
partner_merchant_id: Incomplete
|
||||
private_key: Incomplete
|
||||
public_key: Incomplete
|
||||
merchant_public_id: Incomplete
|
||||
client_side_encryption_key: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.amex_express_checkout_card import AmexExpressCheckoutCard as AmexExpressCheckoutCard
|
||||
from braintree.android_pay_card import AndroidPayCard as AndroidPayCard
|
||||
@@ -24,13 +23,13 @@ from braintree.venmo_account import VenmoAccount as VenmoAccount
|
||||
from braintree.visa_checkout_card import VisaCheckoutCard as VisaCheckoutCard
|
||||
|
||||
class PaymentMethodGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, params: Incomplete | None = None): ...
|
||||
def find(self, payment_method_token): ...
|
||||
def update(self, payment_method_token, params): ...
|
||||
def delete(self, payment_method_token, options: Incomplete | None = None): ...
|
||||
options: Any
|
||||
options: dict[str, Incomplete]
|
||||
def grant(self, payment_method_token, options: Incomplete | None = None): ...
|
||||
def revoke(self, payment_method_token): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.bin_data import BinData as BinData
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
@@ -10,7 +10,7 @@ class PaymentMethodNonce(Resource):
|
||||
def create(payment_method_token, params={}): ...
|
||||
@staticmethod
|
||||
def find(payment_method_nonce): ...
|
||||
three_d_secure_info: Any
|
||||
authentication_insight: Any
|
||||
bin_data: Any
|
||||
three_d_secure_info: ThreeDSecureInfo
|
||||
authentication_insight: Incomplete
|
||||
bin_data: BinData
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
@@ -8,8 +8,8 @@ from braintree.resource_collection import ResourceCollection as ResourceCollecti
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class PaymentMethodNonceGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def create(self, payment_method_token, params=...): ...
|
||||
def find(self, payment_method_nonce): ...
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
class PayPalAccount(Resource):
|
||||
@staticmethod
|
||||
@@ -13,5 +13,5 @@ class PayPalAccount(Resource):
|
||||
def update(paypal_account_token, params: Incomplete | None = None): ...
|
||||
@staticmethod
|
||||
def signature(): ...
|
||||
subscriptions: Any
|
||||
subscriptions: list[Subscription]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
@@ -8,8 +7,8 @@ from braintree.resource import Resource as Resource
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class PayPalAccountGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def find(self, paypal_account_token): ...
|
||||
def delete(self, paypal_account_token): ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.add_on import AddOn as AddOn
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
@@ -9,8 +8,8 @@ from braintree.resource_collection import ResourceCollection as ResourceCollecti
|
||||
from braintree.util.http import Http as Http
|
||||
|
||||
class Plan(Resource):
|
||||
add_ons: Any
|
||||
discounts: Any
|
||||
add_ons: list[AddOn]
|
||||
discounts: list[Discount]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@staticmethod
|
||||
def all(): ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
@@ -9,8 +8,8 @@ from braintree.resource_collection import ResourceCollection as ResourceCollecti
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class PlanGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def all(self): ...
|
||||
def create(self, params: Incomplete | None = None): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
@@ -8,5 +8,5 @@ raw_type = bytes
|
||||
class Resource(AttributeGetter):
|
||||
@staticmethod
|
||||
def verify_keys(params, signature) -> None: ...
|
||||
gateway: Any
|
||||
gateway: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Generator
|
||||
from typing import Any
|
||||
|
||||
from braintree.exceptions.unexpected_error import UnexpectedError as UnexpectedError
|
||||
|
||||
@@ -10,7 +10,7 @@ class ResourceCollection:
|
||||
@property
|
||||
def first(self): ...
|
||||
@property
|
||||
def items(self) -> Generator[Any, None, None]: ...
|
||||
def items(self) -> Generator[Incomplete, None, None]: ...
|
||||
@property
|
||||
def ids(self): ...
|
||||
def __iter__(self): ...
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.payment_method_parser import parse_payment_method as parse_payment_method
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class RevokedPaymentMethodMetadata(Resource):
|
||||
revoked_payment_method: Any
|
||||
customer_id: Any
|
||||
token: Any
|
||||
revoked_payment_method: Incomplete
|
||||
customer_id: Incomplete
|
||||
token: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.address import Address as Address
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
class SamsungPayCard(Resource):
|
||||
billing_address: Any
|
||||
subscriptions: Any
|
||||
billing_address: Address | None
|
||||
subscriptions: list[Subscription]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@property
|
||||
def expiration_date(self): ...
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
class Search:
|
||||
class IsNodeBuilder:
|
||||
name: Any
|
||||
name: Incomplete
|
||||
def __init__(self, name) -> None: ...
|
||||
def __eq__(self, value): ...
|
||||
def is_equal(self, value): ...
|
||||
@@ -12,7 +12,7 @@ class Search:
|
||||
def is_not_equal(self, value): ...
|
||||
|
||||
class KeyValueNodeBuilder:
|
||||
name: Any
|
||||
name: Incomplete
|
||||
def __init__(self, name) -> None: ...
|
||||
def __eq__(self, value): ...
|
||||
def is_equal(self, value): ...
|
||||
@@ -24,7 +24,7 @@ class Search:
|
||||
def ends_with(self, value): ...
|
||||
|
||||
class EndsWithNodeBuilder:
|
||||
name: Any
|
||||
name: Incomplete
|
||||
def __init__(self, name) -> None: ...
|
||||
def ends_with(self, value): ...
|
||||
|
||||
@@ -32,14 +32,14 @@ class Search:
|
||||
def contains(self, value): ...
|
||||
|
||||
class Node:
|
||||
name: Any
|
||||
dict: Any
|
||||
name: Incomplete
|
||||
dict: Incomplete
|
||||
def __init__(self, name, dict) -> None: ...
|
||||
def to_param(self): ...
|
||||
|
||||
class MultipleValueNodeBuilder:
|
||||
name: Any
|
||||
whitelist: Any
|
||||
name: Incomplete
|
||||
whitelist: Incomplete
|
||||
def __init__(self, name, whitelist=[]) -> None: ...
|
||||
def in_list(self, *values): ...
|
||||
def __eq__(self, value): ...
|
||||
@@ -48,7 +48,7 @@ class Search:
|
||||
def __init__(self, name, whitelist=[]) -> None: ...
|
||||
|
||||
class RangeNodeBuilder:
|
||||
name: Any
|
||||
name: Incomplete
|
||||
def __init__(self, name) -> None: ...
|
||||
def __eq__(self, value): ...
|
||||
def is_equal(self, value): ...
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
class SepaDirectDebitAccount(Resource):
|
||||
@staticmethod
|
||||
def find(sepa_direct_debit_account_token): ...
|
||||
@staticmethod
|
||||
def delete(sepa_direct_debit_account_token): ...
|
||||
subscriptions: Incomplete
|
||||
subscriptions: list[Subscription]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.resource import Resource as Resource
|
||||
@@ -7,7 +6,7 @@ from braintree.settlement_batch_summary import SettlementBatchSummary as Settlem
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class SettlementBatchSummaryGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def generate(self, settlement_date, group_by_custom_field: Incomplete | None = None): ...
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.util.crypto import Crypto as Crypto
|
||||
|
||||
class SignatureService:
|
||||
private_key: Any
|
||||
hmac_hash: Any
|
||||
private_key: Incomplete
|
||||
hmac_hash: Incomplete
|
||||
def __init__(self, private_key, hashfunc=...) -> None: ...
|
||||
def sign(self, data): ...
|
||||
def hash(self, data): ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from typing import Any
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class StatusEvent(Resource):
|
||||
amount: Any
|
||||
amount: Decimal
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.add_on import AddOn as AddOn
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
@@ -47,13 +47,13 @@ class Subscription(Resource):
|
||||
def search(*query): ...
|
||||
@staticmethod
|
||||
def update_signature(): ...
|
||||
price: Any
|
||||
balance: Any
|
||||
next_billing_period_amount: Any
|
||||
add_ons: Any
|
||||
descriptor: Any
|
||||
description: Any
|
||||
discounts: Any
|
||||
status_history: Any
|
||||
transactions: Any
|
||||
price: Decimal
|
||||
balance: Decimal
|
||||
next_billing_period_amount: Decimal
|
||||
add_ons: list[AddOn]
|
||||
descriptor: Descriptor
|
||||
description: Incomplete
|
||||
discounts: list[Discount]
|
||||
status_history: list[SubscriptionStatusEvent]
|
||||
transactions: list[Transaction]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
@@ -10,8 +9,8 @@ from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
from braintree.transaction import Transaction as Transaction
|
||||
|
||||
class SubscriptionGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def cancel(self, subscription_id): ...
|
||||
def create(self, params: Incomplete | None = None): ...
|
||||
|
||||
@@ -1,19 +1,17 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree import Subscription as Subscription
|
||||
from braintree.search import Search as Search
|
||||
from braintree.util import Constants as Constants
|
||||
|
||||
class SubscriptionSearch:
|
||||
billing_cycles_remaining: Any
|
||||
created_at: Any
|
||||
days_past_due: Any
|
||||
id: Any
|
||||
ids: Any
|
||||
in_trial_period: Any
|
||||
merchant_account_id: Any
|
||||
next_billing_date: Any
|
||||
plan_id: Any
|
||||
price: Any
|
||||
status: Any
|
||||
transaction_id: Any
|
||||
billing_cycles_remaining: Search.RangeNodeBuilder
|
||||
created_at: Search.RangeNodeBuilder
|
||||
days_past_due: Search.RangeNodeBuilder
|
||||
id: Search.TextNodeBuilder
|
||||
ids: Search.MultipleValueNodeBuilder
|
||||
in_trial_period: Search.MultipleValueNodeBuilder
|
||||
merchant_account_id: Search.MultipleValueNodeBuilder
|
||||
next_billing_date: Search.RangeNodeBuilder
|
||||
plan_id: Search.MultipleValueOrTextNodeBuilder
|
||||
price: Search.RangeNodeBuilder
|
||||
status: Search.MultipleValueNodeBuilder
|
||||
transaction_id: Search.TextNodeBuilder
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from typing import Any
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class SubscriptionStatusEvent(Resource):
|
||||
balance: Any
|
||||
price: Any
|
||||
balance: Decimal
|
||||
price: Decimal
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
from braintree.transaction import Transaction as Transaction
|
||||
|
||||
class TestingGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def make_past_due(self, subscription_id, number_of_days_past_due: int = 1) -> None: ...
|
||||
def escrow_transaction(self, transaction_id) -> None: ...
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.add_on import AddOn as AddOn
|
||||
from braintree.address import Address as Address
|
||||
@@ -21,6 +21,9 @@ from braintree.facilitated_details import FacilitatedDetails as FacilitatedDetai
|
||||
from braintree.facilitator_details import FacilitatorDetails as FacilitatorDetails
|
||||
from braintree.local_payment import LocalPayment as LocalPayment
|
||||
from braintree.masterpass_card import MasterpassCard as MasterpassCard
|
||||
from braintree.meta_checkout_card import MetaCheckoutCard
|
||||
from braintree.meta_checkout_token import MetaCheckoutToken
|
||||
from braintree.package_details import PackageDetails
|
||||
from braintree.payment_instrument_type import PaymentInstrumentType as PaymentInstrumentType
|
||||
from braintree.paypal_account import PayPalAccount as PayPalAccount
|
||||
from braintree.paypal_here import PayPalHere as PayPalHere
|
||||
@@ -28,6 +31,7 @@ from braintree.resource import Resource as Resource
|
||||
from braintree.resource_collection import ResourceCollection as ResourceCollection
|
||||
from braintree.risk_data import RiskData as RiskData
|
||||
from braintree.samsung_pay_card import SamsungPayCard as SamsungPayCard
|
||||
from braintree.sepa_direct_debit_account import SepaDirectDebitAccount
|
||||
from braintree.status_event import StatusEvent as StatusEvent
|
||||
from braintree.subscription_details import SubscriptionDetails as SubscriptionDetails
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
@@ -146,41 +150,45 @@ class Transaction(Resource):
|
||||
def refund_signature(): ...
|
||||
@staticmethod
|
||||
def submit_for_partial_settlement(transaction_id, amount, params: Incomplete | None = None): ...
|
||||
amount: Any
|
||||
tax_amount: Any
|
||||
discount_amount: Any
|
||||
shipping_amount: Any
|
||||
billing_details: Any
|
||||
credit_card_details: Any
|
||||
paypal_details: Any
|
||||
paypal_here_details: Any
|
||||
local_payment_details: Any
|
||||
europe_bank_account_details: Any
|
||||
us_bank_account: Any
|
||||
apple_pay_details: Any
|
||||
android_pay_card_details: Any
|
||||
amex_express_checkout_card_details: Any
|
||||
venmo_account_details: Any
|
||||
visa_checkout_card_details: Any
|
||||
masterpass_card_details: Any
|
||||
samsung_pay_card_details: Any
|
||||
sca_exemption_requested: Any
|
||||
customer_details: Any
|
||||
shipping_details: Any
|
||||
add_ons: Any
|
||||
discounts: Any
|
||||
status_history: Any
|
||||
subscription_details: Any
|
||||
descriptor: Any
|
||||
disbursement_details: Any
|
||||
disputes: Any
|
||||
authorization_adjustments: Any
|
||||
payment_instrument_type: Any
|
||||
risk_data: Any
|
||||
three_d_secure_info: Any
|
||||
facilitated_details: Any
|
||||
facilitator_details: Any
|
||||
network_transaction_id: Any
|
||||
amount: Decimal
|
||||
tax_amount: Decimal | None
|
||||
discount_amount: Decimal | None
|
||||
shipping_amount: Decimal | None
|
||||
billing_details: Address
|
||||
credit_card_details: CreditCard
|
||||
packages: list[PackageDetails]
|
||||
paypal_details: PayPalAccount
|
||||
paypal_here_details: PayPalHere
|
||||
local_payment_details: LocalPayment
|
||||
sepa_direct_debit_account_details: SepaDirectDebitAccount
|
||||
europe_bank_account_details: EuropeBankAccount
|
||||
us_bank_account: UsBankAccount
|
||||
apple_pay_details: ApplePayCard
|
||||
android_pay_card_details: AndroidPayCard
|
||||
amex_express_checkout_card_details: AmexExpressCheckoutCard
|
||||
venmo_account_details: VenmoAccount
|
||||
visa_checkout_card_details: VisaCheckoutCard
|
||||
masterpass_card_details: MasterpassCard
|
||||
samsung_pay_card_details: SamsungPayCard
|
||||
meta_checkout_card_details: MetaCheckoutCard
|
||||
meta_checkout_token_details: MetaCheckoutToken
|
||||
sca_exemption_requested: Incomplete
|
||||
customer_details: Customer
|
||||
shipping_details: Address
|
||||
add_ons: list[AddOn]
|
||||
discounts: list[Discount]
|
||||
status_history: list[StatusEvent]
|
||||
subscription_details: SubscriptionDetails
|
||||
descriptor: Descriptor
|
||||
disbursement_details: DisbursementDetail
|
||||
disputes: list[Dispute]
|
||||
authorization_adjustments: list[AuthorizationAdjustment]
|
||||
payment_instrument_type: Incomplete
|
||||
risk_data: RiskData | None
|
||||
three_d_secure_info: ThreeDSecureInfo | None
|
||||
facilitated_details: FacilitatedDetails
|
||||
facilitator_details: FacilitatorDetails
|
||||
network_transaction_id: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@property
|
||||
def vault_billing_address(self): ...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from typing import Any
|
||||
from decimal import Decimal
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
class TransactionDetails(AttributeGetter):
|
||||
amount: Any
|
||||
amount: Decimal | None
|
||||
def __init__(self, attributes) -> None: ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
@@ -10,8 +9,8 @@ from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
from braintree.transaction import Transaction as Transaction
|
||||
|
||||
class TransactionGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def adjust_authorization(self, transaction_id, amount): ...
|
||||
def clone_transaction(self, transaction_id, params): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
@@ -8,7 +8,7 @@ from braintree.resource_collection import ResourceCollection as ResourceCollecti
|
||||
from braintree.transaction_line_item import TransactionLineItem as TransactionLineItem
|
||||
|
||||
class TransactionLineItemGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def find_all(self, transaction_id): ...
|
||||
|
||||
@@ -1,77 +1,75 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.credit_card import CreditCard as CreditCard
|
||||
from braintree.search import Search as Search
|
||||
from braintree.transaction import Transaction as Transaction
|
||||
from braintree.util import Constants as Constants
|
||||
|
||||
class TransactionSearch:
|
||||
billing_first_name: Any
|
||||
billing_company: Any
|
||||
billing_country_name: Any
|
||||
billing_extended_address: Any
|
||||
billing_last_name: Any
|
||||
billing_locality: Any
|
||||
billing_postal_code: Any
|
||||
billing_region: Any
|
||||
billing_street_address: Any
|
||||
credit_card_cardholder_name: Any
|
||||
currency: Any
|
||||
customer_company: Any
|
||||
customer_email: Any
|
||||
customer_fax: Any
|
||||
customer_first_name: Any
|
||||
customer_id: Any
|
||||
customer_last_name: Any
|
||||
customer_phone: Any
|
||||
customer_website: Any
|
||||
id: Any
|
||||
order_id: Any
|
||||
payment_method_token: Any
|
||||
processor_authorization_code: Any
|
||||
europe_bank_account_iban: Any
|
||||
settlement_batch_id: Any
|
||||
shipping_company: Any
|
||||
shipping_country_name: Any
|
||||
shipping_extended_address: Any
|
||||
shipping_first_name: Any
|
||||
shipping_last_name: Any
|
||||
shipping_locality: Any
|
||||
shipping_postal_code: Any
|
||||
shipping_region: Any
|
||||
shipping_street_address: Any
|
||||
paypal_payer_email: Any
|
||||
paypal_payment_id: Any
|
||||
paypal_authorization_id: Any
|
||||
sepa_debit_paypal_v2_order_id: Any
|
||||
credit_card_unique_identifier: Any
|
||||
store_id: Any
|
||||
credit_card_expiration_date: Any
|
||||
credit_card_number: Any
|
||||
user: Any
|
||||
ids: Any
|
||||
merchant_account_id: Any
|
||||
payment_instrument_type: Any
|
||||
store_ids: Any
|
||||
created_using: Any
|
||||
credit_card_card_type: Any
|
||||
credit_card_customer_location: Any
|
||||
debit_network: Any
|
||||
source: Any
|
||||
status: Any
|
||||
type: Any
|
||||
refund: Any
|
||||
amount: Any
|
||||
authorization_expired_at: Any
|
||||
authorized_at: Any
|
||||
created_at: Any
|
||||
disbursement_date: Any
|
||||
dispute_date: Any
|
||||
failed_at: Any
|
||||
gateway_rejected_at: Any
|
||||
processor_declined_at: Any
|
||||
settled_at: Any
|
||||
submitted_for_settlement_at: Any
|
||||
voided_at: Any
|
||||
ach_return_responses_created_at: Any
|
||||
reason_code: Any
|
||||
billing_company: Search.TextNodeBuilder
|
||||
billing_country_name: Search.TextNodeBuilder
|
||||
billing_extended_address: Search.TextNodeBuilder
|
||||
billing_first_name: Search.TextNodeBuilder
|
||||
billing_last_name: Search.TextNodeBuilder
|
||||
billing_locality: Search.TextNodeBuilder
|
||||
billing_postal_code: Search.TextNodeBuilder
|
||||
billing_region: Search.TextNodeBuilder
|
||||
billing_street_address: Search.TextNodeBuilder
|
||||
credit_card_cardholder_name: Search.TextNodeBuilder
|
||||
currency: Search.TextNodeBuilder
|
||||
customer_company: Search.TextNodeBuilder
|
||||
customer_email: Search.TextNodeBuilder
|
||||
customer_fax: Search.TextNodeBuilder
|
||||
customer_first_name: Search.TextNodeBuilder
|
||||
customer_id: Search.TextNodeBuilder
|
||||
customer_last_name: Search.TextNodeBuilder
|
||||
customer_phone: Search.TextNodeBuilder
|
||||
customer_website: Search.TextNodeBuilder
|
||||
id: Search.TextNodeBuilder
|
||||
order_id: Search.TextNodeBuilder
|
||||
payment_method_token: Search.TextNodeBuilder
|
||||
processor_authorization_code: Search.TextNodeBuilder
|
||||
europe_bank_account_iban: Search.TextNodeBuilder
|
||||
settlement_batch_id: Search.TextNodeBuilder
|
||||
shipping_company: Search.TextNodeBuilder
|
||||
shipping_country_name: Search.TextNodeBuilder
|
||||
shipping_extended_address: Search.TextNodeBuilder
|
||||
shipping_first_name: Search.TextNodeBuilder
|
||||
shipping_last_name: Search.TextNodeBuilder
|
||||
shipping_locality: Search.TextNodeBuilder
|
||||
shipping_postal_code: Search.TextNodeBuilder
|
||||
shipping_region: Search.TextNodeBuilder
|
||||
shipping_street_address: Search.TextNodeBuilder
|
||||
paypal_payer_email: Search.TextNodeBuilder
|
||||
paypal_payment_id: Search.TextNodeBuilder
|
||||
paypal_authorization_id: Search.TextNodeBuilder
|
||||
sepa_debit_paypal_v2_order_id: Search.TextNodeBuilder
|
||||
credit_card_unique_identifier: Search.TextNodeBuilder
|
||||
store_id: Search.TextNodeBuilder
|
||||
credit_card_expiration_date: Search.EqualityNodeBuilder
|
||||
credit_card_number: Search.PartialMatchNodeBuilder
|
||||
user: Search.MultipleValueNodeBuilder
|
||||
ids: Search.MultipleValueNodeBuilder
|
||||
merchant_account_id: Search.MultipleValueNodeBuilder
|
||||
payment_instrument_type: Search.MultipleValueNodeBuilder
|
||||
store_ids: Search.MultipleValueNodeBuilder
|
||||
created_using: Search.MultipleValueNodeBuilder
|
||||
credit_card_card_type: Search.MultipleValueNodeBuilder
|
||||
credit_card_customer_location: Search.MultipleValueNodeBuilder
|
||||
debit_network: Search.MultipleValueNodeBuilder
|
||||
source: Search.MultipleValueNodeBuilder
|
||||
status: Search.MultipleValueNodeBuilder
|
||||
type: Search.MultipleValueNodeBuilder
|
||||
refund: Search.KeyValueNodeBuilder
|
||||
amount: Search.RangeNodeBuilder
|
||||
authorization_expired_at: Search.RangeNodeBuilder
|
||||
authorized_at: Search.RangeNodeBuilder
|
||||
created_at: Search.RangeNodeBuilder
|
||||
disbursement_date: Search.RangeNodeBuilder
|
||||
dispute_date: Search.RangeNodeBuilder
|
||||
failed_at: Search.RangeNodeBuilder
|
||||
gateway_rejected_at: Search.RangeNodeBuilder
|
||||
processor_declined_at: Search.RangeNodeBuilder
|
||||
settled_at: Search.RangeNodeBuilder
|
||||
submitted_for_settlement_at: Search.RangeNodeBuilder
|
||||
voided_at: Search.RangeNodeBuilder
|
||||
ach_return_responses_created_at: Search.RangeNodeBuilder
|
||||
reason_code: Search.MultipleValueNodeBuilder
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.ach_mandate import AchMandate as AchMandate
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.resource import Resource as Resource
|
||||
@@ -12,6 +10,6 @@ class UsBankAccount(Resource):
|
||||
def sale(token, transactionRequest): ...
|
||||
@staticmethod
|
||||
def signature(): ...
|
||||
ach_mandate: Any
|
||||
verifications: Any
|
||||
ach_mandate: AchMandate | None
|
||||
verifications: list[UsBankAccountVerification]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
from braintree.us_bank_account import UsBankAccount as UsBankAccount
|
||||
|
||||
class UsBankAccountGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def find(self, us_bank_account_token): ...
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.us_bank_account import UsBankAccount
|
||||
|
||||
class UsBankAccountVerification(AttributeGetter):
|
||||
class Status:
|
||||
@@ -21,7 +20,7 @@ class UsBankAccountVerification(AttributeGetter):
|
||||
class VerificationAddOns:
|
||||
CustomerVerification: str
|
||||
|
||||
us_bank_account: Any
|
||||
us_bank_account: UsBankAccount | None
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@staticmethod
|
||||
def confirm_micro_transfer_amounts(verification_id, amounts): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
@@ -8,8 +8,8 @@ from braintree.us_bank_account_verification import UsBankAccountVerification as
|
||||
from braintree.us_bank_account_verification_search import UsBankAccountVerificationSearch as UsBankAccountVerificationSearch
|
||||
|
||||
class UsBankAccountVerificationGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def confirm_micro_transfer_amounts(self, verification_id, amounts): ...
|
||||
def find(self, verification_id): ...
|
||||
|
||||
@@ -1,20 +1,18 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.search import Search as Search
|
||||
from braintree.us_bank_account import UsBankAccount as UsBankAccount
|
||||
from braintree.us_bank_account_verification import UsBankAccountVerification as UsBankAccountVerification
|
||||
from braintree.util import Constants as Constants
|
||||
|
||||
class UsBankAccountVerificationSearch:
|
||||
account_holder_name: Any
|
||||
customer_email: Any
|
||||
customer_id: Any
|
||||
id: Any
|
||||
payment_method_token: Any
|
||||
routing_number: Any
|
||||
ids: Any
|
||||
status: Any
|
||||
verification_method: Any
|
||||
created_at: Any
|
||||
account_type: Any
|
||||
account_number: Any
|
||||
account_holder_name: Search.TextNodeBuilder
|
||||
customer_email: Search.TextNodeBuilder
|
||||
customer_id: Search.TextNodeBuilder
|
||||
id: Search.TextNodeBuilder
|
||||
payment_method_token: Search.TextNodeBuilder
|
||||
routing_number: Search.TextNodeBuilder
|
||||
ids: Search.MultipleValueNodeBuilder
|
||||
status: Search.MultipleValueNodeBuilder
|
||||
verification_method: Search.MultipleValueNodeBuilder
|
||||
created_at: Search.RangeNodeBuilder
|
||||
account_type: Search.EqualityNodeBuilder
|
||||
account_number: Search.EndsWithNodeBuilder
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
integer_types = int
|
||||
text_type = str
|
||||
binary_type = bytes
|
||||
|
||||
class Generator:
|
||||
dict: Any
|
||||
dict: dict[Incomplete, Incomplete]
|
||||
def __init__(self, dict) -> None: ...
|
||||
def generate(self): ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.exceptions.authentication_error import AuthenticationError as AuthenticationError
|
||||
from braintree.exceptions.authorization_error import AuthorizationError as AuthorizationError
|
||||
@@ -14,6 +13,6 @@ from braintree.util.http import Http as Http
|
||||
class GraphQLClient(Http):
|
||||
@staticmethod
|
||||
def raise_exception_for_graphql_error(response) -> None: ...
|
||||
graphql_headers: Any
|
||||
graphql_headers: dict[str, str]
|
||||
def __init__(self, config: Incomplete | None = None, environment: Incomplete | None = None) -> None: ...
|
||||
def query(self, definition, variables: Incomplete | None = None, operation_name: Incomplete | None = None): ...
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree import version as version
|
||||
from braintree.environment import Environment as Environment
|
||||
@@ -32,8 +31,8 @@ class Http:
|
||||
def is_error_status(status): ...
|
||||
@staticmethod
|
||||
def raise_exception_from_status(status, message: Incomplete | None = None) -> None: ...
|
||||
config: Any
|
||||
environment: Any
|
||||
config: Incomplete
|
||||
environment: Incomplete
|
||||
def __init__(self, config, environment: Incomplete | None = None) -> None: ...
|
||||
def post(self, path, params: Incomplete | None = None): ...
|
||||
def delete(self, path): ...
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
from typing import Any
|
||||
from xml.dom.minidom import Document
|
||||
|
||||
from braintree.util.datetime_parser import parse_datetime as parse_datetime
|
||||
|
||||
binary_type = bytes
|
||||
|
||||
class Parser:
|
||||
doc: Any
|
||||
doc: Document
|
||||
def __init__(self, xml) -> None: ...
|
||||
def parse(self): ...
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.validation_error import ValidationError as ValidationError
|
||||
|
||||
class ValidationErrorCollection:
|
||||
data: Any
|
||||
data: dict[str, Incomplete]
|
||||
def __init__(self, data: Incomplete | None = None) -> None: ...
|
||||
@property
|
||||
def deep_errors(self): ...
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
class VenmoAccount(Resource):
|
||||
subscriptions: Any
|
||||
subscriptions: list[Subscription]
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
from typing import Any
|
||||
|
||||
from braintree.address import Address as Address
|
||||
from braintree.credit_card_verification import CreditCardVerification as CreditCardVerification
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.subscription import Subscription
|
||||
|
||||
class VisaCheckoutCard(Resource):
|
||||
billing_address: Any
|
||||
subscriptions: Any
|
||||
verification: Any
|
||||
billing_address: Address | None
|
||||
subscriptions: list[Subscription]
|
||||
verification: CreditCardVerification
|
||||
def __init__(self, gateway, attributes): ...
|
||||
@property
|
||||
def expiration_date(self): ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.account_updater_daily_report import AccountUpdaterDailyReport as AccountUpdaterDailyReport
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
@@ -13,14 +13,18 @@ from braintree.dispute import Dispute as Dispute
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.granted_payment_instrument_update import GrantedPaymentInstrumentUpdate as GrantedPaymentInstrumentUpdate
|
||||
from braintree.local_payment_completed import LocalPaymentCompleted as LocalPaymentCompleted
|
||||
from braintree.local_payment_expired import LocalPaymentExpired
|
||||
from braintree.local_payment_funded import LocalPaymentFunded
|
||||
from braintree.local_payment_reversed import LocalPaymentReversed as LocalPaymentReversed
|
||||
from braintree.merchant_account import MerchantAccount as MerchantAccount
|
||||
from braintree.oauth_access_revocation import OAuthAccessRevocation as OAuthAccessRevocation
|
||||
from braintree.partner_merchant import PartnerMerchant as PartnerMerchant
|
||||
from braintree.payment_method_customer_data_updated_metadata import PaymentMethodCustomerDataUpdatedMetadata
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.revoked_payment_method_metadata import RevokedPaymentMethodMetadata as RevokedPaymentMethodMetadata
|
||||
from braintree.subscription import Subscription as Subscription
|
||||
from braintree.transaction import Transaction as Transaction
|
||||
from braintree.transaction_review import TransactionReview
|
||||
from braintree.validation_error_collection import ValidationErrorCollection as ValidationErrorCollection
|
||||
|
||||
class WebhookNotification(Resource):
|
||||
@@ -71,21 +75,25 @@ class WebhookNotification(Resource):
|
||||
def parse(signature, payload): ...
|
||||
@staticmethod
|
||||
def verify(challenge): ...
|
||||
source_merchant_id: Any
|
||||
subscription: Any
|
||||
merchant_account: Any
|
||||
transaction: Any
|
||||
connected_merchant_status_transitioned: Any
|
||||
connected_merchant_paypal_status_changed: Any
|
||||
partner_merchant: Any
|
||||
oauth_access_revocation: Any
|
||||
disbursement: Any
|
||||
dispute: Any
|
||||
account_updater_daily_report: Any
|
||||
granted_payment_instrument_update: Any
|
||||
revoked_payment_method_metadata: Any
|
||||
local_payment_completed: Any
|
||||
local_payment_reversed: Any
|
||||
errors: Any
|
||||
message: Any
|
||||
source_merchant_id: Incomplete
|
||||
subscription: Subscription
|
||||
merchant_account: MerchantAccount
|
||||
transaction: Transaction
|
||||
transaction_review: TransactionReview
|
||||
connected_merchant_status_transitioned: ConnectedMerchantStatusTransitioned
|
||||
connected_merchant_paypal_status_changed: ConnectedMerchantPayPalStatusChanged
|
||||
partner_merchant: PartnerMerchant
|
||||
oauth_access_revocation: OAuthAccessRevocation
|
||||
disbursement: Disbursement
|
||||
dispute: Dispute
|
||||
account_updater_daily_report: AccountUpdaterDailyReport
|
||||
granted_payment_instrument_update: GrantedPaymentInstrumentUpdate
|
||||
revoked_payment_method_metadata: RevokedPaymentMethodMetadata
|
||||
local_payment_completed: LocalPaymentCompleted
|
||||
local_payment_expired: LocalPaymentExpired
|
||||
local_payment_funded: LocalPaymentFunded
|
||||
local_payment_reversed: LocalPaymentReversed
|
||||
payment_method_customer_data_updated_metadata: PaymentMethodCustomerDataUpdatedMetadata
|
||||
errors: ValidationErrorCollection
|
||||
message: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Any
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.exceptions.invalid_challenge_error import InvalidChallengeError as InvalidChallengeError
|
||||
from braintree.exceptions.invalid_signature_error import InvalidSignatureError as InvalidSignatureError
|
||||
@@ -9,8 +9,8 @@ from braintree.webhook_notification import WebhookNotification as WebhookNotific
|
||||
text_type = str
|
||||
|
||||
class WebhookNotificationGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def parse(self, signature, payload): ...
|
||||
def verify(self, challenge): ...
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.util.crypto import Crypto as Crypto
|
||||
from braintree.webhook_notification import WebhookNotification as WebhookNotification
|
||||
|
||||
class WebhookTestingGateway:
|
||||
gateway: Any
|
||||
config: Any
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def sample_notification(self, kind, id, source_merchant_id: Incomplete | None = None): ...
|
||||
|
||||
Reference in New Issue
Block a user