$countryState->
setName('country-state-name'
);
$address =
new OrderAddressEntity();
$address->
setId('order-address-id'
);
$address->
setSalutationId('order-address-salutation-id'
);
$address->
setFirstName('order-address-first-name'
);
$address->
setLastName('order-address-last-name'
);
$address->
setStreet('order-address-street'
);
$address->
setZipcode('order-address-zipcode'
);
$address->
setCity('order-address-city'
);
$address->
setCountryId('order-address-country-id'
);
$address->
setCountryStateId('order-address-country-state-id'
);
$address->
setCountry($country);
$address->
setCountryState($countryState);
return $address;
} private function getDeliveryCollection(bool
$withoutAddress = false
): DeliveryCollection
{ $country =
new CountryEntity();
$country->
setId('country-id'
);
$country->
setName('country-name'
);