forked from LiveCarta/PayPal-PHP-SDK
Renaming Agreement GetAgreementDetails
- Renamed from `agreement-details` to `agreement_details` - Fixes #271
This commit is contained in:
@@ -347,7 +347,7 @@ class Agreement extends PayPalResourceModel
|
||||
*/
|
||||
public function setAgreementDetails($agreement_details)
|
||||
{
|
||||
$this->{"agreement-details"} = $agreement_details;
|
||||
$this->agreement_details = $agreement_details;
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -358,7 +358,7 @@ class Agreement extends PayPalResourceModel
|
||||
*/
|
||||
public function getAgreementDetails()
|
||||
{
|
||||
return $this->{"agreement-details"};
|
||||
return $this->agreement_details;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user