paymentlib/nswcpp/dto/
otc_payment_request.rs

1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct OtcPaymentRequest {
    pub agency_transaction_id: String,
    pub calling_system: String,
    pub product_description: String,
    pub amount: f64,
    pub counter_reference: String,
    pub csr_id: String,
}