diff --git a/stubs/braintree/METADATA.toml b/stubs/braintree/METADATA.toml index f6db28bb1..b56643b2f 100644 --- a/stubs/braintree/METADATA.toml +++ b/stubs/braintree/METADATA.toml @@ -1,2 +1,2 @@ -version = "4.28.*" +version = "4.29.*" upstream_repository = "https://github.com/braintree/braintree_python" diff --git a/stubs/braintree/braintree/error_codes.pyi b/stubs/braintree/braintree/error_codes.pyi index 474c75c17..d59084d2d 100644 --- a/stubs/braintree/braintree/error_codes.pyi +++ b/stubs/braintree/braintree/error_codes.pyi @@ -32,6 +32,9 @@ class ErrorCodes: StreetAddressIsTooLong: Final = "81812" TooManyAddressesPerCustomer: Final = "91818" + class AndroidPay: + AndroidPayCardsAreNotAccepted: Final = "83708" + class ApplePay: ApplePayCardsAreNotAccepted: Final = "83501" CustomerIdIsRequiredForVaulting: Final = "83502" diff --git a/stubs/braintree/braintree/transaction.pyi b/stubs/braintree/braintree/transaction.pyi index c724c2184..9fc29be1b 100644 --- a/stubs/braintree/braintree/transaction.pyi +++ b/stubs/braintree/braintree/transaction.pyi @@ -135,6 +135,8 @@ class Transaction(Resource): @staticmethod def submit_for_settlement_signature(): ... @staticmethod + def submit_for_partial_settlement_signature(): ... + @staticmethod def package_tracking_signature(): ... @staticmethod def package_tracking(transaction_id, params: Incomplete | None = None): ... diff --git a/stubs/braintree/braintree/webhook_notification.pyi b/stubs/braintree/braintree/webhook_notification.pyi index 9fd3a754a..541006d65 100644 --- a/stubs/braintree/braintree/webhook_notification.pyi +++ b/stubs/braintree/braintree/webhook_notification.pyi @@ -51,6 +51,7 @@ class WebhookNotification(Resource): PaymentMethodCustomerDataUpdated: Final = "payment_method_customer_data_updated" PaymentMethodRevokedByCustomer: Final = "payment_method_revoked_by_customer" RecipientUpdatedGrantedPaymentMethod: Final = "recipient_updated_granted_payment_method" + RefundFailed: Final = "refund_failed" SubMerchantAccountApproved: Final = "sub_merchant_account_approved" SubMerchantAccountDeclined: Final = "sub_merchant_account_declined" SubscriptionBillingSkipped: Final = "subscription_billing_skipped"