class OcrResponseParser {

    @Nullable
    public String getTotalAmount() {
        if (ocrResponse != null && ocrResponse.getTotalAmount() != null && ocrResponse.getTotalAmount().getData() != null) {
            return ModelUtils.getDecimalFormattedValue(BigDecimal.valueOf(ocrResponse.getTotalAmount().getData()));
        } else {
            return null;
        }
    }

    public  OcrResponseParser(@Nullable OcrResponse ocrResponse);

}