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

com.myperfit.sdk.transactional.domain.AbstractMailRecipientRequest Maven / Gradle / Ivy

There is a newer version: 1.1.8
Show newest version
package com.myperfit.sdk.transactional.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.myperfit.sdk.transactional.annotations.ImmutableStyle;
import org.immutables.value.Value;

import javax.annotation.Nullable;
import java.util.List;
import java.util.Map;

@Value.Immutable
@JsonSerialize(as = MailRecipientRequest.class)
@JsonDeserialize(as = MailRecipientRequest.class)
@ImmutableStyle
public abstract class AbstractMailRecipientRequest {

    @Nullable
    public abstract MailAddressRequest to();

    public abstract List cc();

    public abstract List bcc();

    public abstract Map substitutions();

    @JsonProperty("custom_args")
    public abstract Map customArgs();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy