using System;
namespace TINK.Services.CopriApi
{
/// Holds general purpose data returned from COPRI.
public class GeneralData
{
public GeneralData(string merachantMessage = null, Version apiVersion = null)
{
MerchantMessage = merachantMessage ?? string.Empty;
ApiVersion = apiVersion ?? new Version(0, 0);
}
/// Message to be shown to user.
public string MerchantMessage { get; private set; }
/// Version of COPRI api. 0.0 if version is not set
public Version ApiVersion { get; private set; }
}
}