WellCommerce\Bundle\ClientBundle\Entity\ClientShippingAddress::setFirstName PHP Метод

setFirstName() публичный Метод

public setFirstName ( string $firstName )
$firstName string
    public function setFirstName(string $firstName)
    {
        $this->firstName = $firstName;
    }

Usage Example

 public function create() : ClientShippingAddressInterface
 {
     $address = new ClientShippingAddress();
     $address->setFirstName('');
     $address->setLastName('');
     $address->setLine1('');
     $address->setLine2('');
     $address->setPostalCode('');
     $address->setState('');
     $address->setCity('');
     $address->setCountry($this->shopStorage->getCurrentShop()->getDefaultCountry());
     $address->setCopyBillingAddress(true);
     return $address;
 }
All Usage Examples Of WellCommerce\Bundle\ClientBundle\Entity\ClientShippingAddress::setFirstName