Class Purchase
Process IPC method: IPCPurchase. Collect, validate and send API params
- Mypos\IPC\Base
 - 
			
Mypos\IPC\Purchase			
			
			
		 
Methods summary
				 public 
				
				
				
			 | 
			|
				 public 
				
			 | 
			|
				 public 
				string
				
				
			 | 
			|
				 public 
				
			 | 
			|
				 public 
				string
				
				
			 | 
			|
				 public 
				
			 | 
			|
				 public 
				string
				
				
			 | 
			|
				 public 
				
			 | 
			|
				 public 
				
			 | 
			|
				 public 
				
			 | 
			|
				 public 
				
			 | 
			|
				 public 
				
			 | 
			|
				 public 
				string
				
				
			 | 
			|
				 public 
				
			 | 
			|
				 public 
				string
				
				
			 | 
			|
				 public 
				
			 | 
			|
				 public 
				
				
				
			 | 
			|
				 public 
				integer
				
				
			 | 
			|
				 public 
				
				
				
			 | 
			
			#
			 setCardTokenRequest( integer $cardTokenRequest )
			Whether to return Card Token for current client card  | 
		
				 public 
				integer
				
				
			 | 
			
			#
			 getPaymentParametersRequired( )
			Defines the packet of details needed from merchant and client to make payment  | 
		
				 public 
				
				
				
			 | 
			
			#
			 setPaymentParametersRequired( integer $paymentParametersRequired )
			Defines the packet of details needed from merchant and client to make payment  | 
		
				 public 
				boolean
				
				
			 | 
			|
				 public 
				boolean
				
				
			 | 
			
Methods inherited from Mypos\IPC\Base
				_addPostParam(), 
				_processHtmlPost(), 
				_processPost(), 
				getCnf(), 
				getOutputFormat(), 
				isValidSignature(), 
				setCnf(), 
				setOutputFormat()
			
Constants summary
integer | 
				
					
						PURCHASE_TYPE_FULL
					
					 | 
				
					 
						#
						 
				1
					 | 
			
integer | 
				
					
						PURCHASE_TYPE_SIMPLIFIED_CALL
					
					 | 
				
					 
						#
						 
				2
					 | 
			
integer | 
				
					
						PURCHASE_TYPE_SIMPLIFIED_PAYMENT_PAGE
					
					 | 
				
					 
						#
						 
				3
					 | 
			
integer | 
				
					
						CARD_TOKEN_REQUSET_NONE
					
					 | 
				
					 
						#
						 
				0
					 | 
			
integer | 
				
					
						CARD_TOKEN_REQUSET_ONLY_STORE
					
					 | 
				
					 
						#
						 
				1
					 | 
			
integer | 
				
					
						CARD_TOKEN_REQUSET_PAY_AND_STORE
					
					 | 
				
					 
						#
						 
				2
					 |