public function planCharge()
    {
        return $this->charges()
            ->whereIn('type', [Charge::CHARGE_RECURRING, Charge::CHARGE_ONETIME])
            ->where('plan_id', $this->plan_id)
            ->orderBy('created_at', 'desc')
            ->first();
    }