com.aliyun.dingtalktrip_1_0.models.SyncTripOrderRequest Maven / Gradle / Ivy
Show all versions of dingtalk Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalktrip_1_0.models;
import com.aliyun.tea.*;
public class SyncTripOrderRequest extends TeaModel {
/**
* if can be null:
* true
*/
@NameInMap("bizExtension")
public String bizExtension;
/**
* example:
* BUSSINESS
*/
@NameInMap("channelType")
public String channelType;
/**
* This parameter is required.
*
* example:
* CNY
*/
@NameInMap("currency")
public String currency;
/**
* This parameter is required.
*
* example:
* 20881001829000
*/
@NameInMap("dingUserId")
public String dingUserId;
/**
* example:
* 0
*/
@NameInMap("discountAmount")
public String discountAmount;
@NameInMap("endorseFlag")
public Boolean endorseFlag;
/**
* This parameter is required.
*/
@NameInMap("event")
public SyncTripOrderRequestEvent event;
/**
* This parameter is required.
*
* example:
* 2022-05-15 10:10:10
*/
@NameInMap("gmtOrder")
public String gmtOrder;
/**
* example:
* 2022-05-15 10:10:10
*/
@NameInMap("gmtPay")
public String gmtPay;
/**
* example:
* 2022-05-15 10:10:10
*/
@NameInMap("gmtRefund")
public String gmtRefund;
@NameInMap("invoiceApplyUrl")
public String invoiceApplyUrl;
/**
* example:
* 20220510170058192311
*/
@NameInMap("journeyBizNo")
public String journeyBizNo;
@NameInMap("orderDetails")
public java.util.List orderDetails;
/**
* This parameter is required.
*
* example:
* 20881001829000
*/
@NameInMap("orderNo")
public String orderNo;
/**
* This parameter is required.
*
* example:
* https:dingtalk.com/tripOrder/20220510170058192311
*/
@NameInMap("orderUrl")
public String orderUrl;
@NameInMap("processId")
public String processId;
/**
* example:
* 100.00
*/
@NameInMap("realAmount")
public String realAmount;
/**
* example:
* 0
*/
@NameInMap("refundAmount")
public String refundAmount;
/**
* example:
* 20881001829000
*/
@NameInMap("relativeOrderNo")
public String relativeOrderNo;
@NameInMap("source")
public String source;
@NameInMap("supplyLogo")
public String supplyLogo;
@NameInMap("supplyName")
public String supplyName;
/**
* example:
* ding32fff839a3e0105d
*/
@NameInMap("targetCorpId")
public String targetCorpId;
@NameInMap("tmcCorpId")
public String tmcCorpId;
/**
* example:
* 100.00
*/
@NameInMap("totalAmount")
public String totalAmount;
/**
* This parameter is required.
*
* example:
* FLIGHT
*/
@NameInMap("type")
public String type;
public static SyncTripOrderRequest build(java.util.Map map) throws Exception {
SyncTripOrderRequest self = new SyncTripOrderRequest();
return TeaModel.build(map, self);
}
public SyncTripOrderRequest setBizExtension(String bizExtension) {
this.bizExtension = bizExtension;
return this;
}
public String getBizExtension() {
return this.bizExtension;
}
public SyncTripOrderRequest setChannelType(String channelType) {
this.channelType = channelType;
return this;
}
public String getChannelType() {
return this.channelType;
}
public SyncTripOrderRequest setCurrency(String currency) {
this.currency = currency;
return this;
}
public String getCurrency() {
return this.currency;
}
public SyncTripOrderRequest setDingUserId(String dingUserId) {
this.dingUserId = dingUserId;
return this;
}
public String getDingUserId() {
return this.dingUserId;
}
public SyncTripOrderRequest setDiscountAmount(String discountAmount) {
this.discountAmount = discountAmount;
return this;
}
public String getDiscountAmount() {
return this.discountAmount;
}
public SyncTripOrderRequest setEndorseFlag(Boolean endorseFlag) {
this.endorseFlag = endorseFlag;
return this;
}
public Boolean getEndorseFlag() {
return this.endorseFlag;
}
public SyncTripOrderRequest setEvent(SyncTripOrderRequestEvent event) {
this.event = event;
return this;
}
public SyncTripOrderRequestEvent getEvent() {
return this.event;
}
public SyncTripOrderRequest setGmtOrder(String gmtOrder) {
this.gmtOrder = gmtOrder;
return this;
}
public String getGmtOrder() {
return this.gmtOrder;
}
public SyncTripOrderRequest setGmtPay(String gmtPay) {
this.gmtPay = gmtPay;
return this;
}
public String getGmtPay() {
return this.gmtPay;
}
public SyncTripOrderRequest setGmtRefund(String gmtRefund) {
this.gmtRefund = gmtRefund;
return this;
}
public String getGmtRefund() {
return this.gmtRefund;
}
public SyncTripOrderRequest setInvoiceApplyUrl(String invoiceApplyUrl) {
this.invoiceApplyUrl = invoiceApplyUrl;
return this;
}
public String getInvoiceApplyUrl() {
return this.invoiceApplyUrl;
}
public SyncTripOrderRequest setJourneyBizNo(String journeyBizNo) {
this.journeyBizNo = journeyBizNo;
return this;
}
public String getJourneyBizNo() {
return this.journeyBizNo;
}
public SyncTripOrderRequest setOrderDetails(java.util.List orderDetails) {
this.orderDetails = orderDetails;
return this;
}
public java.util.List getOrderDetails() {
return this.orderDetails;
}
public SyncTripOrderRequest setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public String getOrderNo() {
return this.orderNo;
}
public SyncTripOrderRequest setOrderUrl(String orderUrl) {
this.orderUrl = orderUrl;
return this;
}
public String getOrderUrl() {
return this.orderUrl;
}
public SyncTripOrderRequest setProcessId(String processId) {
this.processId = processId;
return this;
}
public String getProcessId() {
return this.processId;
}
public SyncTripOrderRequest setRealAmount(String realAmount) {
this.realAmount = realAmount;
return this;
}
public String getRealAmount() {
return this.realAmount;
}
public SyncTripOrderRequest setRefundAmount(String refundAmount) {
this.refundAmount = refundAmount;
return this;
}
public String getRefundAmount() {
return this.refundAmount;
}
public SyncTripOrderRequest setRelativeOrderNo(String relativeOrderNo) {
this.relativeOrderNo = relativeOrderNo;
return this;
}
public String getRelativeOrderNo() {
return this.relativeOrderNo;
}
public SyncTripOrderRequest setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public SyncTripOrderRequest setSupplyLogo(String supplyLogo) {
this.supplyLogo = supplyLogo;
return this;
}
public String getSupplyLogo() {
return this.supplyLogo;
}
public SyncTripOrderRequest setSupplyName(String supplyName) {
this.supplyName = supplyName;
return this;
}
public String getSupplyName() {
return this.supplyName;
}
public SyncTripOrderRequest setTargetCorpId(String targetCorpId) {
this.targetCorpId = targetCorpId;
return this;
}
public String getTargetCorpId() {
return this.targetCorpId;
}
public SyncTripOrderRequest setTmcCorpId(String tmcCorpId) {
this.tmcCorpId = tmcCorpId;
return this;
}
public String getTmcCorpId() {
return this.tmcCorpId;
}
public SyncTripOrderRequest setTotalAmount(String totalAmount) {
this.totalAmount = totalAmount;
return this;
}
public String getTotalAmount() {
return this.totalAmount;
}
public SyncTripOrderRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public static class SyncTripOrderRequestEvent extends TeaModel {
/**
* This parameter is required.
*
* example:
* INIT
*/
@NameInMap("action")
public String action;
/**
* This parameter is required.
*
* example:
* 2022-05-15 10:10:10
*/
@NameInMap("gmtAction")
public String gmtAction;
public static SyncTripOrderRequestEvent build(java.util.Map map) throws Exception {
SyncTripOrderRequestEvent self = new SyncTripOrderRequestEvent();
return TeaModel.build(map, self);
}
public SyncTripOrderRequestEvent setAction(String action) {
this.action = action;
return this;
}
public String getAction() {
return this.action;
}
public SyncTripOrderRequestEvent setGmtAction(String gmtAction) {
this.gmtAction = gmtAction;
return this;
}
public String getGmtAction() {
return this.gmtAction;
}
}
public static class SyncTripOrderRequestOrderDetailsHotelLocation extends TeaModel {
/**
* example:
* 30.278569
*/
@NameInMap("lat")
public String lat;
/**
* example:
* 120.023458
*/
@NameInMap("lon")
public String lon;
/**
* example:
* GCJ02
*/
@NameInMap("source")
public String source;
/**
* example:
* https://ditu.amap.com/place/B0FFIYYAIA
*/
@NameInMap("url")
public String url;
public static SyncTripOrderRequestOrderDetailsHotelLocation build(java.util.Map map) throws Exception {
SyncTripOrderRequestOrderDetailsHotelLocation self = new SyncTripOrderRequestOrderDetailsHotelLocation();
return TeaModel.build(map, self);
}
public SyncTripOrderRequestOrderDetailsHotelLocation setLat(String lat) {
this.lat = lat;
return this;
}
public String getLat() {
return this.lat;
}
public SyncTripOrderRequestOrderDetailsHotelLocation setLon(String lon) {
this.lon = lon;
return this;
}
public String getLon() {
return this.lon;
}
public SyncTripOrderRequestOrderDetailsHotelLocation setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public SyncTripOrderRequestOrderDetailsHotelLocation setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
public static class SyncTripOrderRequestOrderDetailsOpenConsumerInfo extends TeaModel {
@NameInMap("corpId")
public String corpId;
@NameInMap("name")
public String name;
@NameInMap("staffFlag")
public Boolean staffFlag;
@NameInMap("status")
public String status;
@NameInMap("ticketAmount")
public String ticketAmount;
@NameInMap("ticketNo")
public String ticketNo;
@NameInMap("userId")
public String userId;
public static SyncTripOrderRequestOrderDetailsOpenConsumerInfo build(java.util.Map map) throws Exception {
SyncTripOrderRequestOrderDetailsOpenConsumerInfo self = new SyncTripOrderRequestOrderDetailsOpenConsumerInfo();
return TeaModel.build(map, self);
}
public SyncTripOrderRequestOrderDetailsOpenConsumerInfo setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public SyncTripOrderRequestOrderDetailsOpenConsumerInfo setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public SyncTripOrderRequestOrderDetailsOpenConsumerInfo setStaffFlag(Boolean staffFlag) {
this.staffFlag = staffFlag;
return this;
}
public Boolean getStaffFlag() {
return this.staffFlag;
}
public SyncTripOrderRequestOrderDetailsOpenConsumerInfo setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public SyncTripOrderRequestOrderDetailsOpenConsumerInfo setTicketAmount(String ticketAmount) {
this.ticketAmount = ticketAmount;
return this;
}
public String getTicketAmount() {
return this.ticketAmount;
}
public SyncTripOrderRequestOrderDetailsOpenConsumerInfo setTicketNo(String ticketNo) {
this.ticketNo = ticketNo;
return this;
}
public String getTicketNo() {
return this.ticketNo;
}
public SyncTripOrderRequestOrderDetailsOpenConsumerInfo setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class SyncTripOrderRequestOrderDetails extends TeaModel {
/**
* example:
* 2022-05-20 12:20:00
*/
@NameInMap("arrivalTime")
public String arrivalTime;
/**
* example:
* 红色
*/
@NameInMap("carColor")
public String carColor;
/**
* example:
* 帕萨特
*/
@NameInMap("carModel")
public String carModel;
/**
* example:
* 浙A0Z***7
*/
@NameInMap("carNumber")
public String carNumber;
/**
* example:
* 单早
*/
@NameInMap("cateringType")
public String cateringType;
/**
* example:
* 2022-05-20 14:00:00
*/
@NameInMap("checkInTime")
public String checkInTime;
/**
* example:
* 2022-05-21 12:00:00
*/
@NameInMap("checkOutTime")
public String checkOutTime;
/**
* example:
* 2022-05-20 10:00:00
*/
@NameInMap("departTime")
public String departTime;
/**
* example:
* 杭州
*/
@NameInMap("destinationCity")
public String destinationCity;
/**
* example:
* 151
*/
@NameInMap("destinationCityCode")
public String destinationCityCode;
/**
* example:
* 杭州
*/
@NameInMap("destinationStation")
public String destinationStation;
/**
* example:
* T3
*/
@NameInMap("destinationTerminalBuilding")
public String destinationTerminalBuilding;
@NameInMap("detailAmount")
public String detailAmount;
/**
* example:
* 浙江省杭州市余杭区聚橙路文昌路
*/
@NameInMap("hotelAddress")
public String hotelAddress;
/**
* example:
* 杭州
*/
@NameInMap("hotelCity")
public String hotelCity;
@NameInMap("hotelLocation")
public SyncTripOrderRequestOrderDetailsHotelLocation hotelLocation;
/**
* example:
* 亲橙客栈
*/
@NameInMap("hotelName")
public String hotelName;
@NameInMap("openConsumerInfo")
public java.util.List openConsumerInfo;
/**
* example:
* 北京
*/
@NameInMap("originCity")
public String originCity;
/**
* example:
* 150
*/
@NameInMap("originCityCode")
public String originCityCode;
/**
* example:
* 北京
*/
@NameInMap("originStation")
public String originStation;
/**
* example:
* T3
*/
@NameInMap("originTerminalBuilding")
public String originTerminalBuilding;
@NameInMap("roomCount")
public Integer roomCount;
/**
* example:
* 经济舱/7车12A
*/
@NameInMap("seatInfo")
public String seatInfo;
/**
* example:
* REALTIME
*/
@NameInMap("serviceType")
public String serviceType;
/**
* example:
* http://dingtalk.com/static/logo.png
*/
@NameInMap("subSupplyLogo")
public String subSupplyLogo;
/**
* example:
* 国航
*/
@NameInMap("subSupplyName")
public String subSupplyName;
/**
* example:
* 专车
*/
@NameInMap("taxiType")
public String taxiType;
/**
* example:
* 2022-05-20 14:00:00
*/
@NameInMap("telephone")
public String telephone;
/**
* example:
* CA1762
*/
@NameInMap("transportNumber")
public String transportNumber;
/**
* example:
* 商务标准间
*/
@NameInMap("typeDescription")
public String typeDescription;
public static SyncTripOrderRequestOrderDetails build(java.util.Map map) throws Exception {
SyncTripOrderRequestOrderDetails self = new SyncTripOrderRequestOrderDetails();
return TeaModel.build(map, self);
}
public SyncTripOrderRequestOrderDetails setArrivalTime(String arrivalTime) {
this.arrivalTime = arrivalTime;
return this;
}
public String getArrivalTime() {
return this.arrivalTime;
}
public SyncTripOrderRequestOrderDetails setCarColor(String carColor) {
this.carColor = carColor;
return this;
}
public String getCarColor() {
return this.carColor;
}
public SyncTripOrderRequestOrderDetails setCarModel(String carModel) {
this.carModel = carModel;
return this;
}
public String getCarModel() {
return this.carModel;
}
public SyncTripOrderRequestOrderDetails setCarNumber(String carNumber) {
this.carNumber = carNumber;
return this;
}
public String getCarNumber() {
return this.carNumber;
}
public SyncTripOrderRequestOrderDetails setCateringType(String cateringType) {
this.cateringType = cateringType;
return this;
}
public String getCateringType() {
return this.cateringType;
}
public SyncTripOrderRequestOrderDetails setCheckInTime(String checkInTime) {
this.checkInTime = checkInTime;
return this;
}
public String getCheckInTime() {
return this.checkInTime;
}
public SyncTripOrderRequestOrderDetails setCheckOutTime(String checkOutTime) {
this.checkOutTime = checkOutTime;
return this;
}
public String getCheckOutTime() {
return this.checkOutTime;
}
public SyncTripOrderRequestOrderDetails setDepartTime(String departTime) {
this.departTime = departTime;
return this;
}
public String getDepartTime() {
return this.departTime;
}
public SyncTripOrderRequestOrderDetails setDestinationCity(String destinationCity) {
this.destinationCity = destinationCity;
return this;
}
public String getDestinationCity() {
return this.destinationCity;
}
public SyncTripOrderRequestOrderDetails setDestinationCityCode(String destinationCityCode) {
this.destinationCityCode = destinationCityCode;
return this;
}
public String getDestinationCityCode() {
return this.destinationCityCode;
}
public SyncTripOrderRequestOrderDetails setDestinationStation(String destinationStation) {
this.destinationStation = destinationStation;
return this;
}
public String getDestinationStation() {
return this.destinationStation;
}
public SyncTripOrderRequestOrderDetails setDestinationTerminalBuilding(String destinationTerminalBuilding) {
this.destinationTerminalBuilding = destinationTerminalBuilding;
return this;
}
public String getDestinationTerminalBuilding() {
return this.destinationTerminalBuilding;
}
public SyncTripOrderRequestOrderDetails setDetailAmount(String detailAmount) {
this.detailAmount = detailAmount;
return this;
}
public String getDetailAmount() {
return this.detailAmount;
}
public SyncTripOrderRequestOrderDetails setHotelAddress(String hotelAddress) {
this.hotelAddress = hotelAddress;
return this;
}
public String getHotelAddress() {
return this.hotelAddress;
}
public SyncTripOrderRequestOrderDetails setHotelCity(String hotelCity) {
this.hotelCity = hotelCity;
return this;
}
public String getHotelCity() {
return this.hotelCity;
}
public SyncTripOrderRequestOrderDetails setHotelLocation(SyncTripOrderRequestOrderDetailsHotelLocation hotelLocation) {
this.hotelLocation = hotelLocation;
return this;
}
public SyncTripOrderRequestOrderDetailsHotelLocation getHotelLocation() {
return this.hotelLocation;
}
public SyncTripOrderRequestOrderDetails setHotelName(String hotelName) {
this.hotelName = hotelName;
return this;
}
public String getHotelName() {
return this.hotelName;
}
public SyncTripOrderRequestOrderDetails setOpenConsumerInfo(java.util.List openConsumerInfo) {
this.openConsumerInfo = openConsumerInfo;
return this;
}
public java.util.List getOpenConsumerInfo() {
return this.openConsumerInfo;
}
public SyncTripOrderRequestOrderDetails setOriginCity(String originCity) {
this.originCity = originCity;
return this;
}
public String getOriginCity() {
return this.originCity;
}
public SyncTripOrderRequestOrderDetails setOriginCityCode(String originCityCode) {
this.originCityCode = originCityCode;
return this;
}
public String getOriginCityCode() {
return this.originCityCode;
}
public SyncTripOrderRequestOrderDetails setOriginStation(String originStation) {
this.originStation = originStation;
return this;
}
public String getOriginStation() {
return this.originStation;
}
public SyncTripOrderRequestOrderDetails setOriginTerminalBuilding(String originTerminalBuilding) {
this.originTerminalBuilding = originTerminalBuilding;
return this;
}
public String getOriginTerminalBuilding() {
return this.originTerminalBuilding;
}
public SyncTripOrderRequestOrderDetails setRoomCount(Integer roomCount) {
this.roomCount = roomCount;
return this;
}
public Integer getRoomCount() {
return this.roomCount;
}
public SyncTripOrderRequestOrderDetails setSeatInfo(String seatInfo) {
this.seatInfo = seatInfo;
return this;
}
public String getSeatInfo() {
return this.seatInfo;
}
public SyncTripOrderRequestOrderDetails setServiceType(String serviceType) {
this.serviceType = serviceType;
return this;
}
public String getServiceType() {
return this.serviceType;
}
public SyncTripOrderRequestOrderDetails setSubSupplyLogo(String subSupplyLogo) {
this.subSupplyLogo = subSupplyLogo;
return this;
}
public String getSubSupplyLogo() {
return this.subSupplyLogo;
}
public SyncTripOrderRequestOrderDetails setSubSupplyName(String subSupplyName) {
this.subSupplyName = subSupplyName;
return this;
}
public String getSubSupplyName() {
return this.subSupplyName;
}
public SyncTripOrderRequestOrderDetails setTaxiType(String taxiType) {
this.taxiType = taxiType;
return this;
}
public String getTaxiType() {
return this.taxiType;
}
public SyncTripOrderRequestOrderDetails setTelephone(String telephone) {
this.telephone = telephone;
return this;
}
public String getTelephone() {
return this.telephone;
}
public SyncTripOrderRequestOrderDetails setTransportNumber(String transportNumber) {
this.transportNumber = transportNumber;
return this;
}
public String getTransportNumber() {
return this.transportNumber;
}
public SyncTripOrderRequestOrderDetails setTypeDescription(String typeDescription) {
this.typeDescription = typeDescription;
return this;
}
public String getTypeDescription() {
return this.typeDescription;
}
}
}