3 from braintree.add_on import AddOn as AddOn
4 from braintree.address import Address as Address
5 from braintree.amex_express_checkout_card import AmexExpressCheckoutCard as AmexExpressCheckoutCard
6 from braintree.android_pay_card import AndroidPayCard as AndroidPayCard
7 from braintree.apple_pay_card import ApplePayCard as ApplePayCard
8 from braintree.authorization_adjustment import AuthorizationAdjustment as AuthorizationAdjustment
9 from braintree.configuration import Configuration as Configuration
10 from braintree.credit_card import CreditCard as CreditCard
11 from braintree.customer import Customer as Customer
12 from braintree.descriptor import Descriptor as Descriptor
13 from braintree.disbursement_detail import DisbursementDetail as DisbursementDetail
14 from braintree.discount import Discount as Discount
15 from braintree.dispute import Dispute as Dispute
16 from braintree.error_result import ErrorResult as ErrorResult
17 from braintree.europe_bank_account import EuropeBankAccount as EuropeBankAccount
18 from braintree.exceptions.not_found_error import NotFoundError as NotFoundError
19 from braintree.facilitated_details import FacilitatedDetails as FacilitatedDetails
20 from braintree.facilitator_details import FacilitatorDetails as FacilitatorDetails
21 from braintree.local_payment import LocalPayment as LocalPayment
22 from braintree.masterpass_card import MasterpassCard as MasterpassCard
23 from braintree.payment_instrument_type import PaymentInstrumentType as PaymentInstrumentType
24 from braintree.paypal_account import PayPalAccount as PayPalAccount
25 from braintree.paypal_here import PayPalHere as PayPalHere
26 from braintree.resource import Resource as Resource
27 from braintree.resource_collection import ResourceCollection as ResourceCollection
28 from braintree.risk_data import RiskData as RiskData
29 from braintree.samsung_pay_card import SamsungPayCard as SamsungPayCard
30 from braintree.status_event import StatusEvent as StatusEvent
31 from braintree.subscription_details import SubscriptionDetails as SubscriptionDetails
32 from braintree.successful_result import SuccessfulResult as SuccessfulResult
33 from braintree.three_d_secure_info import ThreeDSecureInfo as ThreeDSecureInfo
34 from braintree.transaction_line_item import TransactionLineItem as TransactionLineItem
35 from braintree.us_bank_account import UsBankAccount as UsBankAccount
36 from braintree.venmo_account import VenmoAccount as VenmoAccount
37 from braintree.visa_checkout_card import VisaCheckoutCard as VisaCheckoutCard
39 class Transaction(Resource):
43 class GatewayRejectionReason:
44 ApplicationIncomplete: str
64 AuthorizationExpired: str
69 ProcessorDeclined: str
71 SettlementConfirmed: str
72 SettlementDeclined: str
74 SettlementPending: str
76 SubmittedForSettlement: str
85 class AdditionalCharge:
93 def adjust_authorization(transaction_id, amount): ...
95 def clone_transaction(transaction_id, params): ...
97 def cancel_release(transaction_id): ...
99 def credit(params: Any | None = ...): ...
101 def find(transaction_id): ...
103 def hold_in_escrow(transaction_id): ...
105 def refund(transaction_id, amount_or_options: Any | None = ...): ...
107 def sale(params: Any | None = ...): ...
109 def search(*query): ...
111 def release_from_escrow(transaction_id): ...
113 def submit_for_settlement(transaction_id, amount: Any | None = ..., params: Any | None = ...): ...
115 def update_details(transaction_id, params: Any | None = ...): ...
117 def void(transaction_id): ...
119 def create(params): ...
121 def clone_signature(): ...
123 def create_signature(): ...
125 def submit_for_settlement_signature(): ...
127 def update_details_signature(): ...
129 def refund_signature(): ...
131 def submit_for_partial_settlement(transaction_id, amount, params: Any | None = ...): ...
137 credit_card_details: Any
139 paypal_here_details: Any
140 local_payment_details: Any
141 europe_bank_account_details: Any
143 apple_pay_details: Any
144 android_pay_card_details: Any
145 amex_express_checkout_card_details: Any
146 venmo_account_details: Any
147 visa_checkout_card_details: Any
148 masterpass_card_details: Any
149 samsung_pay_card_details: Any
150 sca_exemption_requested: Any
151 customer_details: Any
152 shipping_details: Any
156 subscription_details: Any
158 disbursement_details: Any
160 authorization_adjustments: Any
161 payment_instrument_type: Any
163 three_d_secure_info: Any
164 facilitated_details: Any
165 facilitator_details: Any
166 network_transaction_id: Any
167 def __init__(self, gateway, attributes) -> None: ...
169 def vault_billing_address(self): ...
171 def vault_credit_card(self): ...
173 def vault_customer(self): ...
175 def is_disbursed(self): ...
177 def line_items(self): ...