/*
 * VRChat API Documentation
 *
 *
 * Contact: me@ariesclark.com
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct TransactionSteamInfo {
    #[serde(rename = "walletInfo")]
    pub wallet_info: Box<crate::models::TransactionSteamWalletInfo>,
    /// Steam User ID
    #[serde(rename = "steamId")]
    pub steam_id: String,
    /// Steam Order ID
    #[serde(rename = "orderId")]
    pub order_id: String,
    /// Empty
    #[serde(rename = "steamUrl")]
    pub steam_url: String,
    /// Steam Transaction ID, NOT the same as VRChat TransactionID
    #[serde(rename = "transId")]
    pub trans_id: String,
}

impl TransactionSteamInfo {
    pub fn new(wallet_info: crate::models::TransactionSteamWalletInfo, steam_id: String, order_id: String, steam_url: String, trans_id: String) -> TransactionSteamInfo {
        TransactionSteamInfo {
            wallet_info: Box::new(wallet_info),
            steam_id,
            order_id,
            steam_url,
            trans_id,
        }
    }
}


