src/models/Customer.php
public function getGateway()
    {
        if (null === $this->_gateway) {
            $this->_gateway = Commerce::getInstance()->getGateways()->getGatewayById($this->gatewayId);
        }

        return $this->_gateway;
    }
public function getGateway()
    {
        if (null === $this->_gateway) {
            $this->_gateway = Commerce::getInstance()->getGateways()->getGatewayById($this->gatewayId);
        }

        return $this->_gateway;
    }
public function getGateway ( ) { if ( null === $ this -> _gateway ) { $ this -> _gateway = Commerce :: getInstance ( ) -> getGateways ( ) -> getGatewayById ( $ this -> gatewayId ) ; } return $ this -> _gateway ; }
Returns the gateway associated with this customer.

@return GatewayInterface|null
Returns the gateway associated with this customer .