Skip to content

Commit

Permalink
A commission isn't always related to a transaction
Browse files Browse the repository at this point in the history
The example is when someone orders 2+ replacement cards
  • Loading branch information
matin committed May 28, 2020
1 parent 5f8b106 commit ee50340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cuenca/resources/commissions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import ClassVar
from typing import ClassVar, Optional

from pydantic.dataclasses import dataclass

Expand All @@ -9,4 +9,4 @@
class Commission(Transaction, Cacheable):
_resource: ClassVar = 'commissions'

related_transaction_uri: str
related_transaction_uri: Optional[str]

0 comments on commit ee50340

Please sign in to comment.