pub struct CancelRefund { /* private fields */ }
Expand description
Cancels a refund with a status of requires_action
.
You can’t cancel refunds in other states.
Only refunds for payment methods that require customer action can enter the requires_action
state.
Implementations§
Source§impl CancelRefund
impl CancelRefund
Source§impl CancelRefund
impl CancelRefund
Sourcepub async fn send<C: StripeClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub async fn send<C: StripeClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: StripeBlockingClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub fn send_blocking<C: StripeBlockingClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
Trait Implementations§
Source§impl Clone for CancelRefund
impl Clone for CancelRefund
Source§fn clone(&self) -> CancelRefund
fn clone(&self) -> CancelRefund
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 CancelRefund
impl Debug for CancelRefund
Source§impl Serialize for CancelRefund
impl Serialize for CancelRefund
Source§impl StripeRequest for CancelRefund
impl StripeRequest for CancelRefund
Source§fn build(&self) -> RequestBuilder
fn build(&self) -> RequestBuilder
Convert the struct into library-agnostic data that can be used by compatible
clients to make API calls.
Source§fn customize(&self) -> CustomizableStripeRequest<Self::Output>
fn customize(&self) -> CustomizableStripeRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for CancelRefund
impl RefUnwindSafe for CancelRefund
impl Send for CancelRefund
impl Sync for CancelRefund
impl Unpin for CancelRefund
impl UnwindSafe for CancelRefund
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