pub struct CreatePromotionCodeRestrictionsCurrencyOptions {
pub minimum_amount: Option<i64>,
}
Available on crate feature
products
only.Expand description
Promotion codes defined in each available currency option.
Each key must be a three-letter ISO currency code and a supported currency.
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).
Implementations§
Trait Implementations§
Source§impl Clone for CreatePromotionCodeRestrictionsCurrencyOptions
impl Clone for CreatePromotionCodeRestrictionsCurrencyOptions
Source§fn clone(&self) -> CreatePromotionCodeRestrictionsCurrencyOptions
fn clone(&self) -> CreatePromotionCodeRestrictionsCurrencyOptions
Returns a duplicate 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 CreatePromotionCodeRestrictionsCurrencyOptions
impl Default for CreatePromotionCodeRestrictionsCurrencyOptions
Source§fn default() -> CreatePromotionCodeRestrictionsCurrencyOptions
fn default() -> CreatePromotionCodeRestrictionsCurrencyOptions
Returns the “default value” for a type. Read more
impl Copy for CreatePromotionCodeRestrictionsCurrencyOptions
Auto Trait Implementations§
impl Freeze for CreatePromotionCodeRestrictionsCurrencyOptions
impl RefUnwindSafe for CreatePromotionCodeRestrictionsCurrencyOptions
impl Send for CreatePromotionCodeRestrictionsCurrencyOptions
impl Sync for CreatePromotionCodeRestrictionsCurrencyOptions
impl Unpin for CreatePromotionCodeRestrictionsCurrencyOptions
impl UnwindSafe for CreatePromotionCodeRestrictionsCurrencyOptions
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