public function getPaymentType() { return Gateway::getPaymentType($this->gateway_id); }
public static function getPrettyPaymentType($gatewayId) { return trans('texts.' . strtolower(Gateway::getPaymentType($gatewayId))); }