square_api_client/models/
update_subscription_request.rs

1//! Request body struct for the Update Subscription API
2
3use serde::Serialize;
4
5use super::Subscription;
6
7/// This is a model struct for UpdateSubscriptionRequest type.
8#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
9pub struct UpdateSubscriptionRequest {
10    /// The subscription object containing the current version, and fields to update. Unset fields
11    /// will be left at their current server values, and JSON `null` values will be treated as a
12    /// request to clear the relevant data.
13    pub subscription: Option<Subscription>,
14}