mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-24 06:01:26 -05:00
Open source
This commit is contained in:
Executable
+78
@@ -0,0 +1,78 @@
|
||||
# Stripe Python bindings
|
||||
# API docs at http://stripe.com/docs/api
|
||||
# Authors:
|
||||
# Patrick Collison <patrick@stripe.com>
|
||||
# Greg Brockman <gdb@stripe.com>
|
||||
# Andrew Metcalf <andrew@stripe.com>
|
||||
|
||||
# Configuration variables
|
||||
|
||||
api_key = None
|
||||
api_base = 'https://api.stripe.com'
|
||||
upload_api_base = 'https://uploads.stripe.com'
|
||||
api_version = None
|
||||
verify_ssl_certs = True
|
||||
default_http_client = None
|
||||
|
||||
# Resource
|
||||
from libraries.stripe.resource import ( # noqa
|
||||
Account,
|
||||
AlipayAccount,
|
||||
ApplicationFee,
|
||||
Balance,
|
||||
BalanceTransaction,
|
||||
BankAccount,
|
||||
BitcoinReceiver,
|
||||
BitcoinTransaction,
|
||||
Card,
|
||||
Charge,
|
||||
CountrySpec,
|
||||
Coupon,
|
||||
Customer,
|
||||
Dispute,
|
||||
Event,
|
||||
FileUpload,
|
||||
Invoice,
|
||||
InvoiceItem,
|
||||
Order,
|
||||
OrderReturn,
|
||||
Plan,
|
||||
Product,
|
||||
Recipient,
|
||||
Refund,
|
||||
SKU,
|
||||
Subscription,
|
||||
ThreeDSecure,
|
||||
Token,
|
||||
Transfer)
|
||||
|
||||
# Error imports. Note that we may want to move these out of the root
|
||||
# namespace in the future and you should prefer to access them via
|
||||
# the fully qualified `stripe.error` module.
|
||||
|
||||
from libraries.stripe.error import ( # noqa
|
||||
APIConnectionError,
|
||||
APIError,
|
||||
AuthenticationError,
|
||||
RateLimitError,
|
||||
CardError,
|
||||
InvalidRequestError,
|
||||
StripeError)
|
||||
|
||||
# DEPRECATED: These imports will be moved out of the root stripe namespace
|
||||
# in version 2.0
|
||||
|
||||
from libraries.stripe.version import VERSION # noqa
|
||||
from libraries.stripe.api_requestor import APIRequestor # noqa
|
||||
from libraries.stripe.resource import ( # noqa
|
||||
APIResource,
|
||||
CreateableAPIResource,
|
||||
DeletableAPIResource,
|
||||
ListObject,
|
||||
ListableAPIResource,
|
||||
SingletonAPIResource,
|
||||
StripeObject,
|
||||
StripeObjectEncoder,
|
||||
UpdateableAPIResource,
|
||||
convert_to_stripe_object)
|
||||
from libraries.stripe.util import json, logger # noqa
|
||||
Reference in New Issue
Block a user