mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
stubtest-complete & Bump braintree to 4.28.* (#11678)
This commit is contained in:
@@ -1,6 +1,2 @@
|
||||
version = "4.25.*"
|
||||
version = "4.28.*"
|
||||
upstream_repository = "https://github.com/braintree/braintree_python"
|
||||
partial_stub = true
|
||||
|
||||
[tool.stubtest]
|
||||
ignore_missing_stub = true
|
||||
|
||||
@@ -13,6 +13,7 @@ class Address(Resource):
|
||||
Ground: str
|
||||
Electronic: str
|
||||
ShipToStore: str
|
||||
PickupInStore: str
|
||||
|
||||
@staticmethod
|
||||
def create(params: Incomplete | None = None): ...
|
||||
|
||||
@@ -12,3 +12,9 @@ class AndroidPayCard(Resource):
|
||||
def last_4(self): ...
|
||||
@property
|
||||
def card_type(self): ...
|
||||
@staticmethod
|
||||
def signature(): ...
|
||||
@staticmethod
|
||||
def card_signature(): ...
|
||||
@staticmethod
|
||||
def network_token_signature(): ...
|
||||
|
||||
@@ -13,3 +13,5 @@ class ApplePayCard(Resource):
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@property
|
||||
def expiration_date(self): ...
|
||||
@staticmethod
|
||||
def signature(): ...
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from _typeshed import Incomplete
|
||||
from enum import Enum
|
||||
from typing import Any
|
||||
|
||||
from braintree.address import Address as Address
|
||||
@@ -36,6 +37,14 @@ class CreditCard(Resource):
|
||||
No: str
|
||||
Unknown: str
|
||||
|
||||
class DebitNetwork(Enum):
|
||||
Accel = "ACCEL"
|
||||
Maestro = "MAESTRO"
|
||||
Nyce = "NYCE"
|
||||
Pulse = "PULSE"
|
||||
Star = "STAR"
|
||||
Star_Access = "STAR_ACCESS"
|
||||
|
||||
Commercial: Any
|
||||
DurbinRegulated: Any
|
||||
Debit: Any
|
||||
|
||||
@@ -12,11 +12,13 @@ from braintree.transaction_details import TransactionDetails as TransactionDetai
|
||||
class Dispute(AttributeGetter):
|
||||
class Status:
|
||||
Accepted: str
|
||||
AutoAccepted: str
|
||||
Disputed: str
|
||||
Expired: str
|
||||
Open: str
|
||||
Won: str
|
||||
Lost: str
|
||||
Open: str
|
||||
UnderReview: str
|
||||
Won: str
|
||||
|
||||
class Reason:
|
||||
CancelledRecurringTransaction: str
|
||||
@@ -41,6 +43,15 @@ class Dispute(AttributeGetter):
|
||||
Standard: str
|
||||
NotProtected: str
|
||||
|
||||
class PreDisputeProgram:
|
||||
NONE: str
|
||||
VisaRdr: str
|
||||
|
||||
class ProtectionLevel:
|
||||
EffortlessCBP: str
|
||||
StandardCBP: str
|
||||
NoProtection: str
|
||||
|
||||
@staticmethod
|
||||
def accept(id): ...
|
||||
@staticmethod
|
||||
|
||||
@@ -7,12 +7,14 @@ class DisputeSearch:
|
||||
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
|
||||
|
||||
8
stubs/braintree/braintree/enriched_customer_data.pyi
Normal file
8
stubs/braintree/braintree/enriched_customer_data.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.venmo_profile_data import VenmoProfileData as VenmoProfileData
|
||||
|
||||
class EnrichedCustomerData(Resource):
|
||||
profile_data: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@@ -53,6 +53,8 @@ class ErrorCodes:
|
||||
InvalidToken: str
|
||||
PrivateKeyMismatch: str
|
||||
KeyMismatchStoringCertificate: str
|
||||
CustomerIdIsInvalid: str
|
||||
BillingAddressFormatIsInvalid: str
|
||||
|
||||
class AuthorizationFingerprint:
|
||||
MissingFingerprint: str
|
||||
@@ -67,8 +69,10 @@ class ErrorCodes:
|
||||
MakeDefaultRequiresCustomerId: str
|
||||
VerifyCardRequiresCustomerId: str
|
||||
FailOnDuplicatePaymentMethodRequiresCustomerId: str
|
||||
InvalidDomainFormat: str
|
||||
CustomerDoesNotExist: str
|
||||
ProxyMerchantDoesNotExist: str
|
||||
TooManyDomains: str
|
||||
UnsupportedVersion: str
|
||||
MerchantAccountDoesNotExist: str
|
||||
|
||||
@@ -410,6 +414,11 @@ class ErrorCodes:
|
||||
IBANIsRequired: str
|
||||
AccountHolderNameIsRequired: str
|
||||
|
||||
class SepaDirectDebitAccount:
|
||||
SepaDebitAccountPaymentMethodMandateTypeIsNotSupported: str
|
||||
SepaDebitAccountPaymentMethodCustomerIdIsInvalid: str
|
||||
SepaDebitAccountPaymentMethodCustomerIdIsRequired: str
|
||||
|
||||
class Subscription:
|
||||
BillingDayOfMonthCannotBeUpdated: str
|
||||
BillingDayOfMonthIsInvalid: str
|
||||
@@ -737,6 +746,10 @@ class ErrorCodes:
|
||||
TotalAmountIsRequired: str
|
||||
TotalAmountIsTooLarge: str
|
||||
TotalAmountMustBeGreaterThanZero: str
|
||||
UPCCodeIsMissing: str
|
||||
UPCCodeIsTooLong: str
|
||||
UPCTypeIsInvalid: str
|
||||
UPCTypeIsMissing: str
|
||||
UnitAmountFormatIsInvalid: str
|
||||
UnitAmountIsRequired: str
|
||||
UnitAmountIsTooLarge: str
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
from braintree.exceptions.braintree_error import BraintreeError
|
||||
|
||||
class TestOperationPerformedInProductionError(BraintreeError): ...
|
||||
5
stubs/braintree/braintree/exchange_rate_quote.pyi
Normal file
5
stubs/braintree/braintree/exchange_rate_quote.pyi
Normal file
@@ -0,0 +1,5 @@
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
from braintree.montary_amount import MontaryAmount as MontaryAmount
|
||||
|
||||
class ExchangeRateQuote(AttributeGetter):
|
||||
def __init__(self, attributes) -> None: ...
|
||||
13
stubs/braintree/braintree/exchange_rate_quote_gateway.pyi
Normal file
13
stubs/braintree/braintree/exchange_rate_quote_gateway.pyi
Normal file
@@ -0,0 +1,13 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exchange_rate_quote_payload import ExchangeRateQuotePayload as ExchangeRateQuotePayload
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class ExchangeRateQuoteGateway:
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
graphql_client: Incomplete
|
||||
def __init__(self, gateway, graphql_client: Incomplete | None = None) -> None: ...
|
||||
exchange_rate_quote_payload: Incomplete
|
||||
def generate(self, request): ...
|
||||
9
stubs/braintree/braintree/exchange_rate_quote_input.pyi
Normal file
9
stubs/braintree/braintree/exchange_rate_quote_input.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
class ExchangeRateQuoteInput(AttributeGetter):
|
||||
parent: Incomplete
|
||||
def __init__(self, parent, attributes) -> None: ...
|
||||
def done(self): ...
|
||||
def to_graphql_variables(self): ...
|
||||
@@ -0,0 +1,9 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.exchange_rate_quote import ExchangeRateQuote as ExchangeRateQuote
|
||||
from braintree.montary_amount import MontaryAmount as MontaryAmount
|
||||
|
||||
class ExchangeRateQuotePayload:
|
||||
quotes: Incomplete
|
||||
def __init__(self, data) -> None: ...
|
||||
def get_quotes(self): ...
|
||||
@@ -0,0 +1,9 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.exchange_rate_quote_input import ExchangeRateQuoteInput as ExchangeRateQuoteInput
|
||||
|
||||
class ExchangeRateQuoteRequest:
|
||||
quotes: Incomplete
|
||||
def __init__(self) -> None: ...
|
||||
def add_exchange_rate_quote_input(self, attributes): ...
|
||||
def to_graphql_variables(self): ...
|
||||
3
stubs/braintree/braintree/liability_shift.pyi
Normal file
3
stubs/braintree/braintree/liability_shift.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
class LiabilityShift(AttributeGetter): ...
|
||||
4
stubs/braintree/braintree/local_payment_expired.pyi
Normal file
4
stubs/braintree/braintree/local_payment_expired.pyi
Normal file
@@ -0,0 +1,4 @@
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class LocalPaymentExpired(Resource):
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
8
stubs/braintree/braintree/local_payment_funded.pyi
Normal file
8
stubs/braintree/braintree/local_payment_funded.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.transaction import Transaction as Transaction
|
||||
|
||||
class LocalPaymentFunded(Resource):
|
||||
transaction: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
9
stubs/braintree/braintree/meta_checkout_card.pyi
Normal file
9
stubs/braintree/braintree/meta_checkout_card.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
from braintree.address import Address as Address
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class MetaCheckoutCard(Resource):
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@property
|
||||
def expiration_date(self): ...
|
||||
@property
|
||||
def masked_number(self): ...
|
||||
9
stubs/braintree/braintree/meta_checkout_token.pyi
Normal file
9
stubs/braintree/braintree/meta_checkout_token.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
from braintree.address import Address as Address
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class MetaCheckoutToken(Resource):
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@property
|
||||
def expiration_date(self): ...
|
||||
@property
|
||||
def masked_number(self): ...
|
||||
7
stubs/braintree/braintree/montary_amount.pyi
Normal file
7
stubs/braintree/braintree/montary_amount.pyi
Normal file
@@ -0,0 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
class MontaryAmount(AttributeGetter):
|
||||
value: Incomplete
|
||||
def __init__(self, attributes) -> None: ...
|
||||
7
stubs/braintree/braintree/package_details.pyi
Normal file
7
stubs/braintree/braintree/package_details.pyi
Normal file
@@ -0,0 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.attribute_getter import AttributeGetter as AttributeGetter
|
||||
|
||||
class PackageDetails(AttributeGetter):
|
||||
detail_list: Incomplete
|
||||
def __init__(self, attributes) -> None: ...
|
||||
@@ -1,6 +1,9 @@
|
||||
class PaymentInstrumentType:
|
||||
MetaCheckoutCard: str
|
||||
MetaCheckoutToken: str
|
||||
PayPalAccount: str
|
||||
PayPalHere: str
|
||||
SepaDirectDebitAccount: str
|
||||
EuropeBankAccount: str
|
||||
CreditCard: str
|
||||
ApplePayCard: str
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.enriched_customer_data import EnrichedCustomerData as EnrichedCustomerData
|
||||
from braintree.payment_method_parser import parse_payment_method as parse_payment_method
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class PaymentMethodCustomerDataUpdatedMetadata(Resource):
|
||||
payment_method: Incomplete
|
||||
enriched_customer_data: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.add_on import AddOn as AddOn
|
||||
@@ -13,3 +14,13 @@ class Plan(Resource):
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@staticmethod
|
||||
def all(): ...
|
||||
@staticmethod
|
||||
def create(params: Incomplete | None = None): ...
|
||||
@staticmethod
|
||||
def find(subscription_id): ...
|
||||
@staticmethod
|
||||
def update(subscription_id, params: Incomplete | None = None): ...
|
||||
@staticmethod
|
||||
def create_signature(): ...
|
||||
@staticmethod
|
||||
def update_signature(): ...
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Any
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
@@ -12,3 +13,6 @@ class PlanGateway:
|
||||
config: Any
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def all(self): ...
|
||||
def create(self, params: Incomplete | None = None): ...
|
||||
def find(self, plan_id): ...
|
||||
def update(self, plan_id, params: Incomplete | None = None): ...
|
||||
|
||||
12
stubs/braintree/braintree/sepa_direct_debit_account.pyi
Normal file
12
stubs/braintree/braintree/sepa_direct_debit_account.pyi
Normal file
@@ -0,0 +1,12 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.configuration import Configuration as Configuration
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class SepaDirectDebitAccount(Resource):
|
||||
@staticmethod
|
||||
def find(sepa_direct_debit_account_token): ...
|
||||
@staticmethod
|
||||
def delete(sepa_direct_debit_account_token): ...
|
||||
subscriptions: Incomplete
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@@ -0,0 +1,14 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
from braintree.error_result import ErrorResult as ErrorResult
|
||||
from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
|
||||
from braintree.resource import Resource as Resource
|
||||
from braintree.sepa_direct_debit_account import SepaDirectDebitAccount as SepaDirectDebitAccount
|
||||
from braintree.successful_result import SuccessfulResult as SuccessfulResult
|
||||
|
||||
class SepaDirectDebitAccountGateway:
|
||||
gateway: Incomplete
|
||||
config: Incomplete
|
||||
def __init__(self, gateway) -> None: ...
|
||||
def find(self, sepa_direct_debit_account_token): ...
|
||||
def delete(self, sepa_direct_debit_account_token): ...
|
||||
0
stubs/braintree/braintree/test/__init__.pyi
Normal file
0
stubs/braintree/braintree/test/__init__.pyi
Normal file
16
stubs/braintree/braintree/test/authentication_ids.pyi
Normal file
16
stubs/braintree/braintree/test/authentication_ids.pyi
Normal file
@@ -0,0 +1,16 @@
|
||||
class AuthenticationIds:
|
||||
ThreeDSecureVisaFullAuthentication: str
|
||||
ThreeDSecureVisaLookupTimeout: str
|
||||
ThreeDSecureVisaFailedSignature: str
|
||||
ThreeDSecureVisaFailedAuthentication: str
|
||||
ThreeDSecureVisaAttemptsNonParticipating: str
|
||||
ThreeDSecureVisaNoteEnrolled: str
|
||||
ThreeDSecureVisaUnavailable: str
|
||||
ThreeDSecureVisaMPILookupError: str
|
||||
ThreeDSecureVisaMPIAuthenticateError: str
|
||||
ThreeDSecureVisaAuthenticationUnavailable: str
|
||||
ThreeDSecureVisaBypassedAuthentication: str
|
||||
ThreeDSecureTwoVisaSuccessfulFrictionlessAuthentication: str
|
||||
ThreeDSecureTwoVisaSuccessfulStepUpAuthentication: str
|
||||
ThreeDSecureTwoVisaErrorOnLookup: str
|
||||
ThreeDSecureTwoVisaTimeoutOnLookup: str
|
||||
3
stubs/braintree/braintree/test/credit_card_defaults.pyi
Normal file
3
stubs/braintree/braintree/test/credit_card_defaults.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
class CreditCardDefaults:
|
||||
CountryOfIssuance: str
|
||||
IssuingBank: str
|
||||
38
stubs/braintree/braintree/test/credit_card_numbers.pyi
Normal file
38
stubs/braintree/braintree/test/credit_card_numbers.pyi
Normal file
@@ -0,0 +1,38 @@
|
||||
class CreditCardNumbers:
|
||||
class CardTypeIndicators:
|
||||
Commercial: str
|
||||
DurbinRegulated: str
|
||||
Debit: str
|
||||
Healthcare: str
|
||||
Payroll: str
|
||||
Prepaid: str
|
||||
IssuingBank: str
|
||||
CountryOfIssuance: str
|
||||
No: str
|
||||
Unknown: str
|
||||
|
||||
Maestro: str
|
||||
MasterCard: str
|
||||
MasterCardInternational: str
|
||||
Visa: str
|
||||
VisaInternational: str
|
||||
VisaPrepaid: str
|
||||
Discover: str
|
||||
Elo: str
|
||||
Hiper: str
|
||||
Hipercard: str
|
||||
Amex: str
|
||||
|
||||
class FailsSandboxVerification:
|
||||
AmEx: str
|
||||
Discover: str
|
||||
MasterCard: str
|
||||
Visa: str
|
||||
|
||||
class AmexPayWithPoints:
|
||||
Success: str
|
||||
IneligibleCard: str
|
||||
InsufficientPoints: str
|
||||
|
||||
class Disputes:
|
||||
Chargeback: str
|
||||
5
stubs/braintree/braintree/test/merchant_account.pyi
Normal file
5
stubs/braintree/braintree/test/merchant_account.pyi
Normal file
@@ -0,0 +1,5 @@
|
||||
Approve: str
|
||||
InsufficientFundsContactUs: str
|
||||
AccountNotAuthorizedContactUs: str
|
||||
BankRejectedUpdateFundingInformation: str
|
||||
BankRejectedNone: str
|
||||
81
stubs/braintree/braintree/test/nonces.pyi
Normal file
81
stubs/braintree/braintree/test/nonces.pyi
Normal file
@@ -0,0 +1,81 @@
|
||||
class Nonces:
|
||||
AbstractTransactable: str
|
||||
AmexExpressCheckoutCard: str
|
||||
AndroidPayCard: str
|
||||
AndroidPayCardAmEx: str
|
||||
AndroidPayCardDiscover: str
|
||||
AndroidPayCardMasterCard: str
|
||||
AndroidPayCardVisa: str
|
||||
ApplePayAmEx: str
|
||||
ApplePayMasterCard: str
|
||||
ApplePayMpan: str
|
||||
ApplePayVisa: str
|
||||
Consumed: str
|
||||
Europe: str
|
||||
GatewayRejectedFraud: str
|
||||
GatewayRejectedRiskThreshold: str
|
||||
LocalPayment: str
|
||||
LuhnInvalid: str
|
||||
MasterpassAmEx: str
|
||||
MasterpassDiscover: str
|
||||
MasterpassMasterCard: str
|
||||
MasterpassVisa: str
|
||||
PayPalBillingAgreement: str
|
||||
PayPalFuturePayment: str
|
||||
PayPalFuturePaymentRefreshToken: str
|
||||
PayPalOneTimePayment: str
|
||||
ProcessorDeclinedAmEx: str
|
||||
ProcessorDeclinedDiscover: str
|
||||
ProcessorDeclinedMasterCard: str
|
||||
ProcessorDeclinedVisa: str
|
||||
ProcessorFailureJCB: str
|
||||
SEPA: str
|
||||
MetaCheckoutCard: str
|
||||
MetaCheckoutToken: str
|
||||
SamsungPayAmex: str
|
||||
SamsungPayDiscover: str
|
||||
SamsungPayMasterCard: str
|
||||
SamsungPayVisa: str
|
||||
SepaDirectDebit: str
|
||||
ThreeDSecureTwoVisaErrorOnLookup: str
|
||||
ThreeDSecureTwoVisaSuccessfulFrictionlessAuthentication: str
|
||||
ThreeDSecureTwoVisaSuccessfulStepUpAuthentication: str
|
||||
ThreeDSecureTwoVisaTimeoutOnLookup: str
|
||||
ThreeDSecureVisaAttemptsNonParticipating: str
|
||||
ThreeDSecureVisaAuthenticationUnavailable: str
|
||||
ThreeDSecureVisaBypassedAuthentication: str
|
||||
ThreeDSecureVisaFailedAuthentication: str
|
||||
ThreeDSecureVisaFailedSignature: str
|
||||
ThreeDSecureVisaFullAuthentication: str
|
||||
ThreeDSecureVisaLookupTimeout: str
|
||||
ThreeDSecureVisaMPIAuthenticateError: str
|
||||
ThreeDSecureVisaMPILookupError: str
|
||||
ThreeDSecureVisaNoteEnrolled: str
|
||||
ThreeDSecureVisaUnavailable: str
|
||||
Transactable: str
|
||||
TransactableAmEx: str
|
||||
TransactableCommercial: str
|
||||
TransactableCountryOfIssuanceCAD: str
|
||||
TransactableCountryOfIssuanceUSA: str
|
||||
TransactableDebit: str
|
||||
TransactableDinersClub: str
|
||||
TransactableDiscover: str
|
||||
TransactableDurbinRegulated: str
|
||||
TransactableHealthcare: str
|
||||
TransactableIssuingBankNetworkOnly: str
|
||||
TransactableJCB: str
|
||||
TransactableMaestro: str
|
||||
TransactableMasterCard: str
|
||||
TransactableNoIndicators: str
|
||||
TransactablePayroll: str
|
||||
TransactablePinlessDebitVisa: str
|
||||
TransactablePrepaid: str
|
||||
TransactableUnknownIndicators: str
|
||||
TransactableVisa: str
|
||||
VenmoAccount: str
|
||||
VenmoAccountTokenIssuanceError: str
|
||||
VisaCheckoutAmEx: str
|
||||
VisaCheckoutDiscover: str
|
||||
VisaCheckoutMasterCard: str
|
||||
VisaCheckoutVisa: str
|
||||
UsBankAccount: str
|
||||
9
stubs/braintree/braintree/test/venmo_sdk.pyi
Normal file
9
stubs/braintree/braintree/test/venmo_sdk.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
from _typeshed import Incomplete
|
||||
|
||||
def generate_test_payment_method_code(number): ...
|
||||
|
||||
VisaPaymentMethodCode: Incomplete
|
||||
InvalidPaymentMethodCode: Incomplete
|
||||
|
||||
Session: str
|
||||
InvalidSession: str
|
||||
@@ -48,11 +48,15 @@ class Transaction(Resource):
|
||||
AvsAndCvv: str
|
||||
Cvv: str
|
||||
Duplicate: str
|
||||
ExcessiveRetry: str
|
||||
Fraud: str
|
||||
RiskThreshold: str
|
||||
ThreeDSecure: str
|
||||
TokenIssuance: str
|
||||
|
||||
class ReasonCode:
|
||||
ANY_REASON_CODE: str
|
||||
|
||||
class Source:
|
||||
Api: str
|
||||
ControlPanel: str
|
||||
@@ -133,6 +137,10 @@ class Transaction(Resource):
|
||||
@staticmethod
|
||||
def submit_for_settlement_signature(): ...
|
||||
@staticmethod
|
||||
def package_tracking_signature(): ...
|
||||
@staticmethod
|
||||
def package_tracking(transaction_id, params: Incomplete | None = None): ...
|
||||
@staticmethod
|
||||
def update_details_signature(): ...
|
||||
@staticmethod
|
||||
def refund_signature(): ...
|
||||
|
||||
@@ -27,4 +27,5 @@ class TransactionGateway:
|
||||
def submit_for_settlement(self, transaction_id, amount: Incomplete | None = None, params: Incomplete | None = None): ...
|
||||
def update_details(self, transaction_id, params: Incomplete | None = None): ...
|
||||
def submit_for_partial_settlement(self, transaction_id, amount, params: Incomplete | None = None): ...
|
||||
def package_tracking(self, transaction_id, params: Incomplete | None = None): ...
|
||||
def void(self, transaction_id): ...
|
||||
|
||||
4
stubs/braintree/braintree/transaction_review.pyi
Normal file
4
stubs/braintree/braintree/transaction_review.pyi
Normal file
@@ -0,0 +1,4 @@
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class TransactionReview(Resource):
|
||||
def __init__(self, attributes) -> None: ...
|
||||
@@ -43,6 +43,7 @@ class TransactionSearch:
|
||||
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
|
||||
@@ -55,6 +56,7 @@ class TransactionSearch:
|
||||
created_using: Any
|
||||
credit_card_card_type: Any
|
||||
credit_card_customer_location: Any
|
||||
debit_network: Any
|
||||
source: Any
|
||||
status: Any
|
||||
type: Any
|
||||
@@ -71,3 +73,5 @@ class TransactionSearch:
|
||||
settled_at: Any
|
||||
submitted_for_settlement_at: Any
|
||||
voided_at: Any
|
||||
ach_return_responses_created_at: Any
|
||||
reason_code: Any
|
||||
|
||||
@@ -18,6 +18,9 @@ class UsBankAccountVerification(AttributeGetter):
|
||||
TokenizedCheck: str
|
||||
MicroTransfers: str
|
||||
|
||||
class VerificationAddOns:
|
||||
CustomerVerification: str
|
||||
|
||||
us_bank_account: Any
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@staticmethod
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
class Constants:
|
||||
@staticmethod
|
||||
def get_all_constant_values_from_class(klass): ...
|
||||
def get_all_enum_values(enum_class): ...
|
||||
|
||||
4
stubs/braintree/braintree/venmo_profile_data.pyi
Normal file
4
stubs/braintree/braintree/venmo_profile_data.pyi
Normal file
@@ -0,0 +1,4 @@
|
||||
from braintree.resource import Resource as Resource
|
||||
|
||||
class VenmoProfileData(Resource):
|
||||
def __init__(self, gateway, attributes) -> None: ...
|
||||
@@ -32,23 +32,29 @@ class WebhookNotification(Resource):
|
||||
Disbursement: str
|
||||
DisbursementException: str
|
||||
DisputeAccepted: str
|
||||
DisputeAutoAccepted: str
|
||||
DisputeDisputed: str
|
||||
DisputeExpired: str
|
||||
DisputeLost: str
|
||||
DisputeOpened: str
|
||||
DisputeUnderReview: str
|
||||
DisputeWon: str
|
||||
GrantedPaymentMethodRevoked: str
|
||||
GrantorUpdatedGrantedPaymentMethod: str
|
||||
LocalPaymentCompleted: str
|
||||
LocalPaymentExpired: str
|
||||
LocalPaymentFunded: str
|
||||
LocalPaymentReversed: str
|
||||
OAuthAccessRevoked: str
|
||||
PartnerMerchantConnected: str
|
||||
PartnerMerchantDeclined: str
|
||||
PartnerMerchantDisconnected: str
|
||||
PaymentMethodCustomerDataUpdated: str
|
||||
PaymentMethodRevokedByCustomer: str
|
||||
RecipientUpdatedGrantedPaymentMethod: str
|
||||
SubMerchantAccountApproved: str
|
||||
SubMerchantAccountDeclined: str
|
||||
SubscriptionBillingSkipped: str
|
||||
SubscriptionCanceled: str
|
||||
SubscriptionChargedSuccessfully: str
|
||||
SubscriptionChargedUnsuccessfully: str
|
||||
@@ -57,6 +63,7 @@ class WebhookNotification(Resource):
|
||||
SubscriptionWentActive: str
|
||||
SubscriptionWentPastDue: str
|
||||
TransactionDisbursed: str
|
||||
TransactionReviewed: str
|
||||
TransactionSettled: str
|
||||
TransactionSettlementDeclined: str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user