yavsc/Yavsc/Settings/PayPalSettings.cs

30 lines
926 B
C#
Raw Normal View History

2016-05-17 18:22:18 +02:00
namespace Yavsc
{
2017-05-24 23:36:49 +02:00
/// <summary>
/// PayPal NV/SOAP API Credentials
/// </summary>
2016-05-17 18:22:18 +02:00
public class PayPalSettings {
2017-05-24 23:36:49 +02:00
/// <summary>
/// supported values: <c>sandbox</c> or <c>production</c>
/// </summary>
/// <returns></returns>
2017-05-05 23:37:07 +02:00
public string Mode { get; set; }
2017-05-24 23:36:49 +02:00
/// <summary>
///
/// </summary>
2017-05-05 23:37:07 +02:00
public string ClientId { get; set; }
2017-05-24 23:36:49 +02:00
/// <summary>
/// For sandbox only?
/// </summary>
/// <returns></returns>
public string ClientSecret { get; set; }
public string ApplicationId { get; set; }
public class ClassicPayPalAccountApiCredential {
public string Signature { get; set; }
public string ApiUsername { get; set; }
public string ApiPassword { get; set; }
2017-05-05 23:37:07 +02:00
2017-05-24 23:36:49 +02:00
}
public ClassicPayPalAccountApiCredential[] Accounts { get; set; }
2016-05-17 18:22:18 +02:00
}
2017-05-05 23:37:07 +02:00
}