mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 10:36:30 +01:00
22 lines
663 B
C#
22 lines
663 B
C#
using System;
|
|
|
|
namespace TINK.Services.CopriApi
|
|
{
|
|
/// <summary> Holds general purpose data returned from COPRI. </summary>
|
|
public class GeneralData
|
|
{
|
|
|
|
public GeneralData(string merachantMessage = null, Version apiVersion = null)
|
|
{
|
|
MerchantMessage = merachantMessage ?? string.Empty;
|
|
ApiVersion = apiVersion ?? new Version(0, 0);
|
|
|
|
}
|
|
|
|
/// <summary> Message to be shown to user.</summary>
|
|
public string MerchantMessage { get; private set; }
|
|
|
|
/// <summary> Version of COPRI api. 0.0 if version is not set</summary>
|
|
public Version ApiVersion { get; private set; }
|
|
}
|
|
}
|