in src/main/scala/com/gu/invoicing/pdf/Model.scala [44:49]
def apply(apiGatewayInput: APIGatewayProxyRequestEvent): PdfInput = {
new PdfInput(
pathParameterOrThrow(apiGatewayInput, "invoiceId"),
headerOrThrow(apiGatewayInput, "x-identity-id"),
)
}