1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Response body struct for the Change billing anchor date API

use serde::Deserialize;

use super::{errors::Error, Subscription, SubscriptionAction};

/// This is a model struct for the ChangeBillingAnchorDateResponse type.
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
pub struct ChangeBillingAnchorDateResponse {
    /// Errors encountered during the request.
    pub errors: Option<Vec<Error>>,
    /// The specified subscription for updating billing anchor date.
    pub subscription: Option<Subscription>,
    /// A list of a single billing anchor date change for the subscription.
    pub actions: Option<Vec<SubscriptionAction>>,
}