Struct stripe::PromotionCodeCurrencyOption
source · pub struct PromotionCodeCurrencyOption {
pub minimum_amount: i64,
}
Fields§
§minimum_amount: i64
Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work).
Trait Implementations§
source§impl Clone for PromotionCodeCurrencyOption
impl Clone for PromotionCodeCurrencyOption
source§fn clone(&self) -> PromotionCodeCurrencyOption
fn clone(&self) -> PromotionCodeCurrencyOption
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 PromotionCodeCurrencyOption
impl Debug for PromotionCodeCurrencyOption
source§impl Default for PromotionCodeCurrencyOption
impl Default for PromotionCodeCurrencyOption
source§fn default() -> PromotionCodeCurrencyOption
fn default() -> PromotionCodeCurrencyOption
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PromotionCodeCurrencyOption
impl<'de> Deserialize<'de> for PromotionCodeCurrencyOption
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