ai.promoted.delivery.client.DeliveryPlan 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;
/**
* A plan object that can indicate how to execute delivery.
*/
class DeliveryPlan {
private String clientRequestId;
private boolean useApiResponse;
/**
* @param clientRequestId The client's requestId. Important because the ID should match
* if both API and SDK Delivery are done.
* @param useApiResponse Whether the SDK should attempt to use Delivery API's Response.
*/
public DeliveryPlan(String clientRequestId, boolean useApiResponse) {
this.clientRequestId = clientRequestId;
this.useApiResponse = useApiResponse;
}
public String getClientRequestId() {
return clientRequestId;
}
public boolean useApiResponse() {
return useApiResponse;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy