namespace Yavsc
{
///
/// PayPal NV/SOAP API Credentials
///
public class PayPalSettings {
///
/// supported values: sandbox or production
///
///
public string Mode { get; set; }
///
/// Client Id using the REST API
///
public string ClientId { get; set; }
///
/// Client Secret using the REST API
///
///
public string ClientSecret { get; set; }
///
/// Application Id using the REST API
///
///
public string ApplicationId { get; set; }
///
/// Get it from your PayPal Business profile settings
///
///
public string MerchantAccountId { get; set; }
///
/// Merchant PayPal Classic Api user name
///
///
public string MerchantAccountUserName { get; set; }
///
/// PayPal Classic Api credentials model
///
public class ClassicPayPalAccountApiCredential {
public string Signature { get; set; }
public string ApiUsername { get; set; }
public string ApiPassword { get; set; }
}
///
/// Live access is configured at:
/// https://www.paypal.com/businessprofile/mytools/apiaccess
///
public ClassicPayPalAccountApiCredential[] Accounts { get; set; }
}
}