diff --git a/ereuse_devicehub/resources/action/models.py b/ereuse_devicehub/resources/action/models.py index b0bc435f..cd28a9d5 100644 --- a/ereuse_devicehub/resources/action/models.py +++ b/ereuse_devicehub/resources/action/models.py @@ -1419,6 +1419,9 @@ class DisposeProduct(Trade): # performing :class:`.ToDispose` + :class:`.Receive` to a # ``RecyclingCenter``. +class TransferOwnershipBlockchain(Trade): + """ The act of change owenership of devices between two users (ethereum address)""" + class MakeAvailable(ActionWithMultipleDevices): """The act of setting willingness for trading.""" diff --git a/ereuse_devicehub/resources/action/models.pyi b/ereuse_devicehub/resources/action/models.pyi index 6d9ab5b4..cfcd178a 100644 --- a/ereuse_devicehub/resources/action/models.pyi +++ b/ereuse_devicehub/resources/action/models.pyi @@ -521,6 +521,10 @@ class DisposeProduct(Trade): pass +class TransferOwnershipBlockchain(Trade): + pass + + class Receive(ActionWithMultipleDevices): role = ... # type:Column diff --git a/ereuse_devicehub/resources/action/schemas.py b/ereuse_devicehub/resources/action/schemas.py index 63ed2d3a..081b9ad7 100644 --- a/ereuse_devicehub/resources/action/schemas.py +++ b/ereuse_devicehub/resources/action/schemas.py @@ -425,6 +425,10 @@ class DisposeProduct(Trade): __doc__ = m.DisposeProduct.__doc__ +class TransferOwnershipBlockchain(Trade): + __doc__ = m.TransferOwnershipBlockchain.__doc__ + + class Receive(ActionWithMultipleDevices): __doc__ = m.Receive.__doc__ role = EnumField(ReceiverRole)