Closed claw68 closed 8 years ago
Sent pull request: Update ChargeBee_Model to support various return formats
Thanks for this. A simple return $this->_values function has been needed for so long. Anyone using this as part of their restAPI would largely benefit from this. Please consider adding it to the master version.
Hi, The method 'toJson()' has been added to master version.
On ChargeBee_Model class
public function __toString() { return json_encode($this->_values); }