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:
@@ -69,31 +69,6 @@ class BillingInfo extends PayPalModel
|
||||
return $this->first_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* First name of the invoice recipient. 30 characters max.
|
||||
*
|
||||
* @deprecated Instead use setFirstName
|
||||
*
|
||||
* @param string $first_name
|
||||
* @return $this
|
||||
*/
|
||||
public function setFirst_name($first_name)
|
||||
{
|
||||
$this->first_name = $first_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* First name of the invoice recipient. 30 characters max.
|
||||
* @deprecated Instead use getFirstName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFirst_name()
|
||||
{
|
||||
return $this->first_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last name of the invoice recipient. 30 characters max.
|
||||
*
|
||||
@@ -117,31 +92,6 @@ class BillingInfo extends PayPalModel
|
||||
return $this->last_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last name of the invoice recipient. 30 characters max.
|
||||
*
|
||||
* @deprecated Instead use setLastName
|
||||
*
|
||||
* @param string $last_name
|
||||
* @return $this
|
||||
*/
|
||||
public function setLast_name($last_name)
|
||||
{
|
||||
$this->last_name = $last_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last name of the invoice recipient. 30 characters max.
|
||||
* @deprecated Instead use getLastName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLast_name()
|
||||
{
|
||||
return $this->last_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Company business name of the invoice recipient. 100 characters max.
|
||||
*
|
||||
@@ -165,31 +115,6 @@ class BillingInfo extends PayPalModel
|
||||
return $this->business_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Company business name of the invoice recipient. 100 characters max.
|
||||
*
|
||||
* @deprecated Instead use setBusinessName
|
||||
*
|
||||
* @param string $business_name
|
||||
* @return $this
|
||||
*/
|
||||
public function setBusiness_name($business_name)
|
||||
{
|
||||
$this->business_name = $business_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Company business name of the invoice recipient. 100 characters max.
|
||||
* @deprecated Instead use getBusinessName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBusiness_name()
|
||||
{
|
||||
return $this->business_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address of the invoice recipient.
|
||||
*
|
||||
@@ -260,31 +185,6 @@ class BillingInfo extends PayPalModel
|
||||
return $this->additional_info;
|
||||
}
|
||||
|
||||
/**
|
||||
* Option to display additional information such as business hours. 40 characters max.
|
||||
*
|
||||
* @deprecated Instead use setAdditionalInfo
|
||||
*
|
||||
* @param string $additional_info
|
||||
* @return $this
|
||||
*/
|
||||
public function setAdditional_info($additional_info)
|
||||
{
|
||||
$this->additional_info = $additional_info;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Option to display additional information such as business hours. 40 characters max.
|
||||
* @deprecated Instead use getAdditionalInfo
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getAdditional_info()
|
||||
{
|
||||
return $this->additional_info;
|
||||
}
|
||||
|
||||
/**
|
||||
* Preferred notification channel of the payer. Email by default.
|
||||
* Valid Values: ["SMS", "EMAIL"]
|
||||
@@ -309,31 +209,6 @@ class BillingInfo extends PayPalModel
|
||||
return $this->notification_channel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Preferred notification channel of the payer. Email by default.
|
||||
*
|
||||
* @deprecated Instead use setNotificationChannel
|
||||
*
|
||||
* @param string $notification_channel
|
||||
* @return $this
|
||||
*/
|
||||
public function setNotification_channel($notification_channel)
|
||||
{
|
||||
$this->notification_channel = $notification_channel;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Preferred notification channel of the payer. Email by default.
|
||||
* @deprecated Instead use getNotificationChannel
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getNotification_channel()
|
||||
{
|
||||
return $this->notification_channel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mobile Phone number of the recipient to which SMS will be sent if notification_channel is SMS.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user