You are here

class PayPalPaymentIPN in PayPal for Payment 7

A PayPal IPN.

Hierarchy

Expanded class hierarchy of PayPalPaymentIPN

See also

PayPalPaymentIPNController

paypal_payment_schema()

File

paypal_payment_ipn/includes/PayPalPaymentIPN.inc, line 13

View source
class PayPalPaymentIPN {

  /**
   * The PID of the Payment this IPN is for.
   *
   * @see PayPalPaymentIPNController::invoiceID()
   * @see PayPalPaymentIPNController::PID()
   *
   * @var string
   */
  public $pid = 0;

  /**
   * The PayPal transaction ID.
   *
   * @var string
   */
  public $txn_id = '';

  /**
   * The payment status item ID.
   *
   * @var string
   */
  public $psiid = 0;

  /**
   * Constructs a new instance.
   */
  public function __construct(array $properties = array()) {
    foreach ($properties as $property => $value) {
      $this->{$property} = $value;
    }
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PayPalPaymentIPN::$pid public property The PID of the Payment this IPN is for.
PayPalPaymentIPN::$psiid public property The payment status item ID.
PayPalPaymentIPN::$txn_id public property The PayPal transaction ID.
PayPalPaymentIPN::__construct public function Constructs a new instance.