package com.writeoff.module.ocr.dto;

import java.util.Map;

public class MultipleInvoiceOcrResponse {
    private Map<String, Object> raw;
    private Normalized normalized;
    private String detectedType;
    private Double probability;

    public Map<String, Object> getRaw() {
        return raw;
    }

    public void setRaw(Map<String, Object> raw) {
        this.raw = raw;
    }

    public Normalized getNormalized() {
        return normalized;
    }

    public void setNormalized(Normalized normalized) {
        this.normalized = normalized;
    }

    public String getDetectedType() {
        return detectedType;
    }

    public void setDetectedType(String detectedType) {
        this.detectedType = detectedType;
    }

    public Double getProbability() {
        return probability;
    }

    public void setProbability(Double probability) {
        this.probability = probability;
    }

    public static class Normalized {
        private String invoiceCode;
        private String invoiceNum;
        private String name;
        private Long totalAmountCent;
        private Long taxCent;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getInvoiceCode() {
            return invoiceCode;
        }

        public void setInvoiceCode(String invoiceCode) {
            this.invoiceCode = invoiceCode;
        }

        public String getInvoiceNum() {
            return invoiceNum;
        }

        public void setInvoiceNum(String invoiceNum) {
            this.invoiceNum = invoiceNum;
        }

        public Long getTotalAmountCent() {
            return totalAmountCent;
        }

        public void setTotalAmountCent(Long totalAmountCent) {
            this.totalAmountCent = totalAmountCent;
        }

        public Long getTaxCent() {
            return taxCent;
        }

        public void setTaxCent(Long taxCent) {
            this.taxCent = taxCent;
        }
    }
}

