Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderAddTipRequest ¶
type OrderAddTipRequest struct { /** * 配送活动标识 */ DeliveryId int64 `json:"delivery_id"` /** * 美团配送内部订单id,最长不超过32个字符 */ MtPeisongId string `json:"mt_peisong_id"` /** * 小费金额,精确到元,需要为1或1的倍数,上限20,允许每个运单最多加5次; */ TipAmount int32 `json:"tip_amount"` /** * 加小费传入的唯一标识,用来幂等处理,最长不超过128个字符 */ SerialNumber string `json:"serial_number"` }
func (*OrderAddTipRequest) DoInvoke ¶
func (req *OrderAddTipRequest) DoInvoke(client mtclient.MeituanClient) (*OrderAddTipResponse, error)
type OrderAddTipResponse ¶
type OrderAddTipResponse struct { Code string `json:"code"` Msg string `json:"msg"` TraceId string `json:"traceId"` }
func (*OrderAddTipResponse) IsSuccess ¶
func (response *OrderAddTipResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.