forked from LiveCarta/PayPal-PHP-SDK
Removed Deprecated Getter and Setters
- Removed Deprecated Getter Setters from all Model Classes - All Camelcase getters and setters are removed. Please use first letter uppercase syntax - E.g. instead of using get_notify_url(), use getNotifyUrl() instead
This commit is contained in:
@@ -47,31 +47,6 @@ class AgreementTransaction extends PayPalModel
|
||||
return $this->transaction_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Id corresponding to this transaction.
|
||||
*
|
||||
* @deprecated Instead use setTransactionId
|
||||
*
|
||||
* @param string $transaction_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setTransaction_id($transaction_id)
|
||||
{
|
||||
$this->transaction_id = $transaction_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Id corresponding to this transaction.
|
||||
* @deprecated Instead use getTransactionId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTransaction_id()
|
||||
{
|
||||
return $this->transaction_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* State of the subscription at this time.
|
||||
*
|
||||
@@ -118,31 +93,6 @@ class AgreementTransaction extends PayPalModel
|
||||
return $this->transaction_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of transaction, usually Recurring Payment.
|
||||
*
|
||||
* @deprecated Instead use setTransactionType
|
||||
*
|
||||
* @param string $transaction_type
|
||||
* @return $this
|
||||
*/
|
||||
public function setTransaction_type($transaction_type)
|
||||
{
|
||||
$this->transaction_type = $transaction_type;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of transaction, usually Recurring Payment.
|
||||
* @deprecated Instead use getTransactionType
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTransaction_type()
|
||||
{
|
||||
return $this->transaction_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Amount for this transaction.
|
||||
*
|
||||
@@ -189,31 +139,6 @@ class AgreementTransaction extends PayPalModel
|
||||
return $this->fee_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fee amount for this transaction.
|
||||
*
|
||||
* @deprecated Instead use setFeeAmount
|
||||
*
|
||||
* @param \PayPal\Api\Currency $fee_amount
|
||||
* @return $this
|
||||
*/
|
||||
public function setFee_amount($fee_amount)
|
||||
{
|
||||
$this->fee_amount = $fee_amount;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fee amount for this transaction.
|
||||
* @deprecated Instead use getFeeAmount
|
||||
*
|
||||
* @return \PayPal\Api\Currency
|
||||
*/
|
||||
public function getFee_amount()
|
||||
{
|
||||
return $this->fee_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Net amount for this transaction.
|
||||
*
|
||||
@@ -237,31 +162,6 @@ class AgreementTransaction extends PayPalModel
|
||||
return $this->net_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Net amount for this transaction.
|
||||
*
|
||||
* @deprecated Instead use setNetAmount
|
||||
*
|
||||
* @param \PayPal\Api\Currency $net_amount
|
||||
* @return $this
|
||||
*/
|
||||
public function setNet_amount($net_amount)
|
||||
{
|
||||
$this->net_amount = $net_amount;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Net amount for this transaction.
|
||||
* @deprecated Instead use getNetAmount
|
||||
*
|
||||
* @return \PayPal\Api\Currency
|
||||
*/
|
||||
public function getNet_amount()
|
||||
{
|
||||
return $this->net_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Email id of payer.
|
||||
*
|
||||
@@ -285,31 +185,6 @@ class AgreementTransaction extends PayPalModel
|
||||
return $this->payer_email;
|
||||
}
|
||||
|
||||
/**
|
||||
* Email id of payer.
|
||||
*
|
||||
* @deprecated Instead use setPayerEmail
|
||||
*
|
||||
* @param string $payer_email
|
||||
* @return $this
|
||||
*/
|
||||
public function setPayer_email($payer_email)
|
||||
{
|
||||
$this->payer_email = $payer_email;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Email id of payer.
|
||||
* @deprecated Instead use getPayerEmail
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPayer_email()
|
||||
{
|
||||
return $this->payer_email;
|
||||
}
|
||||
|
||||
/**
|
||||
* Business name of payer.
|
||||
*
|
||||
@@ -333,31 +208,6 @@ class AgreementTransaction extends PayPalModel
|
||||
return $this->payer_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Business name of payer.
|
||||
*
|
||||
* @deprecated Instead use setPayerName
|
||||
*
|
||||
* @param string $payer_name
|
||||
* @return $this
|
||||
*/
|
||||
public function setPayer_name($payer_name)
|
||||
{
|
||||
$this->payer_name = $payer_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Business name of payer.
|
||||
* @deprecated Instead use getPayerName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPayer_name()
|
||||
{
|
||||
return $this->payer_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Time at which this transaction happened.
|
||||
*
|
||||
@@ -381,31 +231,6 @@ class AgreementTransaction extends PayPalModel
|
||||
return $this->time_updated;
|
||||
}
|
||||
|
||||
/**
|
||||
* Time at which this transaction happened.
|
||||
*
|
||||
* @deprecated Instead use setTimeUpdated
|
||||
*
|
||||
* @param string $time_updated
|
||||
* @return $this
|
||||
*/
|
||||
public function setTime_updated($time_updated)
|
||||
{
|
||||
$this->time_updated = $time_updated;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Time at which this transaction happened.
|
||||
* @deprecated Instead use getTimeUpdated
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTime_updated()
|
||||
{
|
||||
return $this->time_updated;
|
||||
}
|
||||
|
||||
/**
|
||||
* Time zone of time_updated field.
|
||||
*
|
||||
@@ -429,29 +254,4 @@ class AgreementTransaction extends PayPalModel
|
||||
return $this->time_zone;
|
||||
}
|
||||
|
||||
/**
|
||||
* Time zone of time_updated field.
|
||||
*
|
||||
* @deprecated Instead use setTimeZone
|
||||
*
|
||||
* @param string $time_zone
|
||||
* @return $this
|
||||
*/
|
||||
public function setTime_zone($time_zone)
|
||||
{
|
||||
$this->time_zone = $time_zone;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Time zone of time_updated field.
|
||||
* @deprecated Instead use getTimeZone
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTime_zone()
|
||||
{
|
||||
return $this->time_zone;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user