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:
@@ -67,31 +67,6 @@ class InvoicingPaymentDetail extends PayPalModel
|
||||
return $this->transaction_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* PayPal payment transaction id. Mandatory field in case the type value is PAYPAL.
|
||||
*
|
||||
* @deprecated Instead use setTransactionId
|
||||
*
|
||||
* @param string $transaction_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setTransaction_id($transaction_id)
|
||||
{
|
||||
$this->transaction_id = $transaction_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* PayPal payment transaction id. Mandatory field in case the type value is PAYPAL.
|
||||
* @deprecated Instead use getTransactionId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTransaction_id()
|
||||
{
|
||||
return $this->transaction_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of the transaction.
|
||||
* Valid Values: ["SALE", "AUTHORIZATION", "CAPTURE"]
|
||||
@@ -116,31 +91,6 @@ class InvoicingPaymentDetail extends PayPalModel
|
||||
return $this->transaction_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of the transaction.
|
||||
*
|
||||
* @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 the transaction.
|
||||
* @deprecated Instead use getTransactionType
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTransaction_type()
|
||||
{
|
||||
return $this->transaction_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Date when the invoice was paid. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user