pub enum CreateRefundReason {
Duplicate,
Fraudulent,
RequestedByCustomer,
}
Expand description
String indicating the reason for the refund.
If set, possible values are duplicate
, fraudulent
, and requested_by_customer
.
If you believe the charge to be fraudulent, specifying fraudulent
as the reason will add the associated card and email to your block lists, and will also help us improve our fraud detection algorithms.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CreateRefundReason
impl Clone for CreateRefundReason
Source§fn clone(&self) -> CreateRefundReason
fn clone(&self) -> CreateRefundReason
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 CreateRefundReason
impl Debug for CreateRefundReason
Source§impl Display for CreateRefundReason
impl Display for CreateRefundReason
Source§impl FromStr for CreateRefundReason
impl FromStr for CreateRefundReason
Source§impl PartialEq for CreateRefundReason
impl PartialEq for CreateRefundReason
Source§impl Serialize for CreateRefundReason
impl Serialize for CreateRefundReason
impl Copy for CreateRefundReason
impl Eq for CreateRefundReason
impl StructuralPartialEq for CreateRefundReason
Auto Trait Implementations§
impl Freeze for CreateRefundReason
impl RefUnwindSafe for CreateRefundReason
impl Send for CreateRefundReason
impl Sync for CreateRefundReason
impl Unpin for CreateRefundReason
impl UnwindSafe for CreateRefundReason
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