| 1234567891011121314151617181920212223242526 |
- <?php
- class ChargeBee_Address extends ChargeBee_Model
- {
- protected $allowed = array('label', 'firstName', 'lastName', 'email', 'company', 'phone', 'addr', 'extendedAddr',
- 'extendedAddr2', 'city', 'stateCode', 'state', 'country', 'zip', 'subscriptionId');
- # OPERATIONS
- #-----------
- public static function retrieve($params, $env = null, $headers = array())
- {
- return ChargeBee_Request::send(ChargeBee_Request::GET, ChargeBee_Util::encodeURIPath("addresses"), $params, $env, $headers);
- }
- public static function update($params, $env = null, $headers = array())
- {
- return ChargeBee_Request::send(ChargeBee_Request::POST, ChargeBee_Util::encodeURIPath("addresses"), $params, $env, $headers);
- }
- }
- ?>
|