Re-fabrication
This commit is contained in:
parent
f155a47073
commit
cb6309abdb
499 changed files with 7574 additions and 12530 deletions
57
Yavsc.Server/Settings/PayPalSettings.cs
Normal file
57
Yavsc.Server/Settings/PayPalSettings.cs
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
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; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue