#[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 more