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:
@@ -63,31 +63,6 @@ class ShippingAddress extends Address
|
||||
return $this->recipient_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the recipient at this address.
|
||||
*
|
||||
* @deprecated Instead use setRecipientName
|
||||
*
|
||||
* @param string $recipient_name
|
||||
* @return $this
|
||||
*/
|
||||
public function setRecipient_name($recipient_name)
|
||||
{
|
||||
$this->recipient_name = $recipient_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Name of the recipient at this address.
|
||||
* @deprecated Instead use getRecipientName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRecipient_name()
|
||||
{
|
||||
return $this->recipient_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Default shipping address of the Payer.
|
||||
*
|
||||
@@ -111,29 +86,4 @@ class ShippingAddress extends Address
|
||||
return $this->default_address;
|
||||
}
|
||||
|
||||
/**
|
||||
* Default shipping address of the Payer.
|
||||
*
|
||||
* @deprecated Instead use setDefaultAddress
|
||||
*
|
||||
* @param bool $default_address
|
||||
* @return $this
|
||||
*/
|
||||
public function setDefault_address($default_address)
|
||||
{
|
||||
$this->default_address = $default_address;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Default shipping address of the Payer.
|
||||
* @deprecated Instead use getDefaultAddress
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getDefault_address()
|
||||
{
|
||||
return $this->default_address;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user