Example #1
0
 /**
  * Format name for request. (firstname + lastname from shipping/billing address)
  *
  * @param \XLite\Model\Address $address Address model (could be shipping or billing address)
  *
  * @return string
  */
 protected function getName($address)
 {
     return $address->getFirstname() . ' ' . $address->getLastname();
 }