Fix several bugs in sub-package bfxapi.rest.endpoints.

This commit is contained in:
Davide Casale
2023-10-26 16:48:05 +02:00
parent 8c65ba54e9
commit 9287723678
4 changed files with 32 additions and 34 deletions

View File

@@ -30,7 +30,7 @@ _CustomerInfo = TypedDict("_CustomerInfo", {
class RestMerchantEndpoints(Middleware):
#pylint: disable-next=too-many-arguments
def submit_invoice(self,
amount: Union[Decimal, float, str],
amount: Union[str, float, Decimal],
currency: str,
order_id: str,
customer_info: _CustomerInfo,