Struct stripe::DeclineChargeOnParams
source · pub struct DeclineChargeOnParams {
pub avs_failure: Option<bool>,
pub cvc_failure: Option<bool>,
}
Fields§
§avs_failure: Option<bool>
Whether Stripe automatically declines charges with an incorrect ZIP or postal code.
This setting only applies when a ZIP or postal code is provided and they fail bank verification.
cvc_failure: Option<bool>
Whether Stripe automatically declines charges with an incorrect CVC.
This setting only applies when a CVC is provided and it fails bank verification.
Trait Implementations§
source§impl Clone for DeclineChargeOnParams
impl Clone for DeclineChargeOnParams
source§fn clone(&self) -> DeclineChargeOnParams
fn clone(&self) -> DeclineChargeOnParams
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 DeclineChargeOnParams
impl Debug for DeclineChargeOnParams
source§impl Default for DeclineChargeOnParams
impl Default for DeclineChargeOnParams
source§fn default() -> DeclineChargeOnParams
fn default() -> DeclineChargeOnParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeclineChargeOnParams
impl<'de> Deserialize<'de> for DeclineChargeOnParams
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