return;
} $this->_billing =
new ArrayObject($billingData, ArrayObject::ARRAY_AS_PROPS
);
$country =
$this->
getCountry((int) $this->_billing
['countryID'
]);
$this->_billing
['country'
] =
new ArrayObject($country, ArrayObject::ARRAY_AS_PROPS
);
$countryState =
[];
if (!
empty($this->_billing
['stateID'
])) { $countryState =
$this->
getCountryState((int) $this->_billing
['stateID'
]);
} $this->_billing
['state'
] =
new ArrayObject($countryState, ArrayObject::ARRAY_AS_PROPS
);
$attributes =
Shopware()->
Db()->
fetchRow( 'SELECT * FROM s_order_billingaddress_attributes WHERE billingID = ?',
[$this->_billing
['id'
]] );
$this->_billing
['attributes'
] = \
is_array($attributes) ?
$attributes :
[];
} /**
* Get customer shipping address
*
* @return void
*/