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

com.stormpath.sdk.impl.mail.DefaultEmailRequest Maven / Gradle / Ivy

Go to download

The Stormpath Java SDK core implemenation .jar is used at runtime to support API invocations. This implementation jar should be a runtime dependency only and should NOT be depended on at compile time by your code. The implementations within this jar can change at any time without warning - use it with runtime scope only.

There is a newer version: 2.0.4-okta
Show newest version
package com.stormpath.sdk.impl.mail;

import com.stormpath.sdk.mail.EmailRequest;

/**
 *
 */
public class DefaultEmailRequest implements EmailRequest {

    private String toAddress;
    private String toDisplayName;
    private String token;

    @Override
    public String getToAddress() {
        return toAddress;
    }

    @Override
    public EmailRequest setToAddress(String email) {
        this.toAddress = email;
        return this;
    }

    @Override
    public String getToDisplayName() {
        return toDisplayName;
    }

    @Override
    public EmailRequest setToDisplayName(String displayName) {
        this.toDisplayName = displayName;
        return this;
    }

    @Override
    public String getToken() {
        return token;
    }

    @Override
    public EmailRequest setToken(String token) {
        this.token = token;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy