All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dyplsapi20170525.models.CreatePickUpWaybillPreQueryResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dyplsapi20170525.models;

import com.aliyun.tea.*;

public class CreatePickUpWaybillPreQueryResponseBody extends TeaModel {
    /**
     * 

The result set.

*/ @NameInMap("Data") public CreatePickUpWaybillPreQueryResponseBodyData data; /** *

The HTTP status code.

* * example: *

200

*/ @NameInMap("HttpStatusCode") public Integer httpStatusCode; /** *

The returned message.

* * example: *

OK

*/ @NameInMap("Message") public String message; /** *

The request ID.

* * example: *

9FC30594-3841-43AD-9008-03393BCB5CD2

*/ @NameInMap("RequestId") public String requestId; public static CreatePickUpWaybillPreQueryResponseBody build(java.util.Map map) throws Exception { CreatePickUpWaybillPreQueryResponseBody self = new CreatePickUpWaybillPreQueryResponseBody(); return TeaModel.build(map, self); } public CreatePickUpWaybillPreQueryResponseBody setData(CreatePickUpWaybillPreQueryResponseBodyData data) { this.data = data; return this; } public CreatePickUpWaybillPreQueryResponseBodyData getData() { return this.data; } public CreatePickUpWaybillPreQueryResponseBody setHttpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } public Integer getHttpStatusCode() { return this.httpStatusCode; } public CreatePickUpWaybillPreQueryResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public CreatePickUpWaybillPreQueryResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList extends TeaModel { /** *

The end of the time range.

* * example: *

12:00:00

*/ @NameInMap("EndTime") public String endTime; /** *

The tip displayed when the scheduled pickup is not available.

* * example: *

Appointment Full

*/ @NameInMap("SelectDisableTip") public String selectDisableTip; /** *

Indicates whether the time range can be selected for the scheduled pickup.

* * example: *

true

*/ @NameInMap("Selectable") public Boolean selectable; /** *

The beginning of the time range.

* * example: *

10:00:00

*/ @NameInMap("StartTime") public String startTime; public static CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList build(java.util.Map map) throws Exception { CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList self = new CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList(); return TeaModel.build(map, self); } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList setEndTime(String endTime) { this.endTime = endTime; return this; } public String getEndTime() { return this.endTime; } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList setSelectDisableTip(String selectDisableTip) { this.selectDisableTip = selectDisableTip; return this; } public String getSelectDisableTip() { return this.selectDisableTip; } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList setSelectable(Boolean selectable) { this.selectable = selectable; return this; } public Boolean getSelectable() { return this.selectable; } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimesTimeList setStartTime(String startTime) { this.startTime = startTime; return this; } public String getStartTime() { return this.startTime; } } public static class CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes extends TeaModel { /** *

The date in the YYYY-MM-DD format.

* * example: *

2022-04-28

*/ @NameInMap("Date") public String date; /** *

Indicates whether the date is selectable.

* * example: *

true

*/ @NameInMap("DateSelectable") public Boolean dateSelectable; /** *

The time range for the scheduled pickup for this date.

*/ @NameInMap("TimeList") public java.util.List timeList; public static CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes build(java.util.Map map) throws Exception { CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes self = new CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes(); return TeaModel.build(map, self); } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes setDate(String date) { this.date = date; return this; } public String getDate() { return this.date; } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes setDateSelectable(Boolean dateSelectable) { this.dateSelectable = dateSelectable; return this; } public Boolean getDateSelectable() { return this.dateSelectable; } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListAppointTimes setTimeList(java.util.List timeList) { this.timeList = timeList; return this; } public java.util.List getTimeList() { return this.timeList; } } public static class CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime extends TeaModel { /** *

The name of the real-time order type.

* * example: *

Aliyun

*/ @NameInMap("Name") public String name; /** *

The tip displayed when the real-time order cannot be placed.

* * example: *

Exceeding the real-time ordering time range.

*/ @NameInMap("SelectDisableTip") public String selectDisableTip; /** *

Indicates whether the real-time order can be placed after the deadline for placing a real-time order is reached.

* * example: *

false

*/ @NameInMap("Selectable") public Boolean selectable; public static CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime build(java.util.Map map) throws Exception { CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime self = new CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime(); return TeaModel.build(map, self); } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime setSelectDisableTip(String selectDisableTip) { this.selectDisableTip = selectDisableTip; return this; } public String getSelectDisableTip() { return this.selectDisableTip; } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime setSelectable(Boolean selectable) { this.selectable = selectable; return this; } public Boolean getSelectable() { return this.selectable; } } public static class CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList extends TeaModel { /** *

The available time for the scheduled pickup. If the current courier company cannot accept the scheduled pickup, this field is left empty.

*/ @NameInMap("AppointTimes") public java.util.List appointTimes; /** *

The estimated price. Unit: CNY. The value is accurate to two decimal places. The value of this parameter is displayed if an estimated weight is specified.

* * example: *

12.50

*/ @NameInMap("PrePrice") public String prePrice; /** *

The information about whether the real-time order can be selected.

*/ @NameInMap("RealTime") public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime realTime; public static CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList build(java.util.Map map) throws Exception { CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList self = new CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList(); return TeaModel.build(map, self); } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList setAppointTimes(java.util.List appointTimes) { this.appointTimes = appointTimes; return this; } public java.util.List getAppointTimes() { return this.appointTimes; } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList setPrePrice(String prePrice) { this.prePrice = prePrice; return this; } public String getPrePrice() { return this.prePrice; } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectList setRealTime(CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime realTime) { this.realTime = realTime; return this; } public CreatePickUpWaybillPreQueryResponseBodyDataCpTimeSelectListRealTime getRealTime() { return this.realTime; } } public static class CreatePickUpWaybillPreQueryResponseBodyData extends TeaModel { /** *

The response code.

* * example: *

0

*/ @NameInMap("Code") public String code; /** *

The information about whether the courier company can accept the order.

*/ @NameInMap("CpTimeSelectList") public java.util.List cpTimeSelectList; /** *

The error code.

* * example: *

Success

*/ @NameInMap("ErrorCode") public String errorCode; /** *

The error message.

* * example: *

none

*/ @NameInMap("ErrorMsg") public String errorMsg; /** *

The response content.

* * example: *

Success

*/ @NameInMap("Message") public String message; /** *

Indicates whether the request was successful.

* * example: *

true

*/ @NameInMap("Success") public Boolean success; public static CreatePickUpWaybillPreQueryResponseBodyData build(java.util.Map map) throws Exception { CreatePickUpWaybillPreQueryResponseBodyData self = new CreatePickUpWaybillPreQueryResponseBodyData(); return TeaModel.build(map, self); } public CreatePickUpWaybillPreQueryResponseBodyData setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public CreatePickUpWaybillPreQueryResponseBodyData setCpTimeSelectList(java.util.List cpTimeSelectList) { this.cpTimeSelectList = cpTimeSelectList; return this; } public java.util.List getCpTimeSelectList() { return this.cpTimeSelectList; } public CreatePickUpWaybillPreQueryResponseBodyData setErrorCode(String errorCode) { this.errorCode = errorCode; return this; } public String getErrorCode() { return this.errorCode; } public CreatePickUpWaybillPreQueryResponseBodyData setErrorMsg(String errorMsg) { this.errorMsg = errorMsg; return this; } public String getErrorMsg() { return this.errorMsg; } public CreatePickUpWaybillPreQueryResponseBodyData setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public CreatePickUpWaybillPreQueryResponseBodyData setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy