public ACHRecurringSaleParameterList(PayPalLoginAccount loginAccount, string profileName, string acct, decimal amt, DateTime start, int term,
     string payPeriod, string firstName, string lastName, string street, string city, string state, string zipCode, string aba, string accttype)
 {
     TrxType = "R";
     Tender = "A";
     Action = "A";
     ProfileName = profileName;
     PayPeriod = payPeriod;
     FirstName = firstName;
     Acct = acct;
     LastName = lastName;
     Street = street;
     Start = start;
     State = state;
     Term = term;
     City = city;
     Amt = amt;
     ABA = aba;
     Zip = zipCode;
     RetryNumDays = 1;
     MaxFailPayments = 0;
     User = loginAccount.User;
     Pwd = loginAccount.Pwd;
     Vendor = loginAccount.Vendor;
     Partner = loginAccount.Partner;
     Name = firstName;
     AcctType = accttype;
 }
コード例 #2
0
 public CreditCardVoidRequest(PayPalLoginAccount payPalLoginAccount)
 {
     ParmList = new CreditCardVoidParameterList("",payPalLoginAccount,"","",0,"","","","","","","","");
     HostAddress = ConfigurationManager.AppSettings["PayPalHostAddress"];
     HostPort = 443;
     ProxyAddress = "";
     ProxyPort = 0;
     ProxyLogon = "";
     ProxyPassword = "";
     TimeOut = 30;
 }
 private RecurringCreditCardInquiryRequest(PayPalLoginAccount payPalLoginAccount)
 {
     ParmList = new RecurringCreditCardInquiryParameterList(payPalLoginAccount);
     HostAddress = ConfigurationManager.AppSettings["PayPalHostAddress"];
     HostPort = 443;
     ProxyAddress = "";
     ProxyPort = 0;
     ProxyLogon = "";
     ProxyPassword = "";
     TimeOut = 30;
 }
コード例 #4
0
 public ACHCancelParameterList(string origid, PayPalLoginAccount account, string acct,
     decimal amt, string firstName, string lastName, string aba, string accttype, string street, string state, string city, string zipCode)
     : this(origid, account.User, account.Vendor, account.Pwd, account.Partner, acct, amt, firstName, lastName, aba, accttype, street, state, city, zipCode)
 {
 }
 public CreditCardCancelParameterList(string origid, PayPalLoginAccount account, string acct, string expDate,
     decimal amt, string comment1, string comment2, string cvv2, string firstName, string lastName, string street, string state, string zip)
     : this(origid, account.User, account.Vendor, account.Pwd, account.Partner, acct, expDate, amt, comment1, comment2, cvv2, firstName, lastName, street, state, zip)
 {
 }
 public RecurringCreditCardInquiryParameterList(PayPalLoginAccount account)
     : this(account.User, account.Pwd, account.Vendor, account.Partner)
 {
 }
コード例 #7
0
 public CreditCardVoidRequest(PayPalLoginAccount payPalLoginAccount, string membershipId)
     : this(payPalLoginAccount)
 {
     ParmList.Comment1 = membershipId;
 }
 public RecurringCreditCardInquiryRequest(PayPalLoginAccount payPalLoginAccount, string originalProfileId)
     : this(payPalLoginAccount)
 {
     ParmList.PaymentHistory = "N";
     ParmList.OrigProfileId = originalProfileId;
 }
コード例 #9
0
 public ACHSaleRequest(PayPalLoginAccount payPalLoginAccount, string membershipId)
     : this(payPalLoginAccount)
 {
     ParmList.Comment1 = membershipId;
 }