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:
@@ -41,31 +41,6 @@ class FlowConfig extends PayPalModel
|
||||
return $this->landing_page_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of PayPal page to be displayed when a user lands on the PayPal site for checkout. Allowed values: `Billing` or `Login`. When set to `Billing`, the Non-PayPal account landing page is used. When set to `Login`, the PayPal account login landing page is used.
|
||||
*
|
||||
* @deprecated Instead use setLandingPageType
|
||||
*
|
||||
* @param string $landing_page_type
|
||||
* @return $this
|
||||
*/
|
||||
public function setLanding_page_type($landing_page_type)
|
||||
{
|
||||
$this->landing_page_type = $landing_page_type;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Type of PayPal page to be displayed when a user lands on the PayPal site for checkout. Allowed values: `Billing` or `Login`. When set to `Billing`, the Non-PayPal account landing page is used. When set to `Login`, the PayPal account login landing page is used.
|
||||
* @deprecated Instead use getLandingPageType
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLanding_page_type()
|
||||
{
|
||||
return $this->landing_page_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* The URL on the merchant site for transferring to after a bank transfer payment.
|
||||
*
|
||||
@@ -91,29 +66,4 @@ class FlowConfig extends PayPalModel
|
||||
return $this->bank_txn_pending_url;
|
||||
}
|
||||
|
||||
/**
|
||||
* The URL on the merchant site for transferring to after a bank transfer payment.
|
||||
*
|
||||
* @deprecated Instead use setBankTxnPendingUrl
|
||||
*
|
||||
* @param string $bank_txn_pending_url
|
||||
* @return $this
|
||||
*/
|
||||
public function setBank_txn_pending_url($bank_txn_pending_url)
|
||||
{
|
||||
$this->bank_txn_pending_url = $bank_txn_pending_url;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The URL on the merchant site for transferring to after a bank transfer payment.
|
||||
* @deprecated Instead use getBankTxnPendingUrl
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBank_txn_pending_url()
|
||||
{
|
||||
return $this->bank_txn_pending_url;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user