Struct paystack::TransactionStatusData
source · pub struct TransactionStatusData {Show 15 fields
pub id: Option<u32>,
pub status: Option<String>,
pub reference: Option<String>,
pub amount: Option<u32>,
pub message: Option<String>,
pub gateway_response: Option<String>,
pub paid_at: Option<String>,
pub created_at: Option<String>,
pub channel: Option<String>,
pub currency: Option<String>,
pub ip_address: Option<String>,
pub metadata: Option<String>,
pub fees: Option<i32>,
pub customer: Option<Customer>,
pub authorization: Option<Authorization>,
}
Expand description
This struct represents the data of the transaction status response.
Fields§
§id: Option<u32>
Id of the Transaction
status: Option<String>
Status of the Transaction. It can be success
, abadoned
or failed
reference: Option<String>
Reference of the Transaction
amount: Option<u32>
Amount of the transaction in the lowest denomination of the currency e.g. Kobo for NGN and cent for USD.
message: Option<String>
Message from the transaction.
gateway_response: Option<String>
Response from the paymeent gateway.
paid_at: Option<String>
Time the Transaction was completed.
created_at: Option<String>
Time the Transaction was created.
channel: Option<String>
Transaction channel. It can be card
or bank
.
currency: Option<String>
Currency code of the Transaction e.g. NGN for Nigerian Naira
and USD for US Dollar
.
ip_address: Option<String>
IP address of the computers the Transaction has passed through.
metadata: Option<String>
Meta data associated with the Transaction.
fees: Option<i32>
Transaction fees to overide the default fees specified in the integration.
customer: Option<Customer>
Transaction customer data.
Transaction authorization data.
Trait Implementations§
source§impl Clone for TransactionStatusData
impl Clone for TransactionStatusData
source§fn clone(&self) -> TransactionStatusData
fn clone(&self) -> TransactionStatusData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more