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: u64Id of the Transaction
status: StringStatus of the Transaction. It can be success, abandoned or failed
reference: StringReference of the Transaction
amount: u32Amount 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: StringResponse from the payment gateway.
paid_at: Option<String>Time the Transaction was completed.
created_at: StringTime the Transaction was created.
channel: StringTransaction channel. It can be card or bank.
currency: StringCurrency 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: CustomerResponseDataTransaction 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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source. Read more