pub struct RefundIssuingTransaction { /* private fields */ }Expand description
Refund a test-mode Transaction.
Implementations§
Source§impl RefundIssuingTransaction
impl RefundIssuingTransaction
Sourcepub fn expand(self, expand: impl Into<Vec<String>>) -> Self
pub fn expand(self, expand: impl Into<Vec<String>>) -> Self
Specifies which fields in the response should be expanded.
Sourcepub fn refund_amount(self, refund_amount: impl Into<i64>) -> Self
pub fn refund_amount(self, refund_amount: impl Into<i64>) -> Self
The total amount to attempt to refund. This amount is in the provided currency, or defaults to the cards currency, and in the smallest currency unit.
Source§impl RefundIssuingTransaction
impl RefundIssuingTransaction
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 RefundIssuingTransaction
impl Clone for RefundIssuingTransaction
Source§fn clone(&self) -> RefundIssuingTransaction
fn clone(&self) -> RefundIssuingTransaction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RefundIssuingTransaction
impl Debug for RefundIssuingTransaction
Source§impl Serialize for RefundIssuingTransaction
impl Serialize for RefundIssuingTransaction
Source§impl StripeRequest for RefundIssuingTransaction
impl StripeRequest for RefundIssuingTransaction
Source§type Output = IssuingTransaction
type Output = IssuingTransaction
The data returned from the eventual API call.
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 RefundIssuingTransaction
impl RefUnwindSafe for RefundIssuingTransaction
impl Send for RefundIssuingTransaction
impl Sync for RefundIssuingTransaction
impl Unpin for RefundIssuingTransaction
impl UnsafeUnpin for RefundIssuingTransaction
impl UnwindSafe for RefundIssuingTransaction
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