tktax-amazon 0.2.2

High-performance crate for parsing, fusing, and exporting Amazon transaction data for financial recordkeeping.
Documentation
// ---------------- [ File: tktax-amazon/src/config.rs ]
crate::ix!();

/// if we provide this struct, we need all three fields.
///
/// if this is provided, we will fuse epoch1file and
/// epoch2fle into the resulting txfile
///
#[derive(Getters,Debug,Clone,Deserialize)]
#[getset(get="pub")]
pub struct AmazonConfig {

    /// txfile specifies a CSV file (to be generated)
    ///
    /// each row will be deserialized from an AmazonTx
    ///
    txfile:     String,

    /// epoch1file should specify a CSV file where the
    /// fields deserialize from an AmazonTx1
    ///
    epoch1file: String,

    /// epoch2file should specify a CSV file where the
    /// fields deserialize from an AmazonTx2
    ///
    epoch2file: String,
}