in order to build 1.0.5-rc20-alpha5, an alpha6 * moves again the db context from server lib to main assembly, since migrations are not written correctly in these conditions. * fixing dep graph, while moving as must as possible code from Yavsc to Yavsc.Server * impoved topmost Makefile * cleaned the badly desined, ans system redondant "Action" definiton * reoganized some source code file locations
58 lines
1.7 KiB
C#
58 lines
1.7 KiB
C#
namespace Yavsc
|
|
{
|
|
/// <summary>
|
|
/// PayPal NV/SOAP API Credentials
|
|
/// </summary>
|
|
public class PayPalSettings {
|
|
/// <summary>
|
|
/// supported values: <c>sandbox</c> or <c>production</c>
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public string Mode { get; set; }
|
|
/// <summary>
|
|
/// Client Id using the REST API
|
|
/// </summary>
|
|
public string ClientId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Client Secret using the REST API
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public string ClientSecret { get; set; }
|
|
/// <summary>
|
|
/// Application Id using the REST API
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public string ApplicationId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get it from your PayPal Business profile settings
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public string MerchantAccountId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Merchant PayPal Classic Api user name
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public string MerchantAccountUserName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// PayPal Classic Api credentials model
|
|
/// </summary>
|
|
public class ClassicPayPalAccountApiCredential {
|
|
public string Signature { get; set; }
|
|
public string ApiUsername { get; set; }
|
|
public string ApiPassword { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Live access is configured at:
|
|
/// https://www.paypal.com/businessprofile/mytools/apiaccess
|
|
/// </summary>
|
|
public ClassicPayPalAccountApiCredential[] Accounts { get; set; }
|
|
|
|
}
|
|
}
|