Location: PHPKode > projects > GnomePHP > peec-GnomePHP-b5a360b/gnomephp/paypal/PayPalOrderModel.php
<?php
namespace gnomephp\paypal;

use gnomephp\doctrine\Doctrine;

/**
 *
 * Generic order model, you must extend this in your application for any use.
 *
 *
 * @MappedSuperclass
 */
class PayPalOrderModel{

	/**
	 *
	 * @Id @Column(type="integer") @GeneratedValue
	 */
	protected $orderId;


	/**
	 *
	 * @Column(type="string", nullable=false, unique=true)
	 */
	protected $txnId;

	/**
	 *
	 * @Column(type="string", nullable=false)
	 */
	protected $payerEmail;


	/**
	 *
	 * @Column(type="decimal", nullable=false)
	 */
	protected $mcGross;

	/**
	 *
	 * @Column(type="string", nullable=false)
	 */
	protected $mcCurrency;
	
	
	
	
	public function __construct($txnId, $payerEmail, $mcGross, $mcCurrency){
		$this->txnId = $txnId;
		$this->payerEmail = $payerEmail;
		$this->mcGross = $mcGross;
		$this->mcCurrency = $mcCurrency;
	}
	
	
	



}
Return current item: GnomePHP