pub struct UpdatePromotionCodeRestrictionsCurrencyOptions {
pub minimum_amount: Option<i64>,
}
Fields§
§minimum_amount: Option<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 UpdatePromotionCodeRestrictionsCurrencyOptions
impl Clone for UpdatePromotionCodeRestrictionsCurrencyOptions
source§fn clone(&self) -> UpdatePromotionCodeRestrictionsCurrencyOptions
fn clone(&self) -> UpdatePromotionCodeRestrictionsCurrencyOptions
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 Default for UpdatePromotionCodeRestrictionsCurrencyOptions
impl Default for UpdatePromotionCodeRestrictionsCurrencyOptions
source§fn default() -> UpdatePromotionCodeRestrictionsCurrencyOptions
fn default() -> UpdatePromotionCodeRestrictionsCurrencyOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdatePromotionCodeRestrictionsCurrencyOptions
impl<'de> Deserialize<'de> for UpdatePromotionCodeRestrictionsCurrencyOptions
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