@classmethod
def get_inverted_operation_type(cls, operation_type):
    """ Get the inverted operation_type (IN->OUT / OUT->IN)

        :param operation_type: the type of transaction
        :returns: the inverted transaction type
        """
    if operation_type == cls.TYPE_IN:
        return cls.TYPE_OUT
    return cls.TYPE_IN
