_delete() protected static method

Delete the URI, validate the response and return the object.
protected static _delete ( $uri, $client = null )
 public function delete($accountCode = null)
 {
     return Recurly_Base::_delete($this->uri($accountCode), $this->_client);
 }
Example #2
0
 public static function deleteCoupon($couponCode, $client = null)
 {
     return Recurly_Base::_delete(Recurly_Coupon::uriForCoupon($couponCode), $client);
 }
 public function delete()
 {
     return Recurly_Base::_delete($this->getHref(), $this->_client);
 }
Example #4
0
 public static function closeAccount($accountCode, $client = null) {
   return Recurly_Base::_delete(Recurly_Account::uriForAccount($accountCode), $client);
 }
Example #5
0
 public static function deletePlan($planCode, $client = null) {
   return Recurly_Base::_delete(Recurly_Plan::uriForPlan($planCode), $client);
 }
 public static function deleteForAccount($accountCode, $client = null)
 {
     return Recurly_Base::_delete(Recurly_BillingInfo::uriForBillingInfo($accountCode), $client);
 }