pub struct VerifyMicrodepositsPaymentIntent { /* private fields */ }
Expand description
Verifies microdeposits on a PaymentIntent object.
Implementations§
Source§impl VerifyMicrodepositsPaymentIntent
impl VerifyMicrodepositsPaymentIntent
Sourcepub fn new(intent: impl Into<PaymentIntentId>) -> Self
pub fn new(intent: impl Into<PaymentIntentId>) -> Self
Construct a new VerifyMicrodepositsPaymentIntent
.
Sourcepub fn amounts(self, amounts: impl Into<Vec<i64>>) -> Self
pub fn amounts(self, amounts: impl Into<Vec<i64>>) -> Self
Two positive integers, in cents, equal to the values of the microdeposits sent to the bank account.
Sourcepub fn descriptor_code(self, descriptor_code: impl Into<String>) -> Self
pub fn descriptor_code(self, descriptor_code: impl Into<String>) -> Self
A six-character code starting with SM present in the microdeposit sent to the bank account.
Source§impl VerifyMicrodepositsPaymentIntent
impl VerifyMicrodepositsPaymentIntent
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 VerifyMicrodepositsPaymentIntent
impl Clone for VerifyMicrodepositsPaymentIntent
Source§fn clone(&self) -> VerifyMicrodepositsPaymentIntent
fn clone(&self) -> VerifyMicrodepositsPaymentIntent
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 StripeRequest for VerifyMicrodepositsPaymentIntent
impl StripeRequest for VerifyMicrodepositsPaymentIntent
Source§type Output = PaymentIntent
type Output = PaymentIntent
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 VerifyMicrodepositsPaymentIntent
impl RefUnwindSafe for VerifyMicrodepositsPaymentIntent
impl Send for VerifyMicrodepositsPaymentIntent
impl Sync for VerifyMicrodepositsPaymentIntent
impl Unpin for VerifyMicrodepositsPaymentIntent
impl UnwindSafe for VerifyMicrodepositsPaymentIntent
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