#![allow(unused_imports)]
use serde_json::Value;
use bigdecimal::BigDecimal;
use chrono::{Date, NaiveDateTime, NaiveDate, DateTime, FixedOffset, Utc};
use crate::models::*;
use crate::date_serializer;
use crate::date_serializer_opt;
use crate::serialize_quoted_numbers;
use crate::serialize_quoted_numbers_opt;
#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)]
pub struct UpdatePlanResponseEntry {
#[serde(rename = "billing")]
#[serde(default)]
billing: Option<UpdatePlanResponseDto>
}
impl UpdatePlanResponseEntry {
pub fn new() -> UpdatePlanResponseEntry {
UpdatePlanResponseEntry {
billing: None
}
}
pub fn set_billing(&mut self, billing: UpdatePlanResponseDto) {
self.billing = Some(billing);
}
pub fn with_billing(mut self, billing: UpdatePlanResponseDto) -> UpdatePlanResponseEntry {
self.billing = Some(billing);
self
}
pub fn billing(&self) -> Option<&UpdatePlanResponseDto> {
self.billing.as_ref()
}
pub fn reset_billing(&mut self) {
self.billing = None;
}
pub fn validate(&self) {
}
}