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

com.adobe.aemds.guide.model.SignAgreementInfo Maven / Gradle / Ivy

/*
 *
 * ADOBE CONFIDENTIAL
 * ___________________
 *
 * Copyright 2017 Adobe Systems Incorporated
 * All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 */

package com.adobe.aemds.guide.model;

import java.util.Arrays;

/**
 * AgreementInfo represents the state of Adobe Sign Agreement created for
 * Adaptive Form with Adobe Sign usecases.
 */
public class SignAgreementInfo {
    private String agreementId;
    private String[] nextSigners;
    private String agreementStatus;
	private String signingURL;

    public SignAgreementInfo() {
    }

    public SignAgreementInfo(String agreementId, String[] nextSigners, String agreementStaus, String signingURL) {
        if(nextSigners == null) {
            this.nextSigners = new String[0];
        } else {
            this.nextSigners = Arrays.copyOf(nextSigners, nextSigners.length);
        }
        this.agreementId = agreementId;
        this.agreementStatus = agreementStaus;
        this.signingURL = signingURL;
    }

    public String getAgreementId() {
        return agreementId;
    }

    public void setAgreementId(String agreementId) {
        this.agreementId = agreementId;
    }

    public String[] getNextSigners() {
        return nextSigners;
    }

    public void setNextSigners(String[] nextSigners) {
        if(nextSigners == null) {
            this.nextSigners = new String[0];
        } else {
            this.nextSigners = Arrays.copyOf(nextSigners, nextSigners.length);
        }
    }

    public String getAgreementStatus() {
        return agreementStatus;
    }

    public void setAgreementStatus(String agreementStatus) {
        this.agreementStatus = agreementStatus;
    }

    public String getSigningURL() {
        return signingURL;
    }

    public void setSigningURL(String signingURL) {
        this.signingURL = signingURL;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy