use crate::types::LabeledPrice;
use serde::Serialize;
#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash, Serialize)]
pub struct Option<'a> {
id: &'a str,
title: &'a str,
prices: &'a [LabeledPrice<'a>],
}
impl<'a> Option<'a> {
pub const fn new(
id: &'a str,
title: &'a str,
prices: &'a [LabeledPrice<'a>],
) -> Self {
Self { id, title, prices }
}
}