#[non_exhaustive]pub enum AdjustmentStatus {
PendingApproval,
Approved,
Rejected,
Reversed,
}
Expand description
Status of this adjustment. Set automatically by Paddle.
Most refunds for live accounts are created with the status of pending_approval
until reviewed by Paddle, but some are automatically approved. For sandbox accounts, Paddle automatically approves refunds every ten minutes.
Credit adjustments don’t require approval from Paddle, so they’re created as approved
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
PendingApproval
Adjustment is pending approval by Paddle. Most refunds for live accounts must be approved by Paddle.
Approved
Adjustment is approved. Default for credits. Set when Paddle approves a refund that was pending_approval
.
Rejected
Adjustment has been rejected. Set when Paddle rejects a refund that was pending_approval
.
Reversed
Adjustment has been reversed. Set by Paddle when a chargeback_reversal
or credit_reversal
adjustment is created for this adjustment.
Trait Implementations§
Source§impl Clone for AdjustmentStatus
impl Clone for AdjustmentStatus
Source§fn clone(&self) -> AdjustmentStatus
fn clone(&self) -> AdjustmentStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AdjustmentStatus
impl Debug for AdjustmentStatus
Source§impl<'de> Deserialize<'de> for AdjustmentStatus
impl<'de> Deserialize<'de> for AdjustmentStatus
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>,
Source§impl Hash for AdjustmentStatus
impl Hash for AdjustmentStatus
Source§impl Ord for AdjustmentStatus
impl Ord for AdjustmentStatus
Source§fn cmp(&self, other: &AdjustmentStatus) -> Ordering
fn cmp(&self, other: &AdjustmentStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AdjustmentStatus
impl PartialEq for AdjustmentStatus
Source§impl PartialOrd for AdjustmentStatus
impl PartialOrd for AdjustmentStatus
Source§impl Serialize for AdjustmentStatus
impl Serialize for AdjustmentStatus
impl Eq for AdjustmentStatus
impl StructuralPartialEq for AdjustmentStatus
Auto Trait Implementations§
impl Freeze for AdjustmentStatus
impl RefUnwindSafe for AdjustmentStatus
impl Send for AdjustmentStatus
impl Sync for AdjustmentStatus
impl Unpin for AdjustmentStatus
impl UnwindSafe for AdjustmentStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.