massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / braintree / braintree / transaction.pyi
1 from typing import Any
2
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
38
39 class Transaction(Resource):
40     class CreatedUsing:
41         FullInformation: str
42         Token: str
43     class GatewayRejectionReason:
44         ApplicationIncomplete: str
45         Avs: str
46         AvsAndCvv: str
47         Cvv: str
48         Duplicate: str
49         Fraud: str
50         RiskThreshold: str
51         ThreeDSecure: str
52         TokenIssuance: str
53     class Source:
54         Api: str
55         ControlPanel: str
56         Recurring: str
57     class EscrowStatus:
58         HoldPending: str
59         Held: str
60         ReleasePending: str
61         Released: str
62         Refunded: str
63     class Status:
64         AuthorizationExpired: str
65         Authorized: str
66         Authorizing: str
67         Failed: str
68         GatewayRejected: str
69         ProcessorDeclined: str
70         Settled: str
71         SettlementConfirmed: str
72         SettlementDeclined: str
73         SettlementFailed: str
74         SettlementPending: str
75         Settling: str
76         SubmittedForSettlement: str
77         Voided: str
78     class Type:
79         Credit: str
80         Sale: str
81     class IndustryType:
82         Lodging: str
83         TravelAndCruise: str
84         TravelAndFlight: str
85     class AdditionalCharge:
86         Restaurant: str
87         GiftShop: str
88         MiniBar: str
89         Telephone: str
90         Laundry: str
91         Other: str
92     @staticmethod
93     def adjust_authorization(transaction_id, amount): ...
94     @staticmethod
95     def clone_transaction(transaction_id, params): ...
96     @staticmethod
97     def cancel_release(transaction_id): ...
98     @staticmethod
99     def credit(params: Any | None = ...): ...
100     @staticmethod
101     def find(transaction_id): ...
102     @staticmethod
103     def hold_in_escrow(transaction_id): ...
104     @staticmethod
105     def refund(transaction_id, amount_or_options: Any | None = ...): ...
106     @staticmethod
107     def sale(params: Any | None = ...): ...
108     @staticmethod
109     def search(*query): ...
110     @staticmethod
111     def release_from_escrow(transaction_id): ...
112     @staticmethod
113     def submit_for_settlement(transaction_id, amount: Any | None = ..., params: Any | None = ...): ...
114     @staticmethod
115     def update_details(transaction_id, params: Any | None = ...): ...
116     @staticmethod
117     def void(transaction_id): ...
118     @staticmethod
119     def create(params): ...
120     @staticmethod
121     def clone_signature(): ...
122     @staticmethod
123     def create_signature(): ...
124     @staticmethod
125     def submit_for_settlement_signature(): ...
126     @staticmethod
127     def update_details_signature(): ...
128     @staticmethod
129     def refund_signature(): ...
130     @staticmethod
131     def submit_for_partial_settlement(transaction_id, amount, params: Any | None = ...): ...
132     amount: Any
133     tax_amount: Any
134     discount_amount: Any
135     shipping_amount: Any
136     billing_details: Any
137     credit_card_details: Any
138     paypal_details: Any
139     paypal_here_details: Any
140     local_payment_details: Any
141     europe_bank_account_details: Any
142     us_bank_account: 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
153     add_ons: Any
154     discounts: Any
155     status_history: Any
156     subscription_details: Any
157     descriptor: Any
158     disbursement_details: Any
159     disputes: Any
160     authorization_adjustments: Any
161     payment_instrument_type: Any
162     risk_data: 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: ...
168     @property
169     def vault_billing_address(self): ...
170     @property
171     def vault_credit_card(self): ...
172     @property
173     def vault_customer(self): ...
174     @property
175     def is_disbursed(self): ...
176     @property
177     def line_items(self): ...