public DoExpressCheckoutPaymentOperation( ExpressCheckoutApi ec , string token , string payerid , PaymentAction action ) :base( ec ) {
			RequestNVP.Method = "DoExpressCheckoutPayment";
			Token = token;
			PayerId = payerid;
			
			PaymentRequest(0).Action = action;
		}
コード例 #2
0
		public PaymentRequest ( ExpressCheckoutApi.Operation o , int n ) {
			this.o = o;
			this.n = n;
			this.m = 0;

			Action = PaymentAction.SALE;
		}
コード例 #3
0
        public DoExpressCheckoutPaymentOperation(ExpressCheckoutApi ec, string token, string payerid, PaymentAction action) : base(ec)
        {
            RequestNVP.Method = "DoExpressCheckoutPayment";
            Token             = token;
            PayerId           = payerid;

            PaymentRequest(0).Action = action;
        }
コード例 #4
0
		public Cart () {
			items = new List<Item>();
			ec = PayPalApiFactory.instance.ExpressCheckout(
				"neto_1306507007_biz_api1.gmail.com",
				"1306507019",
				"Al8n1.tt9Sniswt8UZvcamFvsXYEAegNpyX63HRdtqJVff7rESMSQ3qN"
			);
			
			populate();
		}
コード例 #5
0
 public GetExpressCheckoutDetailsOperation(ExpressCheckoutApi ec, string token) : base(ec)
 {
     RequestNVP.Method = "GetExpressCheckoutDetails";
     Token             = token;
 }
コード例 #6
0
 public SetExpressCheckoutOperation(ExpressCheckoutApi ec, string returnURL, string cancelURL) : base(ec)
 {
     RequestNVP.Method = "SetExpressCheckout";
     ReturnURL         = returnURL;
     CancelURL         = cancelURL;
 }
コード例 #7
0
 public OperationWithPaymentRequest(ExpressCheckoutApi ec) : base(ec)
 {
 }
コード例 #8
0
            public Operation(ExpressCheckoutApi ec)
            {
                this.ec = ec;

                requestNVP = ec.createNVP();
            }
コード例 #9
0
			public OperationWithPaymentRequest( ExpressCheckoutApi ec ) :base( ec ) {}
コード例 #10
0
			public Operation( ExpressCheckoutApi ec ) {
				this.ec = ec;

				requestNVP = ec.createNVP();
			}
		public GetExpressCheckoutDetailsOperation( ExpressCheckoutApi ec , string token ) :base( ec ) {
			RequestNVP.Method = "GetExpressCheckoutDetails";
			Token = token;
		}
		public SetExpressCheckoutOperation( ExpressCheckoutApi ec , string returnURL , string cancelURL ) :base( ec ) {
			RequestNVP.Method = "SetExpressCheckout";
			ReturnURL = returnURL;
			CancelURL = cancelURL;
		}