plaid 9.0.1

Plaid client, generated from the OpenAPI spec.
Documentation
#![allow(unused_imports)]
use plaid::model::*;
use plaid::PlaidClient;
#[tokio::main]
async fn main() {
    let client = PlaidClient::from_env();
    let originator_client_id = "your originator client id";
    let originator_diligence = TransferOriginatorDiligence {
        address: TransferOriginatorAddress {
            city: "your city".to_owned(),
            country_code: "your country code".to_owned(),
            postal_code: "your postal code".to_owned(),
            region: "your region".to_owned(),
            street: "your street".to_owned(),
        },
        credit_usage_configuration: Some(TransferCreditUsageConfiguration {
            expected_average_amount: "your expected average amount".to_owned(),
            expected_frequency: OriginatorExpectedTransferFrequency::OncePerMonth,
            expected_highest_amount: "your expected highest amount".to_owned(),
            expected_monthly_amount: "your expected monthly amount".to_owned(),
            sec_codes: vec![CreditAchClass::Ccd],
        }),
        dba: "your dba".to_owned(),
        debit_usage_configuration: Some(TransferDebitUsageConfiguration {
            expected_average_amount: "your expected average amount".to_owned(),
            expected_frequency: OriginatorExpectedTransferFrequency::OncePerMonth,
            expected_highest_amount: "your expected highest amount".to_owned(),
            expected_monthly_amount: "your expected monthly amount".to_owned(),
            sec_codes: vec![AchClass::Ccd],
        }),
        funding_account: TransferFundingAccount {
            access_token: "your access token".to_owned(),
            account_id: "your account id".to_owned(),
        },
        naics_code: "your naics code".to_owned(),
        tax_id: "your tax id".to_owned(),
        website: "your website".to_owned(),
    };
    let response = client
        .transfer_diligence_submit(originator_client_id, originator_diligence)
        .await
        .unwrap();
    println!("{:#?}", response);
}