/*
* Pipedrive API v1
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct CancelRecurringSubscriptionRequest {
/// The subscription termination date. All payments after the specified date will be deleted. The end_date of the subscription will be set to the due date of the payment to follow the specified date. Default value is the current date.
#[serde(rename = "end_date", skip_serializing_if = "Option::is_none")]
pub end_date: Option<String>,
}
impl CancelRecurringSubscriptionRequest {
pub fn new() -> CancelRecurringSubscriptionRequest {
CancelRecurringSubscriptionRequest {
end_date: None,
}
}
}