Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/stable-v3' into stable-v3
Browse files Browse the repository at this point in the history
Mario Hernandez committed Sep 19, 2020

Unverified

No user is associated with the committer email.
2 parents 7c53afe + 3bfdfbf commit a9ff3f6
Showing 2 changed files with 559 additions and 8 deletions.
551 changes: 551 additions & 0 deletions poetry.lock
16 changes: 8 additions & 8 deletions pyflowcl/models.py
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ class Error:
message: Optional[str] = None

@staticmethod
def from_dict(d: Dict[str, Any]) -> Error:
def from_dict(d: Dict[str, Any]) -> Error: # noqa: F821
code = d.get("code")
message = d.get("message")

@@ -36,7 +36,7 @@ class PaymentStatus:
merchant_id: Optional[str] = None

@staticmethod
def from_dict(d: Dict[str, Any]) -> PaymentStatus:
def from_dict(d: Dict[str, Any]) -> PaymentStatus: # noqa: F821
flow_order = d.get("flowOrder")
commerce_order = d.get("commerceOrder")
request_date = d.get("requestDate")
@@ -86,7 +86,7 @@ class PaymentRequest:
s: str = ""

@staticmethod
def from_dict(d: Dict[str, Any]) -> PaymentRequest:
def from_dict(d: Dict[str, Any]) -> PaymentRequest: # noqa: F821
amount = d.get("amount")
apiKey = d.get("apiKey")
commerceOrder = d.get("commerceOrder")
@@ -141,7 +141,7 @@ class PaymentRequestEmail:
s: str = ""

@staticmethod
def from_dict(d: Dict[str, Any]) -> PaymentRequestEmail:
def from_dict(d: Dict[str, Any]) -> PaymentRequestEmail: # noqa: F821
amount = d.get("amount")
apiKey = d.get("apiKey")
commerceOrder = d.get("commerceOrder")
@@ -186,7 +186,7 @@ class PaymentResponse:
flowOrder: Optional[float] = None

@staticmethod
def from_dict(d: Dict[str, Any]) -> PaymentResponse:
def from_dict(d: Dict[str, Any]) -> PaymentResponse: # noqa: F821
url = d.get("url")
token = d.get("token")
flowOrder = d.get("flowOrder")
@@ -203,7 +203,7 @@ class PaymentList:
data: Optional[List[Dict[Any, Any]]] = None

@staticmethod
def from_dict(d: Dict[str, Any]) -> PaymentList:
def from_dict(d: Dict[str, Any]) -> PaymentList: # noqa: F821
total = d.get("total")
hasMore = d.get("hasMore")
data = d.get("data")
@@ -225,7 +225,7 @@ class RefundRequest:
s: str = ""

@staticmethod
def from_dict(d: Dict[str, Any]) -> RefundRequest:
def from_dict(d: Dict[str, Any]) -> RefundRequest: # noqa: F821
amount = d.get("amount")
apiKey = d.get("apiKey")
commerceTrxId = d.get("commerceTrxId")
@@ -258,7 +258,7 @@ class RefundStatus:
fee: float = 0

@staticmethod
def from_dict(d: Dict[str, Any]) -> RefundStatus:
def from_dict(d: Dict[str, Any]) -> RefundStatus: # noqa: F821
flowRefundOrder = d.get("flowRefundOrder")
date = d.get("date")
status = d.get("status")

0 comments on commit a9ff3f6

Please sign in to comment.