static function fromShippingInformation(ShippingInformation $shipping)
 {
     $billing = new static();
     $billing->setFirstname($shipping->getFirstname());
     $billing->setLastname($shipping->getLastname());
     $billing->setAddress1($shipping->getAddress1());
     $billing->setAddress2($shipping->getAddress2());
     $billing->setCity($shipping->getCity());
     $billing->setState($shipping->getState());
     $billing->setCountry($shipping->getCountry());
     $billing->setZipCode($shipping->getZipCode());
     $billing->setPhone($shipping->getPhone());
     $billing->setFax($shipping->getFax());
     return $billing;
 }
 /**
  * @return AbstractPaymentRequest
  */
 function setConsumerShippingInformation(ShippingInformation $info)
 {
     foreach ($info->toArray() as $param => $value) {
         $this->addParam($param, $value);
     }
     return $this;
 }