public static final class CreatePickUpWaybillRequest.Builder extends Object
public CreatePickUpWaybillRequest.Builder appointGotEndTime(String appointGotEndTime)
The end time of the door-to-door pickup in the appointment. The value of AppointGotEndTime is the value of EndTime of AppointTimes in CpTimeSelectList returned by the CreatePickUpWaybillPreQuery operation.
example:This parameter is required when BizType is set to 1.
2021-01-01 12:00:00
public CreatePickUpWaybillRequest.Builder appointGotStartTime(String appointGotStartTime)
The start time of the door-to-door pickup in the appointment. The value of AppointGotStartTime is the value of StartTime of AppointTimes in CpTimeSelectList returned by the CreatePickUpWaybillPreQuery operation.
example:This parameter is required when BizType is set to 1.
2021-01-01 10:00:00
public CreatePickUpWaybillRequest.Builder bizType(Integer bizType)
The pickup mode. Valid values:
0
public CreatePickUpWaybillRequest.Builder consigneeAddress(CreatePickUpWaybillRequest.ConsigneeAddress consigneeAddress)
The address of the consignee.
This parameter is required.
public CreatePickUpWaybillRequest.Builder consigneeMobile(String consigneeMobile)
The mobile phone number of the consignee.
example:Either ConsigneeMobile or ConsigneePhone must be set.
1580000****
public CreatePickUpWaybillRequest.Builder consigneeName(String consigneeName)
The name of the consignee.
This parameter is required.
example:Li
public CreatePickUpWaybillRequest.Builder consigneePhone(String consigneePhone)
The landline phone number of the consignee.
example:Either ConsigneeMobile or ConsigneePhone must be set.
0570000****
public CreatePickUpWaybillRequest.Builder contentType(String contentType)
The content type of the HTTP request. This parameter is optional. If you specify this parameter, enter application/json;chatset=UTF-8.
example:application/json;chatset=UTF-8
public CreatePickUpWaybillRequest.Builder cpCode(String cpCode)
The code of the courier company.
example:YTO
public CreatePickUpWaybillRequest.Builder goodsInfos(List<CreatePickUpWaybillRequest.GoodsInfos> goodsInfos)
The items.
public CreatePickUpWaybillRequest.Builder orderChannels(String orderChannels)
The external channel sources.
This parameter is required.
example:YUN_DIAN_SHANG
public CreatePickUpWaybillRequest.Builder outerOrderCode(String outerOrderCode)
The ID of the external order.
This parameter is required.
example:143234234266****
public CreatePickUpWaybillRequest.Builder remark(String remark)
The additional information about the order. The additional information will be printed on the order.
example:fragile
public CreatePickUpWaybillRequest.Builder sendAddress(CreatePickUpWaybillRequest.SendAddress sendAddress)
The address of the sender.
This parameter is required.
public CreatePickUpWaybillRequest.Builder sendMobile(String sendMobile)
The mobile phone number of the sender.
example:Either SendMobile or SendPhone must be set.
1596714****
public CreatePickUpWaybillRequest.Builder sendName(String sendName)
The name of the sender.
This parameter is required.
example:Wang
public CreatePickUpWaybillRequest.Builder sendPhone(String sendPhone)
The landline phone number of the sender.
example:Either SendMobile or SendPhone must be set.
05718845****
public CreatePickUpWaybillRequest build()
Copyright © 2025. All rights reserved.