Sets the card shipping name.
public setShippingName ( string $value ) : |
||
$value | string | |
Résultat | provides a fluent interface. |
public function testShippingName() { $this->card->setShippingFirstName('Bob'); $this->card->setShippingLastName('Smith'); $this->assertEquals('Bob Smith', $this->card->getShippingName()); $this->card->setShippingName('John Foo'); $this->assertEquals('John', $this->card->getShippingFirstName()); $this->assertEquals('Foo', $this->card->getShippingLastName()); }