diff --git a/code_samples/python/v1.0.0/cancel_payment.py b/code_samples/python/v1.0.0/cancel_payment.py index d942ec4..b70fa1c 100644 --- a/code_samples/python/v1.0.0/cancel_payment.py +++ b/code_samples/python/v1.0.0/cancel_payment.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK client = TBPlusSDK( "your-client-id", diff --git a/code_samples/python/v1.0.0/chargeback.py b/code_samples/python/v1.0.0/chargeback.py index e199d25..f0c49c0 100644 --- a/code_samples/python/v1.0.0/chargeback.py +++ b/code_samples/python/v1.0.0/chargeback.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK from tatrapayplus.models import * client = TBPlusSDK( diff --git a/code_samples/python/v1.0.0/confirm_cancel_pre_authorization.py b/code_samples/python/v1.0.0/confirm_cancel_pre_authorization.py index 6c95934..0a35a8e 100644 --- a/code_samples/python/v1.0.0/confirm_cancel_pre_authorization.py +++ b/code_samples/python/v1.0.0/confirm_cancel_pre_authorization.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK from tatrapayplus.models import * client = TBPlusSDK( diff --git a/code_samples/python/v1.0.0/create_payment.py b/code_samples/python/v1.0.0/create_payment.py index e877b83..9280ba3 100644 --- a/code_samples/python/v1.0.0/create_payment.py +++ b/code_samples/python/v1.0.0/create_payment.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK from tatrapayplus.models import * client = TBPlusSDK( diff --git a/code_samples/python/v1.0.0/create_payment_pre_authorization.py b/code_samples/python/v1.0.0/create_payment_pre_authorization.py index 0810bf5..ab82823 100644 --- a/code_samples/python/v1.0.0/create_payment_pre_authorization.py +++ b/code_samples/python/v1.0.0/create_payment_pre_authorization.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK from tatrapayplus.models import * client = TBPlusSDK( diff --git a/code_samples/python/v1.0.0/get_access_token.py b/code_samples/python/v1.0.0/get_access_token.py index 16d384b..c1be7f4 100644 --- a/code_samples/python/v1.0.0/get_access_token.py +++ b/code_samples/python/v1.0.0/get_access_token.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK client = TBPlusSDK( "your-client-id", diff --git a/code_samples/python/v1.0.0/get_available_payment_methods.py b/code_samples/python/v1.0.0/get_available_payment_methods.py index ead76bb..f15f716 100644 --- a/code_samples/python/v1.0.0/get_available_payment_methods.py +++ b/code_samples/python/v1.0.0/get_available_payment_methods.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK, PaymentMethod +from tatrapayplus.client import TBPlusSDK client = TBPlusSDK( "your-client-id", diff --git a/code_samples/python/v1.0.0/get_payment_status.py b/code_samples/python/v1.0.0/get_payment_status.py index 7706714..686ccbd 100644 --- a/code_samples/python/v1.0.0/get_payment_status.py +++ b/code_samples/python/v1.0.0/get_payment_status.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK client = TBPlusSDK( "your-client-id", diff --git a/code_samples/python/v1.0.0/set_colors.py b/code_samples/python/v1.0.0/set_colors.py index d11a5f2..739a200 100644 --- a/code_samples/python/v1.0.0/set_colors.py +++ b/code_samples/python/v1.0.0/set_colors.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK from tatrapayplus.models import * client = TBPlusSDK( @@ -8,8 +8,8 @@ appearance_data = AppearanceRequest( theme=AppearanceRequestTheme.SYSTEM, - surface_accent=ColorAttribute(color_dark_mode="#ff0000", color_light_mode="#ff0000"), - tint_accent=ColorAttribute(color_dark_mode="#00ff00 ", color_light_mode="#00ff00"), - tint_on_accent=ColorAttribute(color_dark_mode="#0000ff", color_light_mode="#0000ff"), + surface_accent=ColorAttribute(color_dark_mode="#fff", color_light_mode="#fff"), + tint_accent=ColorAttribute(color_dark_mode="#fff", color_light_mode="#fff"), + tint_on_accent=ColorAttribute(color_dark_mode="#fff", color_light_mode="#fff"), ) response = client.set_appearance(appearance_data) diff --git a/code_samples/python/v1.0.0/set_logo.py b/code_samples/python/v1.0.0/set_logo.py index b60b5aa..2d06563 100644 --- a/code_samples/python/v1.0.0/set_logo.py +++ b/code_samples/python/v1.0.0/set_logo.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK from tatrapayplus.models import * client = TBPlusSDK( diff --git a/code_samples/python/v1.0.0/update_payment.py b/code_samples/python/v1.0.0/update_payment.py index ddaffec..92b7c5a 100644 --- a/code_samples/python/v1.0.0/update_payment.py +++ b/code_samples/python/v1.0.0/update_payment.py @@ -1,4 +1,4 @@ -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK from tatrapayplus.models import * client = TBPlusSDK( diff --git a/docs/libraries/python/v1.0.0/index.mdx b/docs/libraries/python/v1.0.0/index.mdx index 68d955e..291cdda 100644 --- a/docs/libraries/python/v1.0.0/index.mdx +++ b/docs/libraries/python/v1.0.0/index.mdx @@ -12,7 +12,7 @@ pip install tatrapayplus-python To start working with the API, you need to initialize the `TBPlusSDK` with the following parameters: ```python -from tatrapayplus import TBPlusSDK +from tatrapayplus.client import TBPlusSDK from tatrapayplus.enums import Mode client = TBPlusSDK(