} public static function badCredentials(): BadCredentialsException
{ return new BadCredentialsException();
} public static function cannotDeleteActiveAddress(string
$id): ShopwareHttpException
{ if (!Feature::
isActive('v6.6.0.0'
)) { return new CannotDeleteActiveAddressException($id);
} return new self( Response::HTTP_BAD_REQUEST,
self::CUSTOMER_ADDRESS_IS_ACTIVE,
'Customer address with id "{{ addressId }}" is an active address and cannot be deleted.',
['addressId' =>
$id] );
} public static function cannotDeleteDefaultAddress(string
$id): CannotDeleteDefaultAddressException
{