1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// ======================================
// This file was automatically generated.
// ======================================

use serde::{Deserialize, Serialize};

/// The resource representing a Stripe "CustomUnitAmount".
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
pub struct CustomUnitAmount {
    /// The maximum unit amount the customer can specify for this item.
    pub maximum: Option<i64>,

    /// The minimum unit amount the customer can specify for this item.
    ///
    /// Must be at least the minimum charge amount.
    pub minimum: Option<i64>,

    /// The starting unit amount which can be updated by the customer.
    pub preset: Option<i64>,
}