models/oxpspaymorrowoxpayment.php
public function loadPaymorrowDefault()
    {
        /** @var OxpsPaymorrowOxPayment|oxPayment $this */

        $query = sprintf(
            "SELECT * FROM `%s`WHERE %s AND `OXCHECKED` = 1 ORDER BY `OXSORT` ASC, `OXTIMESTAMP` DESC LIMIT 1",
            $this->getViewName(),
            $this->getPaymorrowMethodWhereClause()
        );

        return $this->assignRecord($query);
    }
public function loadPaymorrowDefault()
    {
        /** @var OxpsPaymorrowOxPayment|oxPayment $this */

        $query = sprintf(
            "SELECT * FROM `%s`WHERE %s AND `OXCHECKED` = 1 ORDER BY `OXSORT` ASC, `OXTIMESTAMP` DESC LIMIT 1",
            $this->getViewName(),
            $this->getPaymorrowMethodWhereClause()
        );

        return $this->assignRecord($query);
    }
public function loadPaymorrowDefault ( ) { /** @var OxpsPaymorrowOxPayment|oxPayment $this */ $ query = sprintf ( "SELECT * FROM `%s`WHERE %s AND `OXCHECKED` = 1 ORDER BY `OXSORT` ASC, `OXTIMESTAMP` DESC LIMIT 1" , $ this -> getViewName ( ) , $ this -> getPaymorrowMethodWhereClause ( ) ) ; return $ this -> assignRecord ( $ query ) ; }
Load active, mapped and selected Paymorrow payment method.
If several are selected loads it by sorting and last updated.

@codeCoverageIgnore

@return mixed
Load active mapped and selected Paymorrow payment method . If several are selected loads it by sorting and last updated .