Skip to content

Fix class name and imports #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion solidgate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from .api_client import ApiClient
from .api_client import MerchantData
from .api_client import FormUpdateDTO, FormInitDTO
2 changes: 1 addition & 1 deletion solidgate/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import requests

from solidgate.encryption import AESCipher
from solidgate.model import MerchantData
from solidgate.model import FormInitDTO, FormUpdateDTO


class ApiClient:
Expand Down
4 changes: 2 additions & 2 deletions solidgate/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def __init__(self, payment_intent: str, publicKey: str, signature: str):
self.merchant = publicKey
self.signature = signature

class FormInitDTO:
class FormUpdateDTO:
def __init__(self, partial_intent: str, signature: str):
self.partial_intent = partial_intent
self.signature = signature
self.signature = signature