paymentlib/nswcpp/dto/
contact_center_payment_completion_call.rsuse crate::nswcpp::enums::status::Status;
use crate::nswcpp::jsonb::gateway_response::GatewayResponse;
use crate::nswcpp::jsonb::payment_components::PaymentComponents;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct ContactCenterPaymentCompletionCall {
pub payment_reference: String,
pub status: Status,
pub payment_completion_reference: String,
pub requested_amount: f64,
pub amount: f64,
pub total_surcharge_amount: f64,
pub is_recurring_payment: bool,
pub payment_components: Vec<PaymentComponents>,
pub agency_transaction_id: String,
pub calling_system: String,
pub customer_reference: String,
pub gateway_response: Vec<GatewayResponse>,
}