@classmethod
def _id_from_data(cls, data):
    """
        Extract stripe id from stripe field data
        :param data:
        :return:
        """
    if isinstance(data, str):
        id_ = data
    elif data:
        id_ = data.get('id')
    else:
        id_ = None
    return id_
