public void delete(BankBillet billet) throws CobreGratisBadRequestException, CobreGratisUnauthorizedException, CobreGratisForbiddenException, CobreGratisNotFoundException, CobreGratisTooManyRequestsException, CobreGratisServiceUnavailableException, CobreGratisInternalServerErrorException {
		BankBilletWrapper wrapper = new BankBilletWrapper();
		wrapper.setBankBillet(billet);
		String json = gson.toJson(wrapper);
		ClientResponse response = getWebResource().path("bank_billets").path(billet.getId().toString()).type(MediaType.APPLICATION_JSON)
				.accept(MediaType.APPLICATION_JSON).header("User-Agent", appId).delete(ClientResponse.class, json);
		switch (response.getStatus()) {
		case 200:
			return;
		case 400:
			throw new CobreGratisBadRequestException();
		case 401:
			throw new CobreGratisUnauthorizedException();
		case 403:
			throw new CobreGratisForbiddenException();
		case 404:
			throw new CobreGratisNotFoundException();
		case 429:
			throw new CobreGratisTooManyRequestsException();
		case 503:
			throw new CobreGratisServiceUnavailableException();
		case 500:
			throw new CobreGratisInternalServerErrorException();
		default:
			break;
		}

	}