KJ\Magento\Command\Order\Create\DummyCommand::getDefaultAddress PHP Method

getDefaultAddress() protected method

protected getDefaultAddress ( )
    protected function getDefaultAddress()
    {
        $data = array('firstname' => $this->getCustomer()->getData('firstname'), 'lastname' => $this->getCustomer()->getData('lastname'), 'street' => array('0' => '123 Abc Road'), 'city' => 'Los Angeles', 'region_id' => '12', 'region' => 'California', 'postcode' => '91201', 'country_id' => 'US', 'telephone' => '888 888 8888');
        $address = \Mage::getModel('customer/address')->setData($data);
        return $address;
    }