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 Payer extends PayPalModel
|
||||
return $this->payment_method;
|
||||
}
|
||||
|
||||
/**
|
||||
* Payment method being used - PayPal Wallet payment, Bank Direct Debit, or Direct Credit card.
|
||||
*
|
||||
* @deprecated Instead use setPaymentMethod
|
||||
*
|
||||
* @param string $payment_method
|
||||
* @return $this
|
||||
*/
|
||||
public function setPayment_method($payment_method)
|
||||
{
|
||||
$this->payment_method = $payment_method;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Payment method being used - PayPal Wallet payment, Bank Direct Debit, or Direct Credit card.
|
||||
* @deprecated Instead use getPaymentMethod
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPayment_method()
|
||||
{
|
||||
return $this->payment_method;
|
||||
}
|
||||
|
||||
/**
|
||||
* Status of Payer PayPal Account.
|
||||
* Valid Values: ["VERIFIED", "UNVERIFIED"]
|
||||
@@ -145,31 +120,6 @@ class Payer extends PayPalModel
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* List of funding instruments from which the funds of the current payment come. Typically a credit card.
|
||||
*
|
||||
* @deprecated Instead use setFundingInstruments
|
||||
*
|
||||
* @param \PayPal\Api\FundingInstrument $funding_instruments
|
||||
* @return $this
|
||||
*/
|
||||
public function setFunding_instruments($funding_instruments)
|
||||
{
|
||||
$this->funding_instruments = $funding_instruments;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* List of funding instruments from which the funds of the current payment come. Typically a credit card.
|
||||
* @deprecated Instead use getFundingInstruments
|
||||
*
|
||||
* @return \PayPal\Api\FundingInstrument
|
||||
*/
|
||||
public function getFunding_instruments()
|
||||
{
|
||||
return $this->funding_instruments;
|
||||
}
|
||||
|
||||
/**
|
||||
* Id of user selected funding option for the payment. 'OneOf' funding_instruments or funding_option_id to be present.
|
||||
*
|
||||
@@ -193,31 +143,6 @@ class Payer extends PayPalModel
|
||||
return $this->funding_option_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Id of user selected funding option for the payment. 'OneOf' funding_instruments or funding_option_id to be present.
|
||||
*
|
||||
* @deprecated Instead use setFundingOptionId
|
||||
*
|
||||
* @param string $funding_option_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setFunding_option_id($funding_option_id)
|
||||
{
|
||||
$this->funding_option_id = $funding_option_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Id of user selected funding option for the payment. 'OneOf' funding_instruments or funding_option_id to be present.
|
||||
* @deprecated Instead use getFundingOptionId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFunding_option_id()
|
||||
{
|
||||
return $this->funding_option_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Information related to the Payer.
|
||||
*
|
||||
@@ -241,29 +166,4 @@ class Payer extends PayPalModel
|
||||
return $this->payer_info;
|
||||
}
|
||||
|
||||
/**
|
||||
* Information related to the Payer.
|
||||
*
|
||||
* @deprecated Instead use setPayerInfo
|
||||
*
|
||||
* @param \PayPal\Api\PayerInfo $payer_info
|
||||
* @return $this
|
||||
*/
|
||||
public function setPayer_info($payer_info)
|
||||
{
|
||||
$this->payer_info = $payer_info;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Information related to the Payer.
|
||||
* @deprecated Instead use getPayerInfo
|
||||
*
|
||||
* @return \PayPal\Api\PayerInfo
|
||||
*/
|
||||
public function getPayer_info()
|
||||
{
|
||||
return $this->payer_info;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user