mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-13 22:06:29 +01:00
26 lines
757 B
C#
26 lines
757 B
C#
using TINK.Services.CopriApi.ServerUris;
|
|
|
|
namespace TINK.ViewModel.CopriWebView
|
|
{
|
|
public class RegisterPageViewModel
|
|
{
|
|
/// <summary> Holds the merchant id.</summary>
|
|
private string MerchantId { get; }
|
|
|
|
/// <summary> Holds the name of the host.</summary>
|
|
private string HostName { get; }
|
|
|
|
public RegisterPageViewModel(
|
|
string merchantId,
|
|
string hostName)
|
|
{
|
|
HostName = hostName;
|
|
MerchantId = merchantId;
|
|
}
|
|
|
|
/// <summary>Get Uri of web view for creating account.</summary>
|
|
public string Uri =>
|
|
$"https://{HostName}/{HostName.GetAppFolderName()}/Account/1.%20Kundendaten?sessionid={MerchantId}";
|
|
|
|
}
|
|
}
|