com.myperfit.sdk.transactional.domain.AbstractMailRecipientRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of transactionalsdk Show documentation
Show all versions of transactionalsdk Show documentation
Perfit Transactional API SKD
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();
}