pub struct TransactionStatusData {Show 15 fields
pub id: u64,
pub status: String,
pub reference: String,
pub amount: u32,
pub message: Option<String>,
pub gateway_response: String,
pub paid_at: Option<String>,
pub created_at: String,
pub channel: String,
pub currency: String,
pub ip_address: Option<String>,
pub metadata: Option<String>,
pub fees: Option<i32>,
pub customer: CustomerResponseData,
pub authorization: Authorization,
}
Expand description
This struct represents the data of the transaction status response.
Fields§
§id: u64
Id of the Transaction
status: String
Status of the Transaction. It can be success
, abandoned
or failed
reference: String
Reference of the Transaction
amount: 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: String
Response from the payment gateway.
paid_at: Option<String>
Time the Transaction was completed.
created_at: String
Time the Transaction was created.
channel: String
Transaction channel. It can be card
or bank
.
currency: 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 override the default fees specified in the integration.
customer: CustomerResponseData
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