com.pdd.pop.sdk.http.api.ark.request.PddWmsDepotTicketAckRequest Maven / Gradle / Ivy
package com.pdd.pop.sdk.http.api.ark.request;
import com.pdd.pop.ext.fasterxml.jackson.annotation.JsonProperty;
import com.pdd.pop.sdk.http.api.ark.response.PddWmsDepotTicketAckResponse;
import com.pdd.pop.sdk.http.HttpMethod;
import com.pdd.pop.sdk.http.PopBaseHttpRequest;
import java.util.List;
import java.util.Map;
public class PddWmsDepotTicketAckRequest extends PopBaseHttpRequest {
/**
* 工单号列表
*/
@JsonProperty("ticketIds")
private List ticketIds;
@Override
public String getVersion() {
return "V1";
}
@Override
public String getDataType() {
return "JSON";
}
@Override
public Integer getPlatform() {
return 1;
}
@Override
public String getType() {
return "pdd.wms.depot.ticket.ack";
}
@Override
public HttpMethod getHttpMethod() {
return HttpMethod.POST;
}
@Override
public Class getResponseClass() {
return PddWmsDepotTicketAckResponse.class;
}
@Override
protected void setUserParams(Map params) {
setUserParam(params, "ticketIds", ticketIds);
}
public void setTicketIds(List ticketIds) {
this.ticketIds = ticketIds;
}
}