public static function abort($installmentPlanId, Payplug $payplug = null)
    {
        $installmentPlan = Resource\InstallmentPlan::fromAttributes(array('id' => $installmentPlanId));
        return $installmentPlan->abort($payplug);
    }
public static function abort($installmentPlanId, Payplug $payplug = null)
    {
        $installmentPlan = Resource\InstallmentPlan::fromAttributes(array('id' => $installmentPlanId));
        return $installmentPlan->abort($payplug);
    }
public static function abort ( $ installmentPlanId , Payplug $ payplug = null ) { $ installmentPlan = Resource \ InstallmentPlan :: fromAttributes ( array ( 'id' => $ installmentPlanId ) ) ; return $ installmentPlan -> abort ( $ payplug ) ; }
Aborts an InstallmentPlan.

@param   string          $installmentPlanId      the installment plan ID
@param   Payplug         $payplug                the client configuration

@return  null|Resource\InstallmentPlan the aborted installment plan or null on error

@throws  Exception\ConfigurationNotSetException
Aborts an InstallmentPlan .