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:
@@ -43,31 +43,6 @@ class PaymentCardToken extends PayPalModel
|
||||
return $this->payment_card_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* ID of a previously saved Payment Card resource.
|
||||
*
|
||||
* @deprecated Instead use setPaymentCardId
|
||||
*
|
||||
* @param string $payment_card_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setPayment_card_id($payment_card_id)
|
||||
{
|
||||
$this->payment_card_id = $payment_card_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* ID of a previously saved Payment Card resource.
|
||||
* @deprecated Instead use getPaymentCardId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPayment_card_id()
|
||||
{
|
||||
return $this->payment_card_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier of the payer used when saving this payment card.
|
||||
*
|
||||
@@ -91,31 +66,6 @@ class PaymentCardToken extends PayPalModel
|
||||
return $this->external_customer_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier of the payer used when saving this payment card.
|
||||
*
|
||||
* @deprecated Instead use setExternalCustomerId
|
||||
*
|
||||
* @param string $external_customer_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setExternal_customer_id($external_customer_id)
|
||||
{
|
||||
$this->external_customer_id = $external_customer_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique identifier of the payer used when saving this payment card.
|
||||
* @deprecated Instead use getExternalCustomerId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getExternal_customer_id()
|
||||
{
|
||||
return $this->external_customer_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last 4 digits of the card number from the saved card.
|
||||
*
|
||||
@@ -186,31 +136,6 @@ class PaymentCardToken extends PayPalModel
|
||||
return $this->expire_month;
|
||||
}
|
||||
|
||||
/**
|
||||
* Expiry month from the saved card with value 1 - 12.
|
||||
*
|
||||
* @deprecated Instead use setExpireMonth
|
||||
*
|
||||
* @param int $expire_month
|
||||
* @return $this
|
||||
*/
|
||||
public function setExpire_month($expire_month)
|
||||
{
|
||||
$this->expire_month = $expire_month;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Expiry month from the saved card with value 1 - 12.
|
||||
* @deprecated Instead use getExpireMonth
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getExpire_month()
|
||||
{
|
||||
return $this->expire_month;
|
||||
}
|
||||
|
||||
/**
|
||||
* Four digit expiry year from the saved card, represented as YYYY format.
|
||||
*
|
||||
@@ -234,29 +159,4 @@ class PaymentCardToken extends PayPalModel
|
||||
return $this->expire_year;
|
||||
}
|
||||
|
||||
/**
|
||||
* Four digit expiry year from the saved card, represented as YYYY format.
|
||||
*
|
||||
* @deprecated Instead use setExpireYear
|
||||
*
|
||||
* @param int $expire_year
|
||||
* @return $this
|
||||
*/
|
||||
public function setExpire_year($expire_year)
|
||||
{
|
||||
$this->expire_year = $expire_year;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Four digit expiry year from the saved card, represented as YYYY format.
|
||||
* @deprecated Instead use getExpireYear
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getExpire_year()
|
||||
{
|
||||
return $this->expire_year;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user