enbbox 1.0.1

Notification infrastructure API — open-source alternative to Novu/Courier
Documentation
/*
 * enbbox API
 *
 * Notification infrastructure API — open-source alternative to Novu/Courier
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// PortalUrl : Billing portal URL.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PortalUrl {
    /// URL to redirect the user to the Stripe Customer Portal.
    #[serde(rename = "url")]
    pub url: String,
}

impl PortalUrl {
    /// Billing portal URL.
    pub fn new(url: String) -> PortalUrl {
        PortalUrl {
            url,
        }
    }
}