'Returns a valid credit card number.'

@classmethod
def credit_card_number(cls, card_type=None):

    card = cls._credit_card_type(card_type)
    prefix = cls.random_element(card.prefixes)
    number = cls._generate_number(prefix, card.length)
    return number
