File: __init__.py

package info (click to toggle)
chargebee2-python 2.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 740 kB
  • sloc: python: 2,492; makefile: 4; sh: 3
file content (16 lines) | stat: -rw-r--r-- 487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from chargebee.api_error import APIError,PaymentError,InvalidRequestError,OperationFailedError
from chargebee.models import *
from chargebee.main import ChargeBee


def configure(api_key, site):
    ChargeBee.configure({
        'api_key': api_key,
        'site': site,
    })

def update_connect_timeout_secs(connect_timeout):
     ChargeBee.update_connect_timeout_secs(connect_timeout)

def update_read_timeout_secs(read_timeout):
     ChargeBee.update_read_timeout_secs(read_timeout)