Skip to content

Commit

Permalink
re-add wrongly remvoe method and set them deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
drealecs committed Jun 15, 2016
1 parent f17d54f commit 2531fcc
Showing 1 changed file with 52 additions and 1 deletion.
53 changes: 52 additions & 1 deletion src/PayU/Alu/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,16 @@ class Order
*/
private $customParams = array();

/**
* @var boolean
*/
private $luEnabledToken;

/**
* @var string
*/
private $luTokenType;

/**
* @var string
*/
Expand Down Expand Up @@ -227,6 +237,46 @@ public function getInstallmentsNumber()
return $this->installmentsNumber;
}

/**
* @deprecated This method will be removed in a later version. You should use Card::enableTokenCreation() to enable token creation.
* @param boolean $luEnabledToken
* @return $this
*/
public function withLuEnabledToken($luEnabledToken)
{
$this->luEnabledToken = $luEnabledToken;
return $this;
}

/**
* @deprecated see withLuEnabledToken()
* @return boolean
*/
public function getLuEnabledToken()
{
return $this->luEnabledToken;
}

/**
* @deprecated see withLuEnabledToken()
* @param string $luTokenType
* @return $this
*/
public function withLuTokenType($luTokenType)
{
$this->luTokenType = $luTokenType;
return $this;
}

/**
* @deprecated see withLuEnabledToken()
* @return string
*/
public function getLuTokenType()
{
return $this->luTokenType;
}

/**
* @param string $orderDate
* @return $this
Expand Down Expand Up @@ -402,7 +452,8 @@ public function withCampaignType($campaignType)
/**
* @return string
*/
public function getCampaignType() {
public function getCampaignType()
{
return $this->campaignType;
}

Expand Down

0 comments on commit 2531fcc

Please sign in to comment.