use crate::Request;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Default)]
pub struct PddServiceMailOrderFcAuth {
#[serde(rename = "urlParams")]
pub url_params: Option<UrlParams>,
#[serde(rename = "httpMethod")]
pub http_method: Option<String>,
}
#[derive(Serialize, Deserialize, Debug, Default)]
pub struct UrlParams {
#[serde(rename = "app_key")]
pub app_key: Option<String>,
#[serde(rename = "app_secret")]
pub app_secret: Option<String>,
}
impl Request for PddServiceMailOrderFcAuth {
fn get_type() -> String {
"pdd.service.mail.order.fc.auth".to_string()
}
fn get_response_name() -> String {
"access_token".to_string()
}
}