pdd/requests/
pdd_ticket_verification_notifycation.rs

1use crate::Request;
2
3use serde::{Deserialize, Serialize};
4
5
6/// 供应商向拼多多发送订单核销通知
7#[derive(Serialize, Deserialize, Debug, Default)]
8pub struct PddTicketVerificationNotifycation {
9    
10    /// 拼多多制票号
11    #[serde(rename = "order_no")]
12    pub order_no: Option<String>,
13    
14    /// 核销时间(13位毫秒数)
15    #[serde(rename = "verify_time")]
16    pub verify_time: Option<i64>,
17    
18}
19
20
21/// 供应商向拼多多发送订单核销通知
22impl Request for PddTicketVerificationNotifycation {
23    fn get_type() -> String {
24        "pdd.ticket.verification.notifycation".to_string()
25    }
26
27    fn get_response_name() -> String {
28        "response".to_string()
29    }
30}