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

cn.signit.sdk.pojo.SealData Maven / Gradle / Ivy

There is a newer version: 2.8.5
Show newest version
/*
 * Copyright © 2018 signit.cn. All rights reserved.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */
package cn.signit.sdk.pojo;

public class SealData extends FileData {
    private String name;

    public static class SealDataBuilder {
        private String url;
        private String base64;
        private String name;

        public SealDataBuilder withUrl(String url) {
            this.url = url;
            return this;
        }

        public SealDataBuilder withBase64(String base64) {
            this.base64 = base64;
            return this;
        }

        public SealDataBuilder withName(String name) {
            this.name = name;
            return this;
        }

        public SealData build() {
            return new SealData(name, url, base64);
        }
    }

    public static SealDataBuilder builder() {
        return new SealDataBuilder();
    }

    public SealData() {
    }

    public SealData(String name, String url, String base64) {
        super(url);
        super.setBase64(base64);
        this.name = name;

    }

    public String getName() {
        return name;
    }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy