Skip to content

Commit 97fc3b1

Browse files
committed
Merge pull request #109 from Jellyfrog/master
Add support for providing experience profile id
2 parents 82ae725 + aa33316 commit 97fc3b1

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

src/Message/RestAuthorizeRequest.php

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ public function getData()
231231
'currency' => $this->getCurrency(),
232232
),
233233
)
234-
)
234+
),
235+
'experience_profile_id' => $this->getExperienceProfileId()
235236
);
236237

237238
$items = $this->getItems();
@@ -302,6 +303,27 @@ public function getData()
302303
return $data;
303304
}
304305

306+
/**
307+
* Get the experience profile id
308+
*
309+
* @return string
310+
*/
311+
public function getExperienceProfileId()
312+
{
313+
return $this->getParameter('experienceProfileId');
314+
}
315+
316+
/**
317+
* Set the experience profile id
318+
*
319+
* @param string $value
320+
* @return RestAuthorizeRequest provides a fluent interface.
321+
*/
322+
public function setExperienceProfileId($value)
323+
{
324+
return $this->setParameter('experienceProfileId', $value);
325+
}
326+
305327
/**
306328
* Get transaction description.
307329
*

0 commit comments

Comments
 (0)