use serde::{Serialize, Deserialize};
///
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct InvoiceSettingQuoteSetting {
///Number of days within which a customer must pay invoices generated by this quote. This value will be `null` for quotes where `collection_method=charge_automatically`.
#[serde(skip_serializing_if = "Option::is_none")]
pub days_until_due: Option<i64>,
}
impl std::fmt::Display for InvoiceSettingQuoteSetting {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
write!(f, "{}", serde_json::to_string(self).unwrap())
}
}