client: More specific return type for PayPalAPIClient.get_transaction().

This commit is contained in:
Brett Smith 2020-11-24 09:22:40 -05:00
parent c625a57aad
commit 86b8eddc2e

View file

@ -343,7 +343,7 @@ class PayPalAPIClient:
end_date: Optional[datetime.datetime]=None,
start_date: Optional[datetime.datetime]=None,
fields: TransactionFields=TransactionFields.TRANSACTION,
) -> APIResponse:
) -> Transaction:
"""Find and return a transaction by its id
The PayPal API does not provide a way to look up transactions solely by