pub struct CreateFundingInstructionsCustomer { /* private fields */ }
Expand description
Retrieve funding instructions for a customer cash balance. If funding instructions do not yet exist for the customer, new. funding instructions will be created. If funding instructions have already been created for a given customer, the same. funding instructions will be retrieved. In other words, we will return the same funding instructions each time.
Implementations§
Source§impl CreateFundingInstructionsCustomer
impl CreateFundingInstructionsCustomer
Sourcepub fn new(
customer: impl Into<CustomerId>,
bank_transfer: impl Into<CreateFundingInstructionsCustomerBankTransfer>,
currency: impl Into<Currency>,
funding_type: impl Into<CreateFundingInstructionsCustomerFundingType>,
) -> Self
pub fn new( customer: impl Into<CustomerId>, bank_transfer: impl Into<CreateFundingInstructionsCustomerBankTransfer>, currency: impl Into<Currency>, funding_type: impl Into<CreateFundingInstructionsCustomerFundingType>, ) -> Self
Construct a new CreateFundingInstructionsCustomer
.
Source§impl CreateFundingInstructionsCustomer
impl CreateFundingInstructionsCustomer
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 CreateFundingInstructionsCustomer
impl Clone for CreateFundingInstructionsCustomer
Source§fn clone(&self) -> CreateFundingInstructionsCustomer
fn clone(&self) -> CreateFundingInstructionsCustomer
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 CreateFundingInstructionsCustomer
impl StripeRequest for CreateFundingInstructionsCustomer
Source§type Output = FundingInstructions
type Output = FundingInstructions
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 CreateFundingInstructionsCustomer
impl RefUnwindSafe for CreateFundingInstructionsCustomer
impl Send for CreateFundingInstructionsCustomer
impl Sync for CreateFundingInstructionsCustomer
impl Unpin for CreateFundingInstructionsCustomer
impl UnwindSafe for CreateFundingInstructionsCustomer
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