pub struct DedicatedVirtualAccountRequestBuilder { /* private fields */ }
Expand description
Builder for DedicatedVirtualAccountRequest
.
Implementations§
Source§impl DedicatedVirtualAccountRequestBuilder
impl DedicatedVirtualAccountRequestBuilder
Sourcepub fn preferred_bank(&mut self, value: String) -> &mut Self
pub fn preferred_bank(&mut self, value: String) -> &mut Self
The bank slug for preferred bank. To get a list of available banks, use the List Providers endpoint.
Sourcepub fn subaccount(&mut self, value: String) -> &mut Self
pub fn subaccount(&mut self, value: String) -> &mut Self
Subaccount code of the account you want to split the transaction with
Sourcepub fn split_code(&mut self, value: String) -> &mut Self
pub fn split_code(&mut self, value: String) -> &mut Self
Split code consisting of the lists of accounts you want to split the transaction with
Sourcepub fn first_name(&mut self, value: String) -> &mut Self
pub fn first_name(&mut self, value: String) -> &mut Self
Customer’s first name
Sourcepub fn account_number(&mut self, value: String) -> &mut Self
pub fn account_number(&mut self, value: String) -> &mut Self
Customer’s account number
Sourcepub fn bvn(&mut self, value: String) -> &mut Self
pub fn bvn(&mut self, value: String) -> &mut Self
Customer’s Bank Verification Number (Nigeria only)
Sourcepub fn build(
&self,
) -> Result<DedicatedVirtualAccountRequest, DedicatedVirtualAccountRequestBuilderError>
pub fn build( &self, ) -> Result<DedicatedVirtualAccountRequest, DedicatedVirtualAccountRequestBuilderError>
Trait Implementations§
Source§impl Clone for DedicatedVirtualAccountRequestBuilder
impl Clone for DedicatedVirtualAccountRequestBuilder
Source§fn clone(&self) -> DedicatedVirtualAccountRequestBuilder
fn clone(&self) -> DedicatedVirtualAccountRequestBuilder
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 moreAuto Trait Implementations§
impl Freeze for DedicatedVirtualAccountRequestBuilder
impl RefUnwindSafe for DedicatedVirtualAccountRequestBuilder
impl Send for DedicatedVirtualAccountRequestBuilder
impl Sync for DedicatedVirtualAccountRequestBuilder
impl Unpin for DedicatedVirtualAccountRequestBuilder
impl UnwindSafe for DedicatedVirtualAccountRequestBuilder
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