ai.promoted.delivery.client.DeliveryRequestValidator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deliveryclient Show documentation
Show all versions of deliveryclient Show documentation
A Java Client to contact the Promoted.ai Delivery API.
package ai.promoted.delivery.client;
import java.util.List;
/**
* Performs validation on delivery requests during a deliver call when performChecks is true in the client.
*/
public interface DeliveryRequestValidator {
/**
* Checks the state of this delivery requests and collects/returns any validation errors.
* @param request the delivery request to validate
*
* @return a list of validation errors, which may be empty.
*/
List validate(DeliveryRequest request);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy