-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
/** | ||
* Class Recurly PerformanceObligation | ||
* @property string $id | ||
* @property string $name The name of the POB. | ||
* @property DateTime $created_at The date and time the gla was created in Recurly. | ||
* @property DateTime $updated_at The date and time the gla was last updated. | ||
*/ | ||
|
||
class Recurly_PerformanceObligation extends Recurly_Resource | ||
{ | ||
/** | ||
* @param string $id | ||
* @param Recurly_Client $client | ||
* @return Recurly_PerformanceObligation | ||
* @throws Recurly_Error | ||
*/ | ||
public static function get($id, $client = null) { | ||
return Recurly_Base::_get(Recurly_PerformanceObligation::uriForPerformanceObligation($id), $client); | ||
} | ||
|
||
protected static function uriForPerformanceObligation($id) { | ||
return self::_safeUri(Recurly_Client::PATH_PERFORMANCE_OBLIGATIONS, $id); | ||
} | ||
|
||
protected function getNodeName() { | ||
return 'performance_obligation'; | ||
} | ||
|
||
protected function getWriteableAttributes() { | ||
return array(); | ||
} | ||
} |