Struct paystack::TransactionSplit
source · pub struct TransactionSplit { /* private fields */ }Expand description
This struct is used to create a split payment on your integration.
IMPORTANT: This class can obly be created using the TransactionSplitBuilder. THe struct has the following fields: - name: Name of the transaction split - type: The type of transaction split you want to create. You can use one of the following: percentage | flat. - currency: Any of NGN, GHS, ZAR, or USD - subaccounts: A list of object containing subaccount code and number of shares - bearer_type: Any of subaccount | account | all-proportional | all - bearer_subaccount: Subaccount code
Trait Implementations§
source§impl Debug for TransactionSplit
impl Debug for TransactionSplit
source§impl Default for TransactionSplit
impl Default for TransactionSplit
source§fn default() -> TransactionSplit
fn default() -> TransactionSplit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TransactionSplit
impl Send for TransactionSplit
impl Sync for TransactionSplit
impl Unpin for TransactionSplit
impl UnwindSafe for TransactionSplit
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