mtnmomo 0.1.9

MTN Momo Payment API for Rust, with support for both the Sandbox and Production environments. All products are supported: Collections, Disbursements and Remittances.
Documentation
#[doc(hidden)]
use serde::{Deserialize, Serialize};

use crate::structs::party::Party;

#[derive(Debug, Serialize, Deserialize)]
pub struct InvoiceResult {
    #[serde(rename = "referenceId")]
    pub reference_id: String,
    #[serde(rename = "externalId")]
    pub external_id: String,
    pub amount: String,
    pub currency: String,
    pub status: String,
    #[serde(rename = "paymentReference")]
    pub payment_reference: String,
    #[serde(rename = "invoiceId")]
    pub invoice_id: String,
    #[serde(rename = "expiryDateTime")]
    pub expiry_date_time: String,
    #[serde(rename = "intendedPayer")]
    pub intended_payer: Party,
    pub description: String,
}