pub struct B2bExpressRequestArgs { /* private fields */ }
Expand description
Builder for B2bExpressRequest
.
Implementations§
Source§impl B2bExpressRequestArgs
impl B2bExpressRequestArgs
pub fn primaryShortCode<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn receiverShortCode<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn amount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn paymentRef<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn CallBackUrl<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn partnerName<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn RequestRefID<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<B2bExpressRequest, B2bExpressRequestArgsError>
pub fn build(&self) -> Result<B2bExpressRequest, B2bExpressRequestArgsError>
Trait Implementations§
Source§impl Clone for B2bExpressRequestArgs
impl Clone for B2bExpressRequestArgs
Source§fn clone(&self) -> B2bExpressRequestArgs
fn clone(&self) -> B2bExpressRequestArgs
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 Debug for B2bExpressRequestArgs
impl Debug for B2bExpressRequestArgs
Auto Trait Implementations§
impl Freeze for B2bExpressRequestArgs
impl RefUnwindSafe for B2bExpressRequestArgs
impl Send for B2bExpressRequestArgs
impl Sync for B2bExpressRequestArgs
impl Unpin for B2bExpressRequestArgs
impl UnwindSafe for B2bExpressRequestArgs
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