Example #1
0
 /**
  * Prepares the message to be sent
  *
  * This method prepares the message to be sent to the
  * Paypal Webservice
  *
  * @access public
  *
  * @param double $OrderTotal
  * @param string $ReturnURL
  * @param string $CancelURL
  * @param string $PaymentAction Sale or Order
  */
 public function setParams($OrderTotal, $ReturnURL, $CancelURL, $PaymentAction, $currencyID)
 {
     $this->apiMessage = PayPalTypes::SetExpressCheckoutRequestDetailsType($OrderTotal, $ReturnURL, $CancelURL, $PaymentAction, $currencyID);
 }