public interface DeliveryAddressSetMessagePayload extends MessagePayload
Modifier and Type | Field and Description |
---|---|
static String |
DELIVERY_ADDRESS_SET |
Modifier and Type | Method and Description |
---|---|
static DeliveryAddressSetMessagePayloadBuilder |
builder() |
static DeliveryAddressSetMessagePayloadBuilder |
builder(DeliveryAddressSetMessagePayload template) |
@Valid Address |
getAddress() |
@NotNull String |
getDeliveryId() |
@Valid Address |
getOldAddress() |
static DeliveryAddressSetMessagePayload |
of() |
static DeliveryAddressSetMessagePayload |
of(DeliveryAddressSetMessagePayload template) |
void |
setAddress(Address address) |
void |
setDeliveryId(String deliveryId) |
void |
setOldAddress(Address oldAddress) |
default <T> T |
withDeliveryAddressSetMessagePayload(Function<DeliveryAddressSetMessagePayload,T> helper) |
getType, withMessagePayload
static final String DELIVERY_ADDRESS_SET
@NotNull @NotNull String getDeliveryId()
@Valid @Valid Address getAddress()
@Valid @Valid Address getOldAddress()
void setDeliveryId(String deliveryId)
void setAddress(Address address)
void setOldAddress(Address oldAddress)
static DeliveryAddressSetMessagePayload of()
static DeliveryAddressSetMessagePayload of(DeliveryAddressSetMessagePayload template)
static DeliveryAddressSetMessagePayloadBuilder builder()
static DeliveryAddressSetMessagePayloadBuilder builder(DeliveryAddressSetMessagePayload template)
default <T> T withDeliveryAddressSetMessagePayload(Function<DeliveryAddressSetMessagePayload,T> helper)