You are here

class PayPalPaymentECAuthentication in PayPal for Payment 7

PayPal Express Checkout authentication.

Hierarchy

Expanded class hierarchy of PayPalPaymentECAuthentication

1 string reference to 'PayPalPaymentECAuthentication'
PayPalPaymentECPaymentMethodController::loadAuthentication in paypal_payment_ec/includes/PayPalPaymentECPaymentMethodController.inc
Loads authentication information.

File

paypal_payment_ec/includes/PayPalPaymentECAuthentication.inc, line 10

View source
class PayPalPaymentECAuthentication {

  /**
   * The date and time at which the token was generated.
   *
   * @var integer
   *   A UNIX timestamp.
   */
  public $created;

  /**
   * The ID of the PayPal payer.
   *
   * @var string
   */
  public $payerID = '';

  /**
   * The PID of the Payment this is for.
   *
   * @var integer
   */
  public $pid = 0;

  /**
   * The token.
   *
   * @var string
   */
  public $token;

  /**
   * Constructs a new class instance.
   *
   * @param string $token
   *   See self::$token.
   * @param int $created
   *   See self::$created.
   * @param int $pid
   *   See self::$pid.
   */
  public function __construct($token = NULL, $created = NULL, $pid = 0) {
    $this->created = $created;
    $this->pid = $pid;
    $this->token = $token;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PayPalPaymentECAuthentication::$created public property The date and time at which the token was generated.
PayPalPaymentECAuthentication::$payerID public property The ID of the PayPal payer.
PayPalPaymentECAuthentication::$pid public property The PID of the Payment this is for.
PayPalPaymentECAuthentication::$token public property The token.
PayPalPaymentECAuthentication::__construct public function Constructs a new class instance.