pub struct DedicatedVirtualAccountRequest {
pub customer: String,
pub preferred_bank: Option<String>,
pub subaccount: Option<String>,
pub split_code: Option<String>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub phone: Option<String>,
pub email: Option<String>,
pub country: Option<String>,
pub account_number: Option<String>,
pub bvn: Option<String>,
pub bank_code: Option<String>,
}
Fields§
§customer: String
Customer ID or Code
preferred_bank: Option<String>
The bank slug for preferred bank. To get a list of available banks, use the List Providers endpoint.
subaccount: Option<String>
Subaccount code of the account you want to split the transaction with
split_code: Option<String>
Split code consisting of the lists of accounts you want to split the transaction with
first_name: Option<String>
Customer’s first name
last_name: Option<String>
Customer’s last name
phone: Option<String>
Customer’s phone number
email: Option<String>
Customer’s email address
country: Option<String>
Currently accepts NG and GH only
account_number: Option<String>
Customer’s account number
bvn: Option<String>
Customer’s Bank Verification Number (Nigeria only)
bank_code: Option<String>
Customer’s bank code
Trait Implementations§
Source§impl Clone for DedicatedVirtualAccountRequest
impl Clone for DedicatedVirtualAccountRequest
Source§fn clone(&self) -> DedicatedVirtualAccountRequest
fn clone(&self) -> DedicatedVirtualAccountRequest
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 Default for DedicatedVirtualAccountRequest
impl Default for DedicatedVirtualAccountRequest
Source§fn default() -> DedicatedVirtualAccountRequest
fn default() -> DedicatedVirtualAccountRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DedicatedVirtualAccountRequest
impl<'de> Deserialize<'de> for DedicatedVirtualAccountRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DedicatedVirtualAccountRequest
impl RefUnwindSafe for DedicatedVirtualAccountRequest
impl Send for DedicatedVirtualAccountRequest
impl Sync for DedicatedVirtualAccountRequest
impl Unpin for DedicatedVirtualAccountRequest
impl UnwindSafe for DedicatedVirtualAccountRequest
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