pub struct BillingPortalConfiguration {
pub id: BillingPortalConfigurationId,
pub active: bool,
pub application: Option<Expandable<Application>>,
pub business_profile: PortalBusinessProfile,
pub created: Timestamp,
pub default_return_url: Option<String>,
pub features: PortalFeatures,
pub is_default: bool,
pub livemode: bool,
pub login_page: PortalLoginPage,
pub metadata: Option<Metadata>,
pub updated: Timestamp,
}
Expand description
The resource representing a Stripe “PortalConfiguration”.
Fields§
§id: BillingPortalConfigurationId
Unique identifier for the object.
active: bool
Whether the configuration is active and can be used to create portal sessions.
application: Option<Expandable<Application>>
ID of the Connect Application that created the configuration.
business_profile: PortalBusinessProfile
§created: Timestamp
Time at which the object was created.
Measured in seconds since the Unix epoch.
default_return_url: Option<String>
The default URL to redirect customers to when they click on the portal’s link to return to your website.
This can be overriden when creating the session.
features: PortalFeatures
§is_default: bool
Whether the configuration is the default.
If true
, this configuration can be managed in the Dashboard and portal sessions will use this configuration unless it is overriden when creating the session.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
login_page: PortalLoginPage
§metadata: Option<Metadata>
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
updated: Timestamp
Time at which the object was last updated.
Measured in seconds since the Unix epoch.
Trait Implementations§
source§impl Clone for BillingPortalConfiguration
impl Clone for BillingPortalConfiguration
source§fn clone(&self) -> BillingPortalConfiguration
fn clone(&self) -> BillingPortalConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more