pub enum PriceAdjustment {
None,
PolicyDiscount {
reason: PriceExceptionReason,
},
ManagerComp {
reason: PriceExceptionReason,
},
RefundOrReversal {
reason: PriceExceptionReason,
},
}Expand description
Price adjustment or comp that triggers manager review before checkout mutation.
Variants§
None
No additional workflow gate is required.
PolicyDiscount
Business reason staff should review before proceeding.
Fields
§
reason: PriceExceptionReasonReason value carried by this review or workflow variant.
ManagerComp
Business reason staff should review before proceeding.
Fields
§
reason: PriceExceptionReasonReason value carried by this review or workflow variant.
RefundOrReversal
Business reason staff should review before proceeding.
Fields
§
reason: PriceExceptionReasonReason value carried by this review or workflow variant.
Implementations§
Source§impl PriceAdjustment
impl PriceAdjustment
Sourcepub const fn requires_manager_approval(self) -> bool
pub const fn requires_manager_approval(self) -> bool
Returns the requires manager approval evidence recorded on this retail contract.
Trait Implementations§
Source§impl Clone for PriceAdjustment
impl Clone for PriceAdjustment
Source§fn clone(&self) -> PriceAdjustment
fn clone(&self) -> PriceAdjustment
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 Debug for PriceAdjustment
impl Debug for PriceAdjustment
Source§impl<'de> Deserialize<'de> for PriceAdjustment
impl<'de> Deserialize<'de> for PriceAdjustment
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 PartialEq for PriceAdjustment
impl PartialEq for PriceAdjustment
Source§impl Serialize for PriceAdjustment
impl Serialize for PriceAdjustment
impl Copy for PriceAdjustment
impl Eq for PriceAdjustment
impl StructuralPartialEq for PriceAdjustment
Auto Trait Implementations§
impl Freeze for PriceAdjustment
impl RefUnwindSafe for PriceAdjustment
impl Send for PriceAdjustment
impl Sync for PriceAdjustment
impl Unpin for PriceAdjustment
impl UnsafeUnpin for PriceAdjustment
impl UnwindSafe for PriceAdjustment
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