All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.carlosthe19916.webservices.models.BillConsultBean Maven / Gradle / Ivy

There is a newer version: 1.3.4.Final
Show newest version
package io.github.carlosthe19916.webservices.models;

public class BillConsultBean {

    private final String ruc;
    private final String tipo;
    private final String serie;
    private final int numero;

    private BillConsultBean(Builder builder) {
        this.ruc = builder.ruc;
        this.tipo = builder.tipo;
        this.serie = builder.serie;
        this.numero = builder.numero;
    }

    public String getRuc() {
        return ruc;
    }

    public String getTipo() {
        return tipo;
    }

    public String getSerie() {
        return serie;
    }

    public int getNumero() {
        return numero;
    }

    public static class Builder {
        private String ruc;
        private String tipo;
        private String serie;
        private Integer numero;

        public Builder ruc(String ruc) {
            this.ruc = ruc;
            return this;
        }

        public Builder tipo(String tipo) {
            this.tipo = tipo;
            return this;
        }

        public Builder serie(String serie) {
            this.serie = serie;
            return this;
        }

        public Builder numero(int numero) {
            this.numero = numero;
            return this;
        }

        public BillConsultBean build() {
            return new BillConsultBean(this);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy