Omnipay\Common\CreditCard::setTitle PHP Method

setTitle() public method

Set Card Title.
public setTitle ( string $value ) : CreditCard
$value string Parameter value
return CreditCard provides a fluent interface.
    public function setTitle($value)
    {
        $this->setBillingTitle($value);
        $this->setShippingTitle($value);
        return $this;
    }

Usage Example

Esempio n. 1
0
 public function testTitle()
 {
     $this->card->setTitle('Mr.');
     $this->assertEquals('Mr.', $this->card->getTitle());
 }
CreditCard