use crate::spot::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetGiftcardVerifyV1RespData {
#[serde(rename = "amount", skip_serializing_if = "Option::is_none")]
pub amount: Option<String>,
#[serde(rename = "token", skip_serializing_if = "Option::is_none")]
pub token: Option<String>,
#[serde(rename = "valid", skip_serializing_if = "Option::is_none")]
pub valid: Option<bool>,
}
impl GetGiftcardVerifyV1RespData {
pub fn new() -> GetGiftcardVerifyV1RespData {
GetGiftcardVerifyV1RespData {
amount: None,
token: None,
valid: None,
}
}
}