Struct paystack::PartialDebitTransaction
source · pub struct PartialDebitTransaction { /* private fields */ }Expand description
This struct is used to create a partial debit transaction body for creating a partial debit using the Paystack API.
IMPORTANT: This class can only be created using the PartialDebitTransactionBuilder.
The struct has the following fields: - authorization_code: Authorization Code for the transaction - amount: Amount should be in the smallest unit of the currency e.g. kobo if in NGN and cents if in USD - email: Customer’s email address - currency : Currency in which amount should be charged (NGN, GHS, ZAR or USD). Defaults to your integration currency. - reference (Optional): Unique transaction reference. - at_least: Minimum amount to charge
Trait Implementations§
source§impl Clone for PartialDebitTransaction
impl Clone for PartialDebitTransaction
source§fn clone(&self) -> PartialDebitTransaction
fn clone(&self) -> PartialDebitTransaction
Returns a copy 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 PartialDebitTransaction
impl Debug for PartialDebitTransaction
source§impl Default for PartialDebitTransaction
impl Default for PartialDebitTransaction
source§fn default() -> PartialDebitTransaction
fn default() -> PartialDebitTransaction
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PartialDebitTransaction
impl Send for PartialDebitTransaction
impl Sync for PartialDebitTransaction
impl Unpin for PartialDebitTransaction
impl UnwindSafe for PartialDebitTransaction
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