pub struct TerminalConfiguration {
pub id: TerminalConfigurationId,
pub bbpos_wisepos_e: Option<TerminalConfigurationConfigurationResourceDeviceTypeSpecificConfig>,
pub deleted: bool,
pub is_account_default: Option<bool>,
pub livemode: Option<bool>,
pub offline: Option<TerminalConfigurationConfigurationResourceOfflineConfig>,
pub tipping: Option<TerminalConfigurationConfigurationResourceTipping>,
pub verifone_p400: Option<TerminalConfigurationConfigurationResourceDeviceTypeSpecificConfig>,
}
Expand description
The resource representing a Stripe “TerminalConfigurationConfiguration”.
For more details see https://stripe.com/docs/api/terminal/configuration/object
Fields§
§id: TerminalConfigurationId
Unique identifier for the object.
bbpos_wisepos_e: Option<TerminalConfigurationConfigurationResourceDeviceTypeSpecificConfig>
§deleted: bool
§is_account_default: Option<bool>
Whether this Configuration is the default for your account.
livemode: Option<bool>
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
offline: Option<TerminalConfigurationConfigurationResourceOfflineConfig>
§tipping: Option<TerminalConfigurationConfigurationResourceTipping>
§verifone_p400: Option<TerminalConfigurationConfigurationResourceDeviceTypeSpecificConfig>
Implementations§
source§impl TerminalConfiguration
impl TerminalConfiguration
sourcepub fn list(
client: &Client,
params: &ListTerminalConfigurations<'_>
) -> Response<List<TerminalConfiguration>>
pub fn list( client: &Client, params: &ListTerminalConfigurations<'_> ) -> Response<List<TerminalConfiguration>>
Returns a list of Configuration
objects.
sourcepub fn create(
client: &Client,
params: CreateTerminalConfiguration<'_>
) -> Response<TerminalConfiguration>
pub fn create( client: &Client, params: CreateTerminalConfiguration<'_> ) -> Response<TerminalConfiguration>
Creates a new Configuration
object.
Trait Implementations§
source§impl Clone for TerminalConfiguration
impl Clone for TerminalConfiguration
source§fn clone(&self) -> TerminalConfiguration
fn clone(&self) -> TerminalConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TerminalConfiguration
impl Debug for TerminalConfiguration
source§impl Default for TerminalConfiguration
impl Default for TerminalConfiguration
source§fn default() -> TerminalConfiguration
fn default() -> TerminalConfiguration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TerminalConfiguration
impl<'de> Deserialize<'de> for TerminalConfiguration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Object for TerminalConfiguration
impl Object for TerminalConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for TerminalConfiguration
impl Send for TerminalConfiguration
impl Sync for TerminalConfiguration
impl Unpin for TerminalConfiguration
impl UnwindSafe for TerminalConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more