Stripe\Plan::delete PHP Method

delete() public method

public delete ( array | null $params = null, array | string | null $opts = null ) : Plan
$params array | null
$opts array | string | null
return Plan The deleted plan.
    public function delete($params = null, $opts = null)
    {
        return $this->_delete($params, $opts);
    }

Usage Example

コード例 #1
0
ファイル: PlanService.php プロジェクト: Asisyas/EqPay
 /**
  * @param Plan $plan
  * @return Plan
  */
 public function remove(Plan $plan)
 {
     $upd = $plan->delete();
     return $upd;
 }