setValidUntil() public method

Date/Time until this resource can be used fund a payment.
public setValidUntil ( string $valid_until )
$valid_until string
 public static function createCreditCard()
 {
     $card = new CreditCard();
     $card->setType(self::$cardType);
     $card->setNumber(self::$cardNumber);
     $card->setExpireMonth(self::$expireMonth);
     $card->setExpireYear(self::$expireYear);
     $card->setCvv2(self::$cvv);
     $card->setFirstName(self::$firstName);
     $card->setLastName(self::$lastName);
     $card->setId(self::$id);
     $card->setValidUntil(self::$validUntil);
     $card->setState(self::$state);
     return $card;
 }