use crate::Request;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Default)]
pub struct PddVoucherOtaCardVerification {
#[serde(rename = "card_no")]
pub card_no: Option<String>,
#[serde(rename = "store_id")]
pub store_id: Option<i64>,
#[serde(rename = "store_name")]
pub store_name: Option<String>,
#[serde(rename = "order_sn")]
pub order_sn: Option<String>,
}
impl Request for PddVoucherOtaCardVerification {
fn get_type() -> String {
"pdd.voucher.ota.card.verification".to_string()
}
fn get_response_name() -> String {
"voucher_ota_card_verification_response".to_string()
}
}