/*
* Core
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2023-08-01
* Contact: core@stedi.com
* Generated by: https://openapi-generator.tech
*/
use crate::core::models;
use serde::{Deserialize, Serialize};
/// X12TransactionSetting : The IDs for the guide and transaction setting Stedi used to process the transaction.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct X12TransactionSetting {
/// The unique identifier for the Stedi guide used to process the transaction. Stedi guides are machine-readable specifications for X12 EDI transactions. They describe how to structure and validate EDI files for each transaction type.
#[serde(rename = "guideId", skip_serializing_if = "Option::is_none")]
pub guide_id: Option<String>,
/// The unique identifier for the transaction setting Stedi used to process the transaction. Transaction settings configure how Stedi processes specific transaction types, such as which Stedi guide to use and other processing options. If you're using the Stedi clearinghouse, Stedi automatically configures the required transaction settings for you when you set up your account.
#[serde(rename = "transactionSettingId", skip_serializing_if = "Option::is_none")]
pub transaction_setting_id: Option<String>,
}
impl X12TransactionSetting {
/// The IDs for the guide and transaction setting Stedi used to process the transaction.
pub fn new() -> X12TransactionSetting {
X12TransactionSetting {
guide_id: None,
transaction_setting_id: None,
}
}
}