use crate::line_shop::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct MissionStickerRequest {
#[serde(rename = "to")]
pub to: String,
#[serde(rename = "productId")]
pub product_id: String,
#[serde(rename = "productType")]
pub product_type: String,
#[serde(rename = "sendPresentMessage")]
pub send_present_message: bool,
}
impl MissionStickerRequest {
pub fn new(
to: String,
product_id: String,
product_type: String,
send_present_message: bool,
) -> MissionStickerRequest {
MissionStickerRequest {
to,
product_id,
product_type,
send_present_message,
}
}
}